Common Events Manager (MV)

Common Events Manager (MV) v1.0​
Get it here! (direct link)​
Requires Python 3 to run.​
 ​
Tired of having to manually correct everything when all you want is some space? Well, look no further.
​Commissioned by the wonderful Liak and okayed for public use.

What it does:

This utility can increase or decrease all common events by a set number, starting from a certain event, essentially "creating a space" or "shifting" all common events after it down (or up, but usually this utility is used to shift things down). Not only that, but when things are shifted around all skills, troop events, map events, events, items, everything that references the ID will automatically update to the new ID, so you don't have to go through all your 100+ events and manually change the common event IDs.

Pc04oty.png


Features:

- Automatically corrects all references to common events on both maps and in the database!

- Inserts a space for you, so you don't have to :3

- Also works in reverse, can remove an empty common event and move everything up.
- Detailed instructions are fool-resistant

Usage:
- Install Python 3
- Put the .py file in your project's data folder
- Double click to run and then follow the program's instructions.
- Once it says "Operation complete", reopen your project and press CTRL + S to make sure that RPG Maker MV doesn't reject the edits.

Screens:

Spoiler
5507418_orig.png

9131027_orig.png


3660779_orig.png
This is really awesome! Do you plan on making the same thing for the other tabs?
This tool works like a charm and will save us many hours of frustration! Thanks again for writing it that fast! 🙂
@meowchelle: As of now, nothing has been planned for item/weapon/armor continuity throughout events. It'd be a really large project because I'd need to find out the JavaScript tags for every action possible that is related to items, giving items, conditionals of items... It'd be a large undertaking. Maybe if I can find the time/motivation for it 🙂

@Liak: You're welcome ^^
We could all commission mjshi for one database tab at a time. Let's make this a community event. 😀
Is there any intention to someday add a feature to just move common events (and everything that references them in the database and map) around?
The problem with that is, if you have common events 1 and 2, and you want to swap them:


Say originally you have:


1 2 3 1 2 2 4 1


First you loop through the files, make everything that is 2 into 1.


1 1 3 1 1 1 4 1


Now... you loop through them and make everything that is 1 into 2..?


2 2 3 2 2 2 4 2


The only way to fix this is to set them to something else like "a" and "b", then make all a's 2 and all b's 1, but this would require significant amounts of reworking of how this utility works. I'd need, again, to find the time/motivation for it xD


Short answer: Perhaps I'll do it, during the summer months, or sooner if someone commissions it ;P

Original thread: https://forums.rpgmakerweb.com/threads/common-events-manager-mv.54920/