While I read your post, I don't think joining multiple maps is a good idea. It has its reasons that maps have max sizes, that is the performance. When you want to do such a plugin, which definitely will be a great game-changer, you should aim for techniques in which you load maps dynamically when the player is close to them.
By the way, mind the events! Each event has its id, which must be unique across a map.
Thank you for the feedback!
My goal is not to make a map bigger than the current limit. Quite the opposite. I want to only load medium to smaller size maps when a larger one is normally required so that you have more resources available for other things.
For example: The world map can often have performance issues due to the size of the map and depending on the number of events you have. My goal is to only load what is necessary for the player to see and have a seamless transition between maps, so you can fill your world with more.
Here is basically my concept via a non-plugin route.
1. Make a map that is at least a little bigger than the player resolution (No map end in sight).
2. Make the surrounding maps the same size.
3. Now copy the surround maps into the original map (Only for show and events the player will never be able to get to the end of the merged map).
4. Create events at the edge of the main map that transfer the player to the surround map he/she was about to walk onto. (I will not use events for the plugin)
Event management is going to be a necessity, but one step at a time.
The non-plugin route requires you to overlap maps and that is a lot of work to keep consistent in the editor, so my plan was to create a plugin to create the map before the game runs and force the application to read the new map instead of the original.
From a development stand point I update one map (The map won't be combined) and when I run the game it creates and renders the merged versions. Once your development is complete and no more map changes are needed you would disable the map creation part of the plugin and archive the original maps. No run time will be needed to merge the maps, so I am hoping you will have better performance than what you are proposing.