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 Dec 8, 2013@McyD1 Log won't tell you if the server really shut down. Because the log stops when bukkit shut down, not the JVM.
And you are getting this error because you probably use an -Xms flag in your start script. So when plugin tries to start a new server instance it fails because you don't have so much physical memory. Because old memory is still in use.
-
View User Profile
-
Send Message
Posted Dec 8, 2013@Shevchikden
I got it straightened out by adding a 5 sec delay to the startup. I was actually asking how to add it as it was not working (but it was a notepad saving the file as windows not a unix file issue)
As far as I can tell the server is shutting down completely, at least accroding to the log it is, but if I do not give it a few seconds delay, the memory is not freed up in time and the restart crashes out as it cannot allocate the memory. I might be able to go with a shorter delay, but I tired five seconds first and it works, beside nobody is going to notice it anyway.
-
View User Profile
-
Send Message
Posted Dec 8, 2013@McyD1 Add a delay before server start to your startup script, maybe it will help. In my case server always shut downs before new one is started. Altrough i have an idea why it can happen, looks like i need to check , maybe there is something else hooking shutdown. I can't add a delay on a plugin side because it already starts new server instance at JVM shutdown time, and this is last moment where java programm can execute it's code.
@DmuTpuu Если стоит mcpc+, то надо ещё ребутнуть сервер ибо скорее всего ты видишь то чего не существует. Проблема быстрого регена на некоторых версиях mcpc+
-
View User Profile
-
Send Message
Posted Dec 7, 2013Okay, I am running into an issue when using the plugin. It is not the plugin itself, but the fact that it is running to quickly.
Anytime the server restarts or recovers from the occasional crash it is running the startup before the memory can clear out, so I am getting:
"There is insufficient memory for the Java Runtime Environment to continue."
Thought someone might now the best way to add an delay to the startup or the plugin to allow the memory to clear.
Using CentOS 6.5
-
View User Profile
-
Send Message
Posted Dec 7, 2013@Shevchikden
I'm so sorry. I did not notice that the config file wasn't saved correctly. You're right, it works like a charm!
Donation is coming.
-
View User Profile
-
Send Message
Posted Dec 7, 2013@TomXPro ZIP works perfectly for me at both OS, are use sure that you enabled it correctly?
-
View User Profile
-
Send Message
Posted Dec 7, 2013Edit:
Did it, thanks!
Just another question: We're running Bukkit on a Windows Server machine. It seems the zip feature doesn't work!? Is there any chance to enable it?
Greetings Tom
-
View User Profile
-
Send Message
Posted Dec 7, 2013@TomXPro
The latest dev version runs perfectly even on 1.2.5
Some versions including latest release won't run without worldedit due to a bug.
-
View User Profile
-
Send Message
Posted Dec 7, 2013Hi!
I'm wondering if v4.9.1 is the latest release running on 1.5.2?
Greetings Tom
-
View User Profile
-
Send Message
Posted Dec 6, 2013@Ipzen
The world save is already batched, plugin saves 1 world per 1/2 tick.
-
View User Profile
-
Send Message
Posted Dec 6, 2013One future i miss in this plugin is to save world for world and not all at once.
I have several worlds and some of them is so big that saves takes 5-6 seconds.
would help me so much if i could choose to save each world with 10 minutes between or something =)
-
View User Profile
-
Send Message
Posted Nov 28, 2013@Slaand
При отгрузке плагина или выходе последнего игрока сохранение будет выполнятся всё равно.
-
View User Profile
-
Send Message
Posted Nov 28, 2013Здравствуй шевчик, такая проблемка: 28.11 20:53:05 [Server] WARNING A manual (plugin-induced) save has been detected while server is configured to auto-save. This may affect performance. 28.11 20:53:05 [Server] INFO AutoSaving
Такого не должно быть, автосейв в конфиге отключён. Работает только встроенное в spigot движок автосохранение
-
View User Profile
-
Send Message
Posted Nov 21, 2013@crunkazcanbe Oops, need to move schematic format init. I will release an update soon.
-
View User Profile
-
Send Message
Posted Nov 20, 20132013-11-20 20:46:32 [INFO] [AutoSaveWorld] Enabling AutoSaveWorld v4.11.1 2013-11-20 20:46:32 [SEVERE] Error occurred while enabling AutoSaveWorld v4.11.1 (Is it up to date?) java.lang.NoClassDefFoundError: com/sk89q/worldedit/schematic/SchematicFormat at autosaveworld.threads.worldregen.WorldRegenCopyThread.<init>(WorldRegenCopyThread.java:163) at autosaveworld.core.AutoSaveWorld.startThread(AutoSaveWorld.java:208) at autosaveworld.core.AutoSaveWorld.onEnable(AutoSaveWorld.java:125) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugin(CraftServer.java:284) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.enablePlugins(CraftServer.java:266) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.<init>(CraftServer.java:220) at net.minecraft.server.v1_6_R3.PlayerList.<init>(PlayerList.java:56) at net.minecraft.server.v1_6_R3.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.java:107) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:393) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: java.lang.ClassNotFoundException: com.sk89q.worldedit.schematic.SchematicFormat at java.net.URLClassLoader$1.run(Unknown Source) 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.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 14 more
no other plugins installed but this this only happens with v4.11.1
-
View User Profile
-
Send Message
Posted Nov 20, 2013@CfsFireFighter
The console won't open no matter hard you try. It's just doesn't work like that. AutoRestart restarts server but does not attach it to console, because attaching process to cmd is not cross platform (you need to know which terminal system uses and that is not easy.).
-
View User Profile
-
Send Message
Posted Nov 20, 2013Hey sorry about this i have read all 114 pages of comments to try and fix this issue but no one have posted a fix ok. i am running a ftb unleased server on a dedicated windows server. when ever the server does its auto restart the console doesnt reopen which i have read that its because it cannot find the file, but as listed below it is pointing to its full path
-
View User Profile
-
Send Message
Posted Nov 18, 2013Is there any way to save world(s) at different intervals? If not, that could be a nice feature addition. Staggering worlds saves could reduced save lag significantly, don't you think?
Great Plugin though!
-
View User Profile
-
Send Message
Posted Nov 17, 2013I'm not trying to be a noob but anybody have a start.sh file?
-
View User Profile
-
Send Message
Posted Nov 15, 2013@Shevchikden
Спасибо, я просто поставил Dev Build плагина LWC и сервер больше не крашится С: