Suggestion Closed · Implemented

Ability to exclude some worlds from being saved

#1679 opened by Unknown 5 years ago

Unknownreported this suggestion

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?

Thank you!

Unknowncommented

We also want to mute the spawn logs absolutely for some worlds as well. I think it would be better if we can have world-specific settings.

Unknowncommented

I have exactly the same problem. I do not see the interest of this active-mobs file when we have no option to deactivate a world / mobs logs

Unknowncommented

This is no longer relevant with the data saving rework

Sign in to join the discussion.