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 Jun 8, 2013@JackienCZE
You sould set a wrong scriptpath to let the server to try to restart using process builder workarond. If this won't work than it means that hoster is somehow blocking executing native commands.
-
View User Profile
-
Send Message
Posted Jun 8, 2013Hi, I am here, again :/. I tried version 4.7 but it still doesn't work on my server. I use mcpc+ on hosted server on Linux OS. I have my start.sh in the server folder. Console shows, that it found the startup script and it's restarting. But it isn't (really, I know, that I can't see it on console). Can you help me, please?
-
View User Profile
-
Send Message
Posted Jun 8, 2013@Shevchikden This is my start.sh file. I will double check my path
-
View User Profile
-
Send Message
Posted Jun 8, 2013Very nice keep up the good work!
-
View User Profile
-
Send Message
Posted Jun 7, 2013@Connor_13_ What's your script is?
And are you sure that you set the path right? (Otherwise it will try to restart but no console will appear even if restart was succesful)
-
View User Profile
-
Send Message
Posted Jun 7, 2013I cant get the restart to work right... I am using spigot / bukkit and the integrated /restart command works but the /asw restart doesnt work. It just stops the server. I have just stop disabled. Any ideas?
-
View User Profile
-
Send Message
Posted Jun 6, 2013@Shevchikden
I'm happy to report that I don't think the problem was with ASW even though the disconnect happened RIGHT before an auto save. Apparently my server was started via 32bit java instead of 64bit so I wasn't able to allocate as much RAM as I wanted to. I think the problem MIGHT have been that I was running low on memory so the server is like "ohey I need some room here, get off".
So! I backed up the world and deleted all other server files and started my server up again using BukkitGUI (which is amazing btw) and everything seems to be working.
Thanks so much for your quick response in any case, and I am very thankful for this plugin.
-
View User Profile
-
Send Message
Posted Jun 6, 2013@saxons12
Keeping login times for players will result in need to purge this files. That's is very idea.
Also i can't find what is PlotMe region helpers.
I think i will relese v 4.7 after i will finish testing autorestart and mcpc+
and after that i will try to find out what is going wrong with those checks (corrupted file maybe)
-
View User Profile
-
Send Message
Posted Jun 6, 2013@Shevchikden
You are right. Only 2users reported this issue. So it might be an issue with bukkit or something. I think the most stable way is to manually keep lastlogin times of users. I am using OnTime witch keeps track of everything. lastlogin, totalplaytime etc. Maybe AutoSave can read data from OnTime and double check it that way?
I'm still resisting on checking if PlotMe members of a plot are active.
Other than that seems okay. You could release it I guess. (btw, I don't know about threadsafe)
-
View User Profile
-
Send Message
Posted Jun 6, 2013@Zraiiah Don't have an idea.
What core are you using?
Also try with ASW plugin only and if this continues try without map(that souldn't really matter,but still).
-
View User Profile
-
Send Message
Posted Jun 6, 2013Everyone gets kicked off my server right before an AutoSave. The only plugins I have are ASW, Essentials, McMMO and WorldEdit. I don't know if this matters, but I also created my own overworld using World Painter.
2013-06-06 09:08:11 [INFO] Read timed out
2013-06-06 09:08:11 [INFO] Zraiiah lost connection: disconnect.endOfStream
2013-06-06 09:08:11 [INFO] [0;34;1mAuto Saving[m
2013-06-06 09:08:11 [INFO] [AutoSaveWorld] Auto Saving
2013-06-06 09:08:11 [INFO] [0;34;1mAuto Save Complete[m
2013-06-06 09:08:11 [INFO] [AutoSaveWorld] Auto Save Complete
Sometimes instead of "endOfStream" it gives this too:
2013-06-06 08:52:28 [INFO] Zraiiah lost connection: disconnect.genericReason
If there's somewhere else I should be posting this, let me know please. :)
-
View User Profile
-
Send Message
Posted Jun 5, 2013@KBTfilms Yes it works. (Exept some problems with mcpc+ and autorestart)
Why online mod status should matter to a plugin?
-
View User Profile
-
Send Message
Posted Jun 5, 2013Does this work on cracked, non-hosted servers?
-
View User Profile
-
Send Message
Posted Jun 5, 2013@Shevchikden
Ahh thanks a lot!, btw if you need more photoshop editing for this plugin give a call.
-
View User Profile
-
Send Message
Posted Jun 5, 2013@Arton123
-
View User Profile
-
Send Message
Posted Jun 5, 2013@Shevchikden
The path that i made worked in the old config When it where like this:
help: write absolute paths to this file
extfolders:
- /media/FTB_Backups/FTB_Public_Backups
and switched to use extpaths in the config? do you mean i should rename extfolders to extpaths instead im kinda lost, i can't find anything named extpaths in the config only extfolder.
-
View User Profile
-
Send Message
Posted Jun 5, 2013@Shevchikden
Nice nice, when 4.7 is released tell me and I'll add a link to your plugin on the plotme page.
-
View User Profile
-
Send Message
Posted Jun 5, 2013@saxons12 First every player assumed active.
Then check if the user even exist (if not -> assume inactive), then check last login(if logined more the awaytime ago -> assume inactive), then online status(online -> assume active (some occasions when player just joined server, he will not exist for bukkit, but will be online)).
For some reason sometimes bukkit returns wrong results(on .hasPlayedBefore() mostly, and sometimes .getlastPlayed()), and player assumed inactive.
I think it has something to with server crashes when player files are not saved correctly.
(Sometimes i have this problem with WG purge, 2-5 regions from 1000 are deleted wrongly, that why i always do a backup before purge, so i can restore some regions using WEsnapshot)
Or maybe those checks are not threadsafe, but not threadsafe reading WTF?
-
View User Profile
-
Send Message
Posted Jun 5, 2013@Shevchikden
Edit: I just realized that some of my current players, which log in every day and some even online during the PlotMe purge have reported that their Plots have been deleted. How could this happen? Because they were online? How does AutoSave check if a player is inactive?
So I tested this and it worked perfectly. I had 21k plots it deleted around 7k, which opened up spaces for new players. I saw that you added statistics to the console, thanks for that.
One suggestion for PlotMe: Add an option so that AutoSaveWorld also checks if the Helpers of a plot are also inactive before deleting the plot. Some of my users are angry because of this. But I want do a rollback because it's too messy and these were the users who used multiple accounts to have more plots.
Thanks you very much in general!
(I could send you a log if it's necessary, I also had Debug on while doing this.)
-
View User Profile
-
Send Message
Posted Jun 4, 2013@Arton123
Are you sure that you switched to use extpaths in the config?