Nucleus
Nucleus copied to clipboard
/world border trim feature
Hey, one awesome feature is still missing in nucleus world border tool: A world trim command.
What it should do when using /world border trim: Look for chunks that are not inside the worldborder + safety distance from like 100 blocks (config option). (If there wouldn't be a safety distance and the plugin would cut directly at the worldborder, players would obviously loading chunks behind the border)
If the chunk is not inside the border or safety distance around the border, it gets cleared.
Why this is useful: For people that had a map for a long time without a worldborder that got insanely huge and now started to use a worldborder. With that command, they can lower the filesize of the map. (Better for backups, less traffic/disk i/o) For people like me, who loves to keep stuff/worlds/files clean.
So, yes, in principle, I agree with this. This has been asked for in #259, but this is better worded so I'll close that one.
The major problem is detecting which chunks have been loaded on a server. It's not an easy task, and I may shift some of this into the Mixins project to try to make things easier. However, I do want to do this, I'll think about it - or someone else can have a go if they want!
Oups, didn't find the other issue when searching for "trim". Anyway, I had this plugin in mind, but you might know that aswell: https://github.com/Brettflan/WorldBorder/blob/master/src/main/java/com/wimbli/WorldBorder/WorldTrimTask.java It's bukkit, but maybe it gives you some inspirations how that feature could look like.
Thank you, hopefully it'll help!
when it will be do? i need this :D
I cannot commit to a specified time period, sorry.
any news?
i got a 80 gb world with shit ourside border and i think is laging my server
World size alone doesn't matter. Can be 1 gb or 1.000 gb. No performance difference. But still, for sake of keeping stuff clean, this feature would be dope!:)
I would love to see this feature.
Bump :)
Do not bump issues. For features like these, it does not make them more likely to be added, as we are already aware they are wanted by the community... In this case, considering manually removing unwanted region files is already possible, it is not a priority.
If you wish to give helpful and relevant activity to this issue, please feel free to contribute to its realization by assigning yourself this as a PR, or discussing its #development in the Nucleus discord.