Nucleus icon indicating copy to clipboard operation
Nucleus copied to clipboard

/world border trim feature

Open johnfriedrich opened this issue 8 years ago • 11 comments

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.

johnfriedrich avatar Jan 12 '17 00:01 johnfriedrich

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!

dualspiral avatar Jan 12 '17 23:01 dualspiral

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.

johnfriedrich avatar Jan 13 '17 00:01 johnfriedrich

Thank you, hopefully it'll help!

dualspiral avatar Jan 13 '17 09:01 dualspiral

when it will be do? i need this :D

Malachiel87 avatar Feb 09 '17 11:02 Malachiel87

I cannot commit to a specified time period, sorry.

dualspiral avatar Feb 09 '17 12:02 dualspiral

any news?

Malachiel87 avatar Sep 04 '17 23:09 Malachiel87

i got a 80 gb world with shit ourside border and i think is laging my server

Malachiel87 avatar Sep 04 '17 23:09 Malachiel87

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!:)

johnfriedrich avatar Sep 04 '17 23:09 johnfriedrich

I would love to see this feature.

Dockter avatar Oct 05 '17 00:10 Dockter

Bump :)

Dockter avatar Nov 09 '17 15:11 Dockter

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.

Rasgnarok avatar Nov 09 '17 17:11 Rasgnarok