Presenting the world's first standalone map reset plugin! When you restart your server, if resetting is enabled in the plugin's config.yml, WorldReset automatically deletes your world folders and imports backups of them stored in '.../plugins/WorldReset/backups'. WR can reset multiple worlds or regenerate them with random seeds, perfect for minigames and mining worlds.
NOTE: In order for this plugin to work, you have to /stop then start the server. A simple /reload will not work, and will likely cause the server to crash.
A world reset couldn't be more simple! Just follow these steps:
- Copy the world folder you want to revert to when you reset the map
- Find the 'WorldReset' folder in your server's 'plugins' directory. If the folder doesn't exist, run the server once and it will be created.
- Paste the world folder you copied into the 'backups' folder in the WorldReset directory.
- Repeat steps 1-3 for your Nether and End folders if you want to reset them as well.
- List the names of any worlds you want to delete and regenerate with random seeds under the "random-seed.worlds" config node
- If you want to schedule a restart, either run the server and type /wr reset or open the config.yml (found in the WorldReset directory) and set the "reset-worlds-on-next-restart" node to true.
- Start up your server! Your world folder will be reset to the one in '.../plugins/WorldReset/backups'!
- Resets player location and inventories to their state stored in the world backup (you can always delete player data in the backup for standard spawning)
- Much less lag than conventional reset methods - instead of rolling back an area block by block, WorldReset simply imports the entire world folder, meaning that resets take less than a second!
- Because WorldReset doesn't have to deal with individual chunks, there's no danger of chunk corruption as long as your backup world is clean
- Random seed world regeneration is perfect for mining worlds that require diamonds and other valuables to be relocated every time the map resets
- reset-worlds-on-next-restart: true/false - whether to reset worlds (or regenerate them with new seeds, if enabled) the next time the server starts up
- random-seed.enabled: true/false - whether to delete and regenerate the worlds listed below with random seeds
- random-seed.worlds: - a list of the names of worlds to be regenerated
- reset-server-when-empty: true/false - whether to reset the server after the below player count has been achieved and all players log off
- player-count-to-activate-reset: 10 - the number of players online at the same time that must be achieved in order to schedule a reset to occur when the last player logs off (this setting only matters if the above node is set to 'true')
- always-reset: true/false - whether to reset/regenerate worlds every time the server starts up
- worldreset.reload: permission to run '/wr reload' to reload the configuration
- worldreset.reset: permission to schedule or cancel a world reset, including '/wr reset now'
- worldreset.settings.view: permission to view the configuration settings ingame with '/wr settings'
- worldreset.settings.edit: permission to edit the configuration settings ingame with '/wr settings edit \<setting ID> \<setting value>'
Hey! eres lastwishspain de youtube? enviame un mensaje privado por bukkit y te cuento como hacerlo :D
The command works fine, use / wr reset now and my world is reset, but the server stays off. Any way you turn on automatically?
Is it when a restart the server the world resets. If so this is the plugin. and does the world file I put in the back up , does it load that?
Ha, i was looking for a plugin to reset worlds periodically and came across this... only to find I had already been here and commented about another use I had for the plugin xD
My new question is this:
If I install this plugin, will it only reset worlds that I add to the cfg? I dont want to install this and accidentally reset my main world.... Does it have 'world' as a default world to reset?
Thank you so much :D That really helped me.
I can't seem to make the plugin reset the world and leave all the player files there.
@linearLogic : I'm sorry if i word this terribly: when 1.7 comes along with its all new biomes, will I be able to use this plugin to keep all of the data on my server, change the seed (to a new, 1.7 seed) and then restore the rest of the data?
I use factions, (and factionsplus, but irrelevant) so if this is possible, do you have any idea what would become of any data that relies on co-ordinates? (such as claimed land, /f home)
Come to think of it, would there be issues pertaining to any existing warps?
Any way you can integrate an option/command that will allow you to reset a specific world only, on command or when it's empty?
/wr reset <world>
Does this work with Multiverse if you don't need to use the random seed feature? Multiverse has an API you can optionally hook into.
Honestly, I can't sacrifice MV. My server offers a variety of gamemodes and without MV, the whole thing would just collapse.
@LinearLogic I don't understand why we need a backup world if we have a random seed ? Can you tell me why ? Thanks
I use this plugin that works with another plugin that automatically restarts the server, but after a while this plugin locks up the server. There is no console error. I use multicraft as my server hosting. Could that have something to do with it?
If the "plugin" does not work with multiverse, then useless. Everyone uses Multiverse.
@JoaoEstrella Mundos de Multiverse não são suportadas atualmente.
@deathhzone I'll PM you.
I apologize if you're working on this LinearLogic, or busy, but this is delaying my server from being released, and I need help with it.
Bom se ficar uma escrita confusa é graças ao google tradutor
A um pequeno problema se juntar este plugin com o MultiVerse core, ja que o multiverse core grava a seed do mapa, entao no worldreset a opçao de random seed fica inativa
In my backup of the world_nether folder, I put into a .rar file before adding it to the backups folder, that region file exists and is fine, and I re-tried copying the exact world_nether folder from that rar file again into the backups, it seems every 2nd restart it gives the error.. But if I run the server again after getting the error and changing nothing at all, it gives no error and loads in the correct world.
Any world directory placed in the .../plugins/WorldReset/backups directory will replace the directory by the same name in your server's root directory. Any world listed under "random-seed.world" config node will be regenerated with a random seed. Any worlds not in the previous two categories will be left untouched.
@hadriel18 Yes - the next version will support on-the-fly creation of backup snapshots.
@deathhzone The paste holds your answer:
java.io.FileNotFoundException: .\world_nether\DIM-1\region\r.-1.-1.mca (The system cannot find the path specified)
Your world_nether backup is corrupted - it's missing a region file.
I get the following error when I start up my server, I simply copied the world_nether folder into backups before the server started. I don't get this error with the end. http://pastebin.com/b002z80W
Umm how do you know which world is going to be reset? I have 6 worlds, and I only want to reset one. I don't want to accidently replace the spawn or towny world :/
Would it be possible to add a backup command so you could update a backup of a world?