Unloader checks for unused dimensions every 30 seconds (600 ticks) to unload by default.
An unused dimension is classified by the dimension having no chunks or entities loaded. Once it finds one, it tells forge to unload it.
You can also blacklist dimensions so this mod won't touch them. Overworld is blacklisted by default.
This can free up tick time and RAM for your server or client! (Although it's not a whole lot... Don't expect it to magically fix everything.)
Also helps with TPS commands so you're not getting a bunch of dimensions appearing that you don't need to see.
This can be installed on server or client, but if you're on a server without this mod, you won't get the benefits.
There is never a server load where I don't laugh a little at the "wait...what?" bit! Thank you!! :) :) :)
This mod is not needed if you're never intending to go into the Nether or End right? For example, if you're just building in creative mode on a flat map.
NOTE: due to an as of yet unsolved bug in the config handling code, the mod needs to have exactly *one* blacklist entry in the config. No more and no less. It won't work with zero entries and it won't work with any more than 1 entry. Since regex is supported, this probably isn't a terribly big deal.
https://github.com/Unnoen/Unloader/issues/5
please 1.14
Is this needed if you have spongeforge?
brother this mod saved my server
It was memory leaking all over the place and this fixed it.
Thank you so much.
In reply to bambelboar:
mine too, my server is only 1gb (max i can affort) and have 60 mods and with this mod the server is playable (17-15 tps is playable to me), im still have to maintain the schedule to restart every 2 hours tho.
I am wondering if we can get a feature added (and ported) for 1.10.2+ versions of the mod. Specifically, I am looking for a mod that can unload unused chunks in a given radius around player characters every X number of seconds.
Can such a thing even be done? Also, if you know of any already existing method for doing this function on 1.10.2, I would be glad to accept that too. Thank you for your consideration!
so good
Hi there
Does your mod unload custom dimensions too please ? (Made with https://minecraft.curseforge.com/projects/simple-dimensions for example). Thanks for your work.
Does this help with the memory leaks when switching dimensions to often?
Hello
I have a question about the words you have used in your mod page : When you talk about to "unload a dimension", do you mean that your mod will delete the chunk generation of this dimension (and potentially break the chunk pregeneration work/https://minecraft.curseforge.com/projects/chunkpregenerator) or the word "unload" just mean "the CPU/ram won't focus on these places but will not delete the past generation already done".
Thank you in advance for your answer.
In reply to Forge_User_12261306:
This doesn't touch anything in the dimension, it simply calls on Forge to unload it if there's nothing doing anything inside it. Dimensions will be loaded back with everything as it was left as it doesn't delete or remove anything. It will work with any mod just fine.
In reply to Unnoen:
Ok thank you a lot for your answer. Just for my information, Forge cannot unload dimension properly for 1.12 ?
Just wondering: What is the vanilla mechanic here?
Or does vanilla never unload dimensions?
In reply to Forge_User_32575704:
Is there a way to make it check for players in dimensions less than every 30 seconds, like every 5 minutes? Like is there a config file or something?
In reply to HolyPodcasts:
In reply to HolyPodcasts:
In reply to Lordepos:
5 minutes is less than 30 seconds when considering how often it checks