public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

MVRestart Common Event

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Restart Common Event
  • Original author: ovate
  • Original date: March 23, 2019
  • Source thread: https://forums.rpgmakerweb.com/threads/restart-common-event.107142/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)

Summary

Restart Common -2019/03/12 Creator name: kido0617 Overview Restart parallel common event from the beginning

Archived First Post

Restart Common -2019/03/12

Creator name: kido0617

Overview
Restart parallel common event from the beginning

Plugin Command
Code:
RestartCommon 3

Input common event number after RestartCommon

Note: Plugin works for RPG Maker MV version 1.6 or above

Code:
/*---------------------------------------------------------------------------*
 * 2019/03/12 kido0617
 * http://kido0617.github.io/
 *---------------------------------------------------------------------------*/

/*:
 * @plugindesc Restart parallel common event (RPG Maker MV 1.6 or above)
 * @author kido0617
 * @help
 * ・Plugin command
 *  Input common event number
 *  RestartCommon 3
 *
 *
 */


(function(){
  const _Game_Interpreter_pluginCommand = Game_Interpreter.prototype.pluginCommand;
  Game_Interpreter.prototype.pluginCommand = function(command, args) {
    _Game_Interpreter_pluginCommand.call(this, command, args);
    if (command === 'RestartCommon') {
      var id = Number(args[0]);
      if(!id) return;
      var events = $gameMap._commonEvents;
      if(!events) return;
      for(var i = 0 ; i < events.length; i++){
        if(events[i]._commonEventId == id){
          events[i].discardInterpreter();
          events[i].refresh();
          return;
        }
      }
    }
  };

  Game_CommonEvent.prototype.discardInterpreter = function() {
    this._interpreter = null;
  };


})();

Credit and Thanks: kido0617

Terms of Use- Free for commercial and non-commercial use.

License - Public Domain

You can download js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/ezedlrftchzph3l/RestartCommon.js?dl=1

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

Credit and Thanks: kido0617 Terms of Use- Free for commercial and non-commercial use. License - Public Domain You can download js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/ezedlrftchzph3l/RestartCommon.js?dl=1

Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#rmmv#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar