MapBack

0 Downloads

This simple plugin gives players with sufficient privileges the possibility to trigger a map backup. The commands work from both the in-game chat and the server console. Once triggered, the plugin will create separate .zip archives of all the worlds on the server and save them to a specified folder.

Are you about to apply redstone current to 324 blocks of TNT? Are you installing a fashionable creeper spawner in your castle? Trigger a map backup first! This allows the server admin to easily restore the maps to a prior state by using one of the backup files marked with the date and time of choosing..

Commands:
/mapback info (alias: i)
Shows the plugin version and notifies weather used has sufficient permissions to use it

/mapback backup (alias: b)
Trigger the map backup. This requires the player to be an OP (if using ops.txt) or have the "mapback.backup" node (if using permissions)

What it does?
It creates a .zip file containing the current state (at the time of issuing the command) of all the maps of the server. During the backup process world-saving is disabled.

How to restore?
This needs the helping hand of the server admin:
1. Stop the server (issue "stop" command from console)
2. Delete the currently active state of the world being restored (for example delete the "world/" folder)
3. Open the .zip file marked with the date and time you want to restore to
4. Extract the world you want to restore (for example the "world/" folder)
5. Start the server!