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
Im running V3.6 on a 1.2.5 Tekkit server. How do I configure it so it backups to a specific folder?
@Hacker_Jacker
Use commands or edit the config manually and then use /save loadconfig
I do anything in the normal config to change to time or turn on autobackups can anyone help?
Yes, you were right. It worked. Thanks.
@cbprog Looks like your system is 64-bit but you don't have 64bit java 7. Uninstall all java 6 and intstall java 7.
Installed: (Control Panel)....... Java7 Update 7......... Java6(TM) Update 27......... Java6(TM) Update 29 (64-bit)....... JavaFX 2.1.1
@cbprog Your jdk have java.nio class but don't have java.nio.file.Files; What's your java version?
CraftBukkit-1.3.1-R2.0
2012-09-13 22:59:38 [INFO] [AutoSaveWorld] Enabling AutoSaveWorld v3.8 2012-09-13 22:59:38 [SEVERE] Error occurred while enabling AutoSaveWorld v3.8 (Is it up to date?) java.lang.NoClassDefFoundError: java/nio/file/Files at autosave.AutoSave.onEnable(AutoSave.java:143) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247) at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296) at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.ClassNotFoundException: java.nio.file.Files at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 12 more
Great work on this simple plugin!!
I installed this on a server im setting up and its running fine - it can be a little laggy during the save, nothing bad though. I set the save to 20 minutes for now and have a broadcast message to warn players.
Thank you!!
@EspenHaugen
It's not crashed it's just freezed while backup is running. I'm working to fix this, but it's not finished yet.
How come the server crashed out when i do /backup ?
Did i do somefing wong? :)
Great plugin btw! Saves all my goodness :)
@skippyaut In new version you can just disable plugins backup(still waiting for approval on bukkitdev but links to sourceforge has new version of the plugin).
As for excluding folders, i will ad this in next version.
Hi, is it possible to select folders in the pluginsfolder for backup? Or unselect folders to backup. Because the dynmap and coreprotect folder is too big for backup.
@Shevchikden
I never saw the 1.3.2 file till now...
@HeyAwesomePeople
Nope, it's still active, i just don't know what to add. P.S. Currently i am working to improve the performance of the plugin(Rewriting using java.nio to backup faster).
I made a continuation of this plugin(Noticed it had not been updated for a while now.)
http://dev.bukkit.org/server-mods/auto-save-world/
Is there a way to hide the SAVES messages in the console as it is flooded with them.
Other than that seems like a great plugin - works fine on my server, 1 week and counting with autobackup enabled also.
Regards
Dak
win7, 1.7.0_04-b20
@cardsfan853 This is strange, tell me your OS and java version.
tried those, its still broadcasting.
do i need to do anything after typing those commands, like restarting the server?