/WorldReset

A Bukkit plugin that automatically resets the 'world' folder from a backup on server startup

Primary LanguageJava

#<>---{WorldReset v2.0.1}---<>

Presenting the world's first standalone map reset plugin! When you restart your server, your world folders are
automatically deleted and replaced with a copy of the world folders stored in the WorldReset plugin directory! You can
also specify worlds to be deleted and regenerated with random seeds, perfect for mining worlds that change the location
of diamonds, emeralds, etc. every time the server restarts.

**NOTE:** In order for world resets to work, you have to /stop then start the server. A simple /reload will not work,
and will potentially cause the server to crash.

##Setup
Drop WorldReset.jar into your server's plugin directory and start and stop the server. Place any world folders you want
to reset to in ../plugins/WorldReset/backups, making sure that the backup folders have the same names as actual world
folders in your server directory. Modify the config.yml as needed and you're good to go!

##Configuration nodes
* **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

##Permissions nodes
* **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>'