WorldSaver - Schedules Backups and Saves:
Version: v1.4 (1.1-R4)
This plugin will save all active worlds on a schedule and also back them up. This originally started as a small project for a server I play on, and I guess I went a little overkill and made a full-out plugin, so I went ahead and decided to release it here. My first plugin, I appreciate feedback! Making a Bukkit.dev page right now.
Features:
- Force a save of all worlds (does not affect scheduled saves)
- Force a backup of world (does not affect scheduled backups)
- Schedule saves of all worlds
- Schedule backups of world
- Get the current date/time of the server
- Save Plugins folder [without .jars to save space]
- Save Plugins folder [with .jars]
- Warning message before save/backup
Download the plugin HERE
- Source Code:
https://github.com/knoxcorner/WorldSaver
Released under
- GNU GENERAL PUBLIC LICENSE Version 3
- Commands:
/ws help [page#] (Shows help for worldsaver)
/ws forcesave (forces a world wide save)
/ws forcebackup (forces a backup of the server
/ws setsaveminute [#of min] (set the save interval (minutes))
/ws setbackuphour [#of hours] (set the backup interval (hours))
/ws saveroutine (toggles save routine on/off)
/ws backuproutine (toggles backup routine on/off)
/ws servertime (returns the current time of the server)
/ws forceoptionssave (Forces a save of WorldSaver's options)
/ws reloadoptions (Reload's WorldSaver's options)
/ws viewoptions (Shows current settings for WorldSaver)
/ws plugininfo (Shows plugin details)
/ws optionsdefault (Set options back to default)
/ws autosavemanage (Toggles whether to let worldsaver manage the /save-off /save-on of all worlds (When enabled and a saveroutine is on, it will turn /save-off otherwise if there are no saveroutines, it will /save-on automatically)
- Permissions:
None yet! Only ops can use it, hopefully I will have it next version.
For next version...
- Max number of backups to keep
- Proper permissions (not just Ops)
- Stop server on next backup
- Implement the disable command in the config
- GIVE ME MORE IDEAS
- Backups improved
- Editable messages
- Some other stuff I can't remember
Version 1.3
- Options now accessible from config.yml
- Ingame savepluginfolder(all) command rempved
- Changed togglesaveroutine and togglebackuproutine to saveroutine and backup routine
- Added options in config.yml for turning on/off broadcasts messages
- Exclude worlds options in config.yml
- Exclude plugins options in config.yml
- Fixed a stupid mistake where it would backup the plugins folder for as many times as active worlds you have (Should mean a big difference if you have multiple worlds)
Version 1.2
Delay between broadcast message and save/backup
Set options to default /ws optionsdefault
Now saves players PROPERLY
Send important warning to online Ops
Let WorldSaver manage /save-on and /save-off
Version 1.1
- More organized commands
- Now saves/backs up all active worlds
- Ability to save Plugins folder [with/without .jars]
- /ws viewoptions feature
- Better timestamps
- Broadcast message (possibly lol) fixed
- Checks for outdated options
Version 1.0