How can I change mapID?(or can I?)

:考克利:I am new here, just started my first project week ago. I wonder know how to change mapID(or can I?)
like the towns map'sID is #1 #3 , #2 is a dungeon. I wish my towns map'sID is #1 #2 and dungeon is #3(I need a random teleports system in my game, it's eazier if same kinds of map'ID were continuous.)
Copy Paste the Maps one by one.
1 to x
2 to x
3 to x
than you delete 1, 2 and 3.
Than the 1st one you copy paste should become 1 the 2nd 2 and the 3rd 3.
Thatway you should be able to change Map Ids.
you are not supposed to change map IDs (or any ID) because the engine works with those IDs, and changing any ID can have unwanted side effects.

That said, instead of copying the map data you can also switch two maps by renaming their files (the ID becomes part of the filename, which is one reason why it should not be changed.

I won't go into details because if you don't know how to do file operations you're better off with the method described above.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-change-mapid-or-can-i.152886/