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 Jan 8, 2013@ha11oga11o
well i read the suggestion, but it's not good, because plugin doesn't know exactly how much it should backup , and collecting this information before copying can take too much time.
-
View User Profile
-
Send Message
Posted Jan 8, 2013@Shevchikden
Yeah probably is that issue because lots of plugins have their own files (sometimes specific plugin has 1000+ small files) and probably theyre updating them faster that WS can copy it, so it times out at least 20% files like that.
Thing is that this plugin is something incredible!! Very nice, smooth work, simple enough that dont have complex code to be broken and such :)
Many thnx, maaaanyyy thnx for this :)
And, as i said; you did not read mine suggestion :P
Cheers, and many thnx for all.... hehhe :)))))
-
View User Profile
-
Send Message
Posted Jan 8, 2013@ha11oga11o There is something in plugins folder that can't be copied, so plugin tryes to copy it but can't and tryes again until timeout comes, timeout is about 1 minute.
-
View User Profile
-
Send Message
Posted Jan 7, 2013OK,...
something is strange here... Need advice from DEV if its possible. Thing is, that im using this plugin for awhile and it usually take ages to auto-backup map. Server is lagy as hell, and all other things server related, and we hate :) Mine default backup folder is within plugins/autosaveworld/backups/.... etc. Its in plugins directory. Last nite i add another map to server which is additional 1.2GB size. So now 1st map has around 3G+1,2G = a lot of data to backup!
OK, thing is on that 3G map it takes about 45mins to finish it with heavy lag, with slow backup = true.
Then, i disabled in cfg to backup plugins folder and now both worlds saving in matter 3-4 minutes without lag!
Im using 1.4.6r03 beta CB, large already generated worlds with world border. R: AutoSaveWorld v3.9.9 for CB 1.4.6-R0.1 Dec 21, 2012
Ubuntu 64bit server with 2GB java dedicated, on WD HDD 7200rpm 32MB cache. java 7 64 bit strictly... hell! It says java nio found and start backup since you implemented it.
So now, is it actually saving worlds or what? I dont have resource to stop server and check actual saved data, i just trust plugin. Thing is that when i disabled backup of plugins forlder all is working as hell :)) very nice!
Now couple of suggestion, please dont disregard them because above text is big, hard to read and pain in the.... :) heheh:
Can you please implement broadcasting like auto-backup finished backuping 7% ... etc every 30 seconds, or even every 10% so we have feeling its working and all is OK? It will really help a lot!
So now, what to say you saved me at least 10 yrs of life when i started to use this plugin... at very start. Server was hacked every 3-4 days at 1.3 version.
Many thnx for all, sorry for English its not mine native, as you can see:)
-
View User Profile
-
Send Message
Posted Jan 7, 2013@MrREOM You can change the messages, read commands to know how to do this.
-
View User Profile
-
Send Message
Posted Jan 7, 2013Could you make it so we could customize the message when the worlds are being saved?
-
View User Profile
-
Send Message
Posted Jan 6, 2013Does this autosave inventories and does it support inventory plugins like WorldInventories?
-
View User Profile
-
Send Message
Posted Jan 3, 2013@ha11oga11o
Something wrong with disk write/read.
-
View User Profile
-
Send Message
Posted Jan 3, 2013Hello,
i have these errors, someone can tell me what it is? Its laging server badly when occurs :(
http://pastebin.com/TezHKA6S
Using
R: AutoSaveWorld v3.9.9 for CB 1.4.6-R0.1 Dec 21, 2012
1.4.6-R0.1 (Build #02561)
-
View User Profile
-
Send Message
Posted Jan 2, 2013Guys read below the failed to load is caused by your java version. I am also running 1.7.0_10
Try an upgrade if this doesn't work try a complete reinstall of java.
Either way this error is caused by your java version. I have tested multiple scenarios
The tests I ran are a follows.
1st. same server files different host = plugin worked 2nd. same files my computer = plugin worked 3rd. My ubuntu server same files = plugin failed 4th. My ubuntu server fresh file system = plugin failed 5th. Complete reinstall of java on Ubuntu with original files = plugin worked
Result = corrupter or outdated java version.
-
View User Profile
-
Send Message
Posted Jan 2, 2013@TwigCreator Already works
@clevercraftowner JAva 1.7.0_10 is surely works for me @n13ksas JAva 1.7.0_10 is surely works for me
-
View User Profile
-
Send Message
Posted Jan 2, 2013@clevercraftowner
my java is 1.7.0, latest
-
View User Profile
-
Send Message
Posted Jan 2, 2013It wont work, quite simply, it doesnt create a file "Autosaveworld"
[SEVERE] Could not load 'plugins/autosaveworld.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: autosave/AutoSave : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugins(CraftServer.java:235) at org.bukkit.craftbukkit.v1_4_6.CraftServer.reload(CraftServer.java:585) at org.bukkit.Bukkit.reload(Bukkit.java:184) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:510) at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchServerCommand(CraftServer.java:502) at net.minecraft.server.v1_4_6.DedicatedServer.al(DedicatedServer.java:260) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.UnsupportedClassVersionError: autosave/AutoSave : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 14 more
-
View User Profile
-
Send Message
Posted Jan 2, 2013When will this be updated to the new version of craft bukkit? Or does it already work?
-
View User Profile
-
Send Message
Posted Jan 2, 2013Hi , what problem it might be ?
-
View User Profile
-
Send Message
Posted Jan 2, 2013Hey guys im just gonna post this if anyone else is having this problem were the plugin is not loading a folder. I had this problem with this plugin and autocraft along with a couple other plugins. The source of this problem is due to an out dated version of java. Be sure to have the most recent java version installed in order for this plugin to work. Atleast for Ubuntu server. I had to make sure every trace of old java files were removed and only the most recent version installed. Hope this helps the few if any who were having the same problem i was having.
-
View User Profile
-
Send Message
Posted Dec 31, 2012@Shevchikden
i figured out what was happening no worries
-
View User Profile
-
Send Message
Posted Dec 30, 2012@daviltam
That's a known bug, the version that will fix it will be availible about 8th January.
-
View User Profile
-
Send Message
Posted Dec 30, 2012hey buddy why i cant backup the world? java.nio found, using normal backup mode
i am using 1.4.6 bukkit and R: AutoSaveWorld v3.9.9 for CB 1.4.6-R0.1 Dec 21, 2012
my english is pretty basic , sorry
-
View User Profile
-
Send Message
Posted Dec 29, 2012@Shevchikden
well...i've adminium on my server...and in the plugins list...it tells me that this plugin is in 3.9...what can i do for change that number? if i change the version in the .yml can the plugin be corrupt?