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 just got this as well (separate from my other post):
@Shevchikden
config.yml
From the server log:
The backup directory itself: ls autosavebackups
@rbonafied Paste your config and debug log here.
Shevchikden,
I've upload to bukkit 1.4.7 and using version 4.0 of your plugin. It still will not backup any world other than the nether. Please can you help? I've been without backups for a while.
Ok. If I find any more bugs, so I write.
@StanoMalek Every first save from the server start fails, and sometimes too, and i don't know why, maybe some other plugin is saving in the moment or something unloads a chunk.
why? :)
@Valconeye
permissions are the autosaveworld.(name of the command in arg) for example: /asw save needs permisson autosaveworld.save /asw backup - autosaveworld.backup
(Neverminde, read edit below)
With the new version, what are the permission nodes? Or are they the same?
Thanks, This plugin will complete my Bukkit++, FML, Tekkit 1.4.7 server!
EDIT!
NVM, with PEX, this must be a User permission, not in a group permission.
@Shevchikden
Does the new version fix the problem I'm having where it only truly backs up the nether and ignores the other typical worlds?
Updated the test build, zip support added.
@StanoMalek
Well, i knew that i forgot something, ASW doesn't handle the command without arguments. Need to fix this
Look at.
@StanoMalek v3.9.9 doesn't support craftbukkit 1.4.7 download TestBuild is in the TestBuilds Page. (be careful, it may be unstable)
@Hulipill
Download test build at the testBuilds page it should work (be careful, it may be unstable)
@StanoMalek
Same here, ever since I updated to 1.4.7 It lagged more, I think it's this plugin...
post this in the tickets
Ok. 2013-01-19 23:53:54 [INFO] [AutoSaveWorld] Enabling AutoSaveWorld v3.9 2013-01-19 23:53:54 [INFO] git-Bukkit-1.4.7-R0.1-8-ged63bd5-b2608jnks (MC: 1.4.7) 2013-01-19 23:53:54 [INFO] git-Bukkit-1.4.7-R0.1-8-ged63bd5-b2608jnks (MC: 1.4.7) 2013-01-19 23:53:54 [INFO] 48 2013-01-19 23:53:54 [INFO] v1_4_7 2013-01-19 23:53:54 [SEVERE] java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_4_7.CraftWorld 2013-01-19 23:53:54 [SEVERE] at java.net.URLClassLoader$1.run(URLClassLoader.java:366) 2013-01-19 23:53:54 [SEVERE] at java.net.URLClassLoader$1.run(URLClassLoader.java:355) 2013-01-19 23:53:54 [SEVERE] at java.security.AccessController.doPrivileged(Native Method) 2013-01-19 23:53:54 [SEVERE] at java.net.URLClassLoader.findClass(URLClassLoader.java:354) 2013-01-19 23:53:54 [SEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:423) 2013-01-19 23:53:54 [SEVERE] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) 2013-01-19 23:53:54 [SEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:356) 2013-01-19 23:53:54 [SEVERE] at autosave.AutoSave.onEnable(AutoSave.java:134) 2013-01-19 23:53:54 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 2013-01-19 23:53:54 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) 2013-01-19 23:53:54 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 2013-01-19 23:53:54 [SEVERE] at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282) 2013-01-19 23:53:54 [SEVERE] at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264) 2013-01-19 23:53:54 [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321) 2013-01-19 23:53:54 [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300) 2013-01-19 23:53:54 [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259) 2013-01-19 23:53:54 [SEVERE] at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149) 2013-01-19 23:53:54 [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) 2013-01-19 23:53:54 [SEVERE] at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) 2013-01-19 23:53:54 [INFO] [AutoSaveWorld] Version 3.9 is enabled: 615781f7-e501-4a6a-a672-7dca8c8860f5 2013-01-19 23:53:54 [INFO] [AutoSaveWorld] AutoSaveThread Started: Interval is 300 seconds, Warn Times are 0 2013-01-19 23:53:54 [INFO] [AutoSaveWorld] AutoBackupThread Started: Interval is 50000 seconds, Warn Times are 0
Test build is now availible. If you found a bug in test version please comment it at test builds page.
In new version of plugin, commands to configure the plugin will be removed , I won't remove the code from plugin, so if you wan't you can recompile plugin with old chat configuration.
Also the config will be updated so after updaing to 4.0 ensure that you configured plugin again.
@pyrotech1620 IT means that the main thread of plugin failed to start. So everything that main thread of plugin was doing is disabled. But save thread still starts, so the plugin partially working. I will try to release a new version today.
@Shevchikden
Nothing is displayed either when doing /save ... Do not even see anything in the console.. =[