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
@Shevchikden
Thank you so much!
@deleted_8435363 OK i will add this, I am thinking about using symlinks to do this faster. And also to everyone: I decided to split new version to 2, v3.9 will be more stable and with java6 support, also backups will be faster, and v4.0 will have many new features.
@Shevchikden
No sorry, I didn't explain well;
At the moment, WorldEdit doesn't read the world backups, because it uses a different folder system: backups/[world]/[time]/[serverfiles], where as ASW seems to use backups/[time]/[world]/[serverfiles]. So WE can't read them. All I ask is a way to change the AWS folder structure.
@deleted_8435363 So you want me to implement this feature in my plugin, so you don't have to use worldedit?
@Juelz0312 Try to find any plugins folder on your hard disk, maybe you will find it there.
@Shevchikden
its 3.8. Do I really have to restart my Tekkit map? :/
@Shevchikden
Yes! http://wiki.sk89q.com/wiki/WorldEdit/Snapshots
@deleted_8435363 Can you give me a link where i can read about it?
Wonderful plugin, but please, please, PLEASE add support for WorldEdit's snapshot feature! I need to get rid of LogBlock quick!
Thanks in advance!
Senan.
@Juelz0312 Maybe you used version 3.6 or you don't have permission to write to HDD.
I have this plugin on my Tekkit server. My computer crashed, and the maps got corrupted. When I looked for a backup, I couldn't find any. Backups are enabled and it DID backup several times. What happened?
@siemaeniu500 Something does not allow to read files in worlds folders. I don't know why, it works fine for me.
I change craftbukkit to 1.3.2 R,.2.0 Recomended And this error have show(autosaveworld 3.8):
http://dev.bukkit.org/paste/6439/
@PAL18
Well i cant effort SSD or something, its WD Blue 160GB 7.2K 16MB cache SATA of course.
And im using Java 6 :/
Its kinda average HDD but worlds are big. But last nite seems no one noticed that autobackup is runing, but it was only 12-14 players on server. Last time when i had problems was deadly full 30 players.
But i say if there's time, will and possibility for optimization - why not :)
Cheers!
@ha11oga11o
How fast is your hard drive (in RPMs)? Sounds like a slow hard drive issue.
@ha11oga11o Hmm good idea, i will check and add this if it will help.
@Shevchikden
Can you implement chunk by chunk save. So you can configure eg. 10 chunks per second, or even 5 for slower servers. It will take some time but players will not notice it. I took that idea from plugin called WorldBorder. Theres function to trim rest of world which is out of border, but you can configure speed of trimming. same for generating world inside border. So as amateur im wondering is it possible to implement something similar to this plugin too?
Kind regards :)
@ha11oga11o I am working on that, i hope that new version will fix this, I can't slow the backup, but i can do backup in async low-priority thread, but this is not easy.
Hello, 1st bust say this is most useful plugin ever!! many thnx for it!
I need bit info about it; When auto backup starts it freeze server completely, players get timed out error and things. Ant after finish all is OK again...
is it possible to configure it to save slower but that server is useful? Its big problem because im runing 3 different maps and all of them are bigger than 800-700MB. It takes ages till finished, and its frustrating players.
many thnx !
@PAL18 I am working on it but to add compression I must rewrite backup part, also need to add Java 6 compatible mode, so it cannot be done fast. But i'm nearly finished. It's almost done.