Ability to exclude some worlds from being saved
MythicMobs is a great plugin and we have been using it for years.
We are running DungeonsXL(0.18 build 1066) to create some independent dungeon minigames. Those minigame are created through standalone worlds (usually named like DXL_Game_123) and uses MythicMobs to spawn custom mobs. These independent worlds will be unloaded and deleted once players finished their games, or after the server restarted.
We noticed that MythicMobs will cache mobs into active-mobs.json to make MM's mobs persisted after server restart. However, with some dungeon plugins like DungonsXL, mobs are still cached in the json file even though those worlds are no longer exist. We have approximately 50-100 DXL worlds being created every day and each of them spawn 100-300 mobs, causing the json size grows exponentially. By default MM will save all the mobs every 5 minutes. With a 100MB json our server TPS just plummeted under 12. We have to stop the server entirely and delete the json to restore performance.
So we would like to have an option in the config so that some worlds can be "ignored" from being cached, with wildcard names if possible (like DXL_Game_*).
Also, it seems that the caching is happening on the main server thread and halting the whole server. Is it possible to off-load it to another thread please?