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
-
View User Profile
-
Send Message
Posted Jun 8, 2014Hello Shevchikden,
I just update to 1.7.9 and using the last version of asw, when the backup start it show the starting message Auto Backup, but never show the message for the end of that backup.
Some times my server get some lag on this process.
It makes the backup folder but not sure if that backup its correct.
Thanks for your help in advance
EDIT:
Excuse me, the autobackup was running for 45 minutes with a 3gb world; before with 2gb of world the autobackup was taking max 10 minutes
-
View User Profile
-
Send Message
Posted Jun 7, 2014@Shaorune Nope.
If you want some API create a feature request ticket.
-
View User Profile
-
Send Message
Posted Jun 7, 2014Hi, is there any events I can listen?
-
View User Profile
-
Send Message
Posted Jun 7, 2014@Darthmineboy Nope, the backup folder is created separately after creating ftppath folder. But you still can't travel more than 1 folder in 1 operation.
-
View User Profile
-
Send Message
Posted Jun 7, 2014@Shevchikden
Hmm, I just had a backup with the path like /futurerealms-towny/, however the backups are stored in /futurerealms-towny/backups/. That would mean it is possible that apache commons can travel more than 1 folder :P.
-
View User Profile
-
Send Message
Posted Jun 7, 2014@DarthmineboyThe backup modules are independent from each other so it will be rather hard to do this.
-
View User Profile
-
Send Message
Posted Jun 7, 2014@Shevchikden
Also one remark regarding backups: If you have localfs enabled and also ftp enabled, wouldn't it be better to first make the localfs ( which it does ) and afterwards upload those files to the ftp instead of zipping the folders again?
-
View User Profile
-
Send Message
Posted Jun 7, 2014@Darthmineboy It should
-
View User Profile
-
Send Message
Posted Jun 7, 2014@Shevchikden
Would it work if I just kept it to use /futurerealmstowny/ ?
-
View User Profile
-
Send Message
Posted Jun 7, 2014@Darthmineboy AFAIK apache commons cannot travel more than one folder so it doesn't work. Will fix that soon.
-
View User Profile
-
Send Message
Posted Jun 7, 2014@Shevchikden
I have this as path for my FTP backup, but it still puts the FTP backup in /backups.
Thanks by the way for the quick response and fixes..
-
View User Profile
-
Send Message
Posted Jun 7, 2014@Darthmineboy Wow, should check that ASAP.
UPD: Fixed
-
View User Profile
-
Send Message
Posted Jun 7, 2014@Shevchikden
Alright, that seems to be working. Just one issue with this ftp backup, the backups aren't put in the path I selected it to go in.
EDIT: An error, after this the backup stops ( the backup wasn't done yet! )
-
View User Profile
-
Send Message
Posted Jun 6, 2014@Darthmineboy The latest dev build streams the zipped folder directly to server without using local file.
-
View User Profile
-
Send Message
Posted Jun 6, 2014Hmmm, when making a backup with the ftp server, the connection get's closed because it first has to zip all files for a long time. Perhaps refreshing the connection to the server to keep the connection open is a solution?
-
View User Profile
-
Send Message
Posted Jun 5, 2014@Frallion Next time you should disable any crash/freeze detectors before using worldregen.
(Probably i should put a note about that on the feature page)
-
View User Profile
-
Send Message
Posted Jun 5, 2014Happy End! ASW pasted all regions on map, server restarted, everything works :D
-
View User Profile
-
Send Message
Posted Jun 5, 2014Now, server restarted, and no one can join server, worldregen...
-
View User Profile
-
Send Message
Posted Jun 5, 2014And again,
What shall I do now, only wipe?
-
View User Profile
-
Send Message
Posted Jun 5, 2014So, I joined server, started worldregen again. Server saved all regions, while server was restarting, I was bringing back the folder with old regions, now, server started, but...