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 May 20, 2013@porthos203 AutoSave saves world from RAM to disk, so if your server will suddenly crash you won't loose all progress.
What you are talking about is probably autobackup function.
-
View User Profile
-
Send Message
Posted May 20, 2013where the autosave go to i dont see it in my folder of the pluging :S i dont understand what that do
-
View User Profile
-
Send Message
Posted May 19, 2013@mchiappinam SOmething wrog with backup config, can you give me your config?
-
View User Profile
-
Send Message
Posted May 19, 2013-
View User Profile
-
Send Message
Posted May 19, 2013@hj1288 Autosave just saves your worlds from memory to disk, what are you talking about is Autobackup.
-
View User Profile
-
Send Message
Posted May 18, 2013@Shevchikden
Hi, i was just wondering what folder the worlds are saved to? I cant find any option in the config . Also, does it support Multiverse?
[Edit] I also used a internet control panel supplied by a hoster.
-
View User Profile
-
Send Message
Posted May 18, 2013@mcraftus Пока нет, сделаю на днях, пока занят другими вещами.
-
View User Profile
-
Send Message
Posted May 18, 2013@Shevchikden
Привет. В итоге что сделано? Добавлены пазы во время регена или мне увеличивать время ожидания? (Долго кстати регенит, очень долго :))
-
View User Profile
-
Send Message
Posted May 17, 2013@JAG100
No you don't have to name it start.bat, but i don't know why it doesn't work, try a relative path.
-
View User Profile
-
Send Message
Posted May 17, 2013@Shevchikden
Ok, so I believe you're saying that you HAVE to name your batch file 'start.bat' and that the plugin won't support a name like 'GladiatorArena.bat'?
Anyway, I just tried that with another server and made sure to call my batch file start.bat I ran the /asw restart command and it did not run my batch file as my custom instance of JAVA doesn't appear in Task Manager and the CMD window for the server doesn't exist.
Is it possible there's an issue with the /asw restart section and it's ignoring what I'm putting as the path to the start.bat? '
Can you look at my config and point out anything that's causing this?
http://pastebin.com/nkkTmq84
Best, JAG100
-
View User Profile
-
Send Message
Posted May 17, 2013@JAG100
For example your server folder is C:/Gladiator Arena/
and you have file start.bat in it.
YOu can use
Scriptpath: 'C:/Gladiator Arena/start.bat' or
Scriptpath: 'start.bat'
-
View User Profile
-
Send Message
Posted May 17, 2013@Shevchikden
Shevchikden, that's wonderful to hear! Thank you for your quick response.
I'm sorry to be confused regarding "absolute path" and syntax required in your config file.
I can see where you have "start.sh" in your config I have tried numerous variations hoping to solve the mystery such as:
Scriptpath: C:\"Gladiator Arena"\GladiatorArena.bat
I have also tried:
Scriptpath: ['C:\"Gladiator Arena"\GladiatorArena.bat']
and I've tried
Scriptpath: ['C:/"Gladiator Arena"/GladiatorArena.bat']
and other variations including:
Scriptpath: - C:/"Gladiator Arena"/GladiatorArena.bat
Scriptpath: 'C:/"Gladiator Arena"/GladiatorArena.bat'
In short I can't get any of these variations nor others I've tried to work! During my testing, I'm issuing the "/asw restart" command and then watching the task manager to see whether the correct batch file was run or not. If the correct file was being executed then I would see my custom named Java process running but instead it's just the generic one.
Please tell me what I'm doing wrong!
:-).
-
View User Profile
-
Send Message
Posted May 17, 2013@JAG100
1)
There is a supprot for windows .bat files
for example you can create a start.bat file in your server folder with this content
"C:\Program Files\Java\jre6\bin\java.exe" -Xincgc -Xmx3G -jar spigot.jar
set scriptpath to 'start.bat' and that should work
P.S if the script listed in scriptpath won't be found, AutoRestart will restart server using it own magic, but no console window will appear.
2)
If the server is stopped CrashRestart won't do anything, because well, the server is stopped.
-
View User Profile
-
Send Message
Posted May 17, 2013HI Shevchikden, Tharai and HockeyMikey. This is an amazing plugin and I'm so excited to get it working for my servers! Thank you...
I had a couple questions if you don't mind.
1. Could there be support for windows .bat files? I thought perhaps I could specify through the config file to run .bat files in place of the default linux.sh files but nothing I did seemed to work in my path instructions. I know because I use a special named java.com file for each of my servers so I can tell them apart when looking in task manager. Your plugin starts up a generic instance of Java but also restarts the server in a mode that doesn't produce a desktop CMD window/console. I'm assuming none of this would occur if your plugin actually ran the defined .bat file to restart. May we please have support for .bat files for windows?
2. Just for clarification, I would like to have your plugin stop my servers at a specified time with the appropriate flag under AutoRestart to force a STOP rather than immediate RESTART. My plan is to then reboot my main server box and let my auto-startup batch script do the rest to bring the servers back online. While I'm running various batch files and restarting, would your CrashRestart in any way interfere with this process? In other words, I hope your CrashRestart doesn't intercede to try to restart the server given that it was STOPPED by the Autorestart routine. It would be messy and likely cause issues if the CrashRestart interceded in the process. I would like to use the CrashRestart though just in case any of my servers fails during the day ahead of the daily restart as described above.
Again, thank you for this wonderful plugin!
Warmest Regards, JAG100
-
View User Profile
-
Send Message
Posted May 14, 2013@B3fuddled
It will alwais state the autosave is active, when i was adding this command, there wasn't any way to disable autosave, gonna fix that, thx for notising.
-
View User Profile
-
Send Message
Posted May 14, 2013Nice plugin, and thanks for your work!
A couple of things I noticed:
When I have Autsave set to false in the config.yml, the "asw info" command still states that AutoSave is active. And I see the Autosave events being logged on the console.
If I run a manual Save, the asw info shows me that the Last Backup time is also updated with the Save time, even though a backup wasn't performed.
I'm running Bukkit 1.5.2 r0.1
Thanks!
-
View User Profile
-
Send Message
Posted May 14, 2013@TheFluffey No
-
View User Profile
-
Send Message
Posted May 13, 2013@Shevchikden
Cool plugin!
Any way to automatically FTP/SSH to remote location?
-
View User Profile
-
Send Message
Posted May 10, 2013@Vodac120 What OS are you using?
-
View User Profile
-
Send Message
Posted May 9, 2013At kinda a loss here....
Server works wonderfully...BUT while the auto restart feature does restart the server, it does not show the server console. The server is on but the host side console never appears on the server computer.
Anyway I can make it appear?