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
It appears that whenever the autosave on my servers occur, they reload for some reason. Does anyone else have a similar problem or solution?
I got my server back up, after a year or 2, and im so glad this plugin is still working/being updated, Awesome stuff man!
@Shevchikden
ah yes that worked ty
@snipershotmaster Try increasing the timeout time in spigot.yml. For whatever reason you are triggering the watchdog.
The documentation links above do not work.
Is there somewhere else documentation?
Thank you for this great plugin!
@Shevchikden
Yea it doesnt seem to hang at all at the end it just spams that.
Edit: it seems to happen on any pc i put it on.
@snipershotmaster Your server hangs on some internals of the minecraft server itself. Are you sure that you have enough processor power to run minecraft server?
Using 4.14.2 asw and spigot 1.8.8-r0.1-snapshot and i receive this error from spigot in my log http://pastebin.com/Va23kq8b. The plugin loads with no error nor it hangs on startup but spigot thinks it does. Help?
@Orenthion What's your server hardware specs?
@Shevchikden
I am on version 4.15.dev. I have the dropbox turned to true, with zipping on. The folder structure is created, but the zip file never appears.
EDIT: It seemed to have work. Just took FORVER to complete.
@Shevchikden
works for the local file backup. Haven't tested with ftp. I'll update and test the zipping for dropbox.
@Orenthion Try latest version from buildserver.
Also does zipping files work for local backup or ftp backup?
It seems when I use the Dropbox autobackup portion, it creates the asw folder, the backup folder, the respectful date folder, but doesn't add any of the backup zips. When i turned off zipping, it correctly added all the backup files.
Leaving zip off is gonna eat up alot more space then necessary.
@Biesuliss That's an error with LocalFS backup. Change your destination folder.
Help! Im getting an error, while backuping in Dropbox
08.07 16:46:51 [Multicraft] Skipped 7381 lines due to rate limit (30/s) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at autosaveworld.threads.backup.localfs.LocalFSBackupOperations.backupFolder(LocalFSBackupOperations.java:92) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at autosaveworld.threads.backup.localfs.LocalFSUtils.copyDirectory(LocalFSUtils.java:36) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at autosaveworld.threads.backup.localfs.LocalFSUtils.copyDirectory(LocalFSUtils.java:36) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at autosaveworld.threads.backup.localfs.LocalFSUtils.copyDirectory(LocalFSUtils.java:42) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at java.nio.file.Files.copy(Unknown Source) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at java.nio.file.Files.newOutputStream(Unknown Source) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at java.nio.file.spi.FileSystemProvider.newOutputStream(Unknown Source) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at sun.nio.fs.UnixFileSystemProvider.newByteChannel(Unknown Source) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at sun.nio.fs.UnixException.translateToIOException(Unknown Source) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: java.nio.file.NoSuchFileException: /servers/server28/./backups/worlds/world/2015-07-08-16-46-36/DIM1/forcedchunks.dat 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at autosaveworld.threads.backup.AutoBackupThread.run(AutoBackupThread.java:103) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at autosaveworld.threads.backup.AutoBackupThread.performBackup(AutoBackupThread.java:132) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at autosaveworld.threads.backup.localfs.LocalFSBackup.performBackup(LocalFSBackup.java:48) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at autosaveworld.threads.backup.localfs.LocalFSBackupOperations.backupWorld(LocalFSBackupOperations.java:48) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at autosaveworld.threads.backup.localfs.LocalFSBackupOperations.backupFolder(LocalFSBackupOperations.java:92) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at autosaveworld.threads.backup.localfs.LocalFSUtils.copyDirectory(LocalFSUtils.java:36) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at autosaveworld.threads.backup.localfs.LocalFSUtils.copyDirectory(LocalFSUtils.java:36) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at autosaveworld.threads.backup.localfs.LocalFSUtils.copyDirectory(LocalFSUtils.java:36) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at autosaveworld.threads.backup.localfs.LocalFSUtils.copyDirectory(LocalFSUtils.java:42) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at java.nio.file.Files.copy(Unknown Source) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at java.nio.file.Files.newOutputStream(Unknown Source) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at java.nio.file.spi.FileSystemProvider.newOutputStream(Unknown Source) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at sun.nio.fs.UnixFileSystemProvider.newByteChannel(Unknown Source) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: at sun.nio.fs.UnixException.translateToIOException(Unknown Source) 08.07 16:46:36 [Server] INFO [16:46:36 WARN]: java.nio.file.NoSuchFileException: /servers/server28/./backups/worlds/world/2015-07-08-16-46-36/DIM1/data/villages_end.dat
Hello,Author. Could I translate this plugin to Chinese ,and post it on to our Website ? I will post it at here : BahaMute Bukkit
@Shevchikden
Thanks, I appreciate it.
@mcly Not sure about Amazon one, but i will try to add support for google drive later.
@Biesuliss Go to dropbox developers, create an app with full access, generte token and paste it in configuration.
Could someone teach me how to link this with Dropbox?
I nevet haven't done that :/
Can you please support backup to Amazon S3? Currently my server's running on Amazon EC3 and I want to upload worlds to Amazon S3 for proper backup. And Google Drive too. Thanks so much.