AutoSaveWorld
AutoSaveWorld - multifunctional plugin that can save, backup, purge, restart the minecraft server, reload plugins and much more.
AutoSaveWorld will work on any bukkit/spigot/mcpc+/cauldron build starting from version 1.2.5-R5.0
Version: 4.14.2
Features:
Note: all feautures except autosave are disabled by default.
- Performs a world and players data saves (similar to save-all in console)
- Performs a world backups({server folder}/backups/)
- Performs some plugins data purge
- Performs autorestart at a defined time
- Performs restart at server crash
- Executes console commands defined in config automatically
- Warning messages
- Multi-World Support
- Configurable messages
- Option to disable broadcast message
Documentation:
Note: Configuration can only be reloaded by built-in commands
AutoSaveWorld have many features:
1)AutoSave - saves your worlds and player inventory.
AutoSave documentation page
2)AutoBackup - backups your worlds
AutoBackup documentation page
3)AutoPurge - purges some plugins data
AutoPurge documentation page
4)AutoRestart - restarts server at a defined time
AutoRestart documentation page
5)CrashRestart - restarts server if it crashes
CrashRestart documentation page
6)AutoConsoleCommand - automatically executes console commands
AutoConsoleCommand documentation page
7)WorldRegen - starts server with a fresh map but preserves some plugins territory claims
WorldRegen documentation page
8)PluginManager - load, unload, reload plugins using commands
PluginManager documentation page
Messages config explanation:
Messages configuration
Additional commands:
/asw help #displays help for all comands Permission:autosaveworld.help
/asw reload #reloads config.yml and configmsg.ymlPermission:autosaveworld.reload
/asw reloadconfig #reloads config.yml Permission:autosaveworld.reloadconfig
/asw reloadmsg #reloads configmsg.yml Permission:autosaveworld.reloadmsg
/asw version #displays AutoSaveWorld version Permission:autosaveworld.version
/asw info #displays AutoSaveWorld info Permission:autosaveworld.info
Note:All commands work if you are OP, console or have permission.
Note:Config can only be reloaded using config reload commands.
Dev builds and Source code
Develompent builds: jenkins
Source code: GitHub
I keep having errors... http://pastebin.com/8sNdbsQB
@xsonarx
Yes.
Could you make it back up banned IP's and banned players text file?
The directory bug is a pretty bad bug. Lol. It saves the worlds data in plugin\AutoSaveWorld and saves plugin backup in plugins\AutoSaveWorld\backups\GeneratedNumber\plugins\(All my plugins here) Perhaps add a configuration option to backup plugins or not? (When directory bug is fixed). As some (such as me) will not want plugins backed up. Also, i'm still getting spammed with the error.
@Shevchikden
Okay, great job. Please do tell when you fix directory bug. Thanks!
@Jadiction
Fixed in 3.5, you can already download it. Plugin drectory bug will be fixed in next release(currently it will store backups if not all world list is not *). Next release will only add permissions and fix some small bugs.
@Shevchikden
Alright, please do so. It also sometimes randomly makes a folder called plugin in main directory (Instead of plugins\AutoSaveWorld\backups) for backups.
@Eoin_ClanSlots
You can set a limit to a number of backups, it wasn't working in 3.4, but it is working in 3.5.
Hi, Could you please add some defensive coding ?
In a single night your plugin managed to create 60 gigs of files in their plugins folder, filling up a whole drive.
@Jadiction
Ahh found the problem, plugin currently can't backup not all worlds (((. I will try to release a new version as soon as possible.
@Shevchikden Only 2 worlds. Here is my config: http://pastebin.com/VtJbjBi5
@codydbgt
It just takes a long time to backup, it works again after about 10 minutes. Depends on world size and amount of worlds.
@Jadiction Whats your world list?
@Shevchikden I have already re-downloaded the plugin multiple times. I have reloaded + restarted the server multiple times as well. Nothing has seem to fix it.
@Jadiction You need to restart server or reload the plugin. When the backup comes it disables save function so it can run safely, but if the error will occur during the backup it will not enable save function back.
@Shevchikden Yes. I have more than enough space for it to be working. It gives that error when saving and backing up. It's been spamming my error log.
@Jadiction
Something went wrong while plugin was making a backup. Do you have enough disk space to backup?
This plugin usually works great. When I enabled broadcast, it saves and backs up fine. When I turn broadcasting off. It shows this everytime: 3:05:02 PM [WARNING][AutoSaveWorld] Multiple concurrent saves attempted! Save interval is likely too short!
The interval is not too short, I tried default, I even tried raising it by a lot.
backing up just crashes/freezes my server when i do /backup
Due note i have a 8 core CPU at 2.9 GHz (intel i7 870) and 8 gb of ram
I'd like to inform you that you spelt /autobackup wrong you spelt it as /autobakcup :D