Plugin category: Admin Tools Suggested name: World Shrinker Why I need it: When I created my server, I created command /fromspawn which is teleporting players to random coordinates between -100000 and 100000. The problem is that players are using this command too much and every time they use it, it will create new region file in regions folder and my world is growing every day. My hosting provider limits disk space to 10 GB and my world has currently 9.3 GB. What I want: When I write some command, it will delete all unmodified chunks. How it should do it: The plugin will cycle all chunks in my world in async thread. It saves the chunk into variable, then it regenerates the chunk and saves it into next variable. Then it will compare these two chunks block-by-block and if they are the same, it will delete the chunk completely from the server. If it is different, it will return the chunk from the first variable. When I'd like it by: ASAP I have no experience with programming in Java. Thank you for reading and sorry for my bad English, I'm Czech. Martin P.
voltik8 WorldBorder will do something like this, and for the random part: I have made something like this that won't interfere with WorldBorder. https://www.dropbox.com/s/d4283y1ml9yszg7/DCWild.jar Command = /wilderness
timtower You don't understand me, I have 9.3 GB world and I want to reduce its size by removing unmodified chunks.
Ahh, impossible, trees etc always move when you regenerate an area and storing a chunk, regenerating, checking if it is the same is really hard an could easily destroy buildings when wrong coded
Can your plugin throw a player into a far unmodifed, unexplored chunk no one has been in? if so, i'll use it
It will just random TP players to somewhere in the defined radius, there are 2 checks, 1 is if it is save to stand, the other is if it is inside the WorldBorder ( if installed )
timtower Can you modify it so it exiles you to unloaded chunks? maybe let the chunks load and then check before a player tps?
would be better to limit the world size in the first place with worldborder or similar, then simply prevent randomspawning to insane coordinates. prevents all sorts of loopholes in above suggestions. timtower Oh, sorry then EDIT by Moderator: merged posts, please use the edit button instead of double posting.