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
Hi !
How to delete backup ? and is possible to not autosave when server is empty ?
@waltezer Yes it saves player inventory.
Does it save characters inventory and location and stuff?
Everyone who has a problems with save in 4.0 should update to 4.1
@SwiftSwamp Upgrade to 4.1, it's incompatible with some other sve plugins @ok12Boss Upgrade to 4.1, it's incompatible with some other sve plugins
It just save fail at all time
It does not provide any errors but it keeps going "AutoSaving" "SaveFailed" That's not even how I had it before, before when it saved it would do "[Broadcast] World Saved." This happened when I upgraded to 4.0
@Shevchikden
141 miliseconds
You have make new permission ? because when i use /asw help the plugin return me i have no permission fot that, so what a hell ?
@rbonafied How much time does it takes to backup the world myserver alone?
@rbonafied I explicitly listed all 3 worlds and it still only backed up the nether. Then I explicitly listed just the one world and it ignored it. It said it backed it up, but the output directory didn't have it at all.
From the log (still not backing it up): 19:58:52 [INFO] AutoBackuping 19:58:52 [INFO] [AutoSaveWorld] AutoBackuping 19:58:52 [INFO] [AutoSaveWorld] start extbackup 19:58:52 [INFO] [AutoSaveWorld] Path is:/usr/local/minecraft/evanserver/autosavebackups 19:58:52 [INFO] [AutoSaveWorld] configuring done 19:58:52 [INFO] [AutoSaveWorld] Deleting oldest backup
19:59:10 [INFO] [AutoSaveWorld] Backuping world: myserver 19:59:10 [INFO] [AutoSaveWorld] Backuping world: myserver_nether 19:59:13 [INFO] [AutoSaveWorld] Backuping world: myserver_the_end 19:59:13 [INFO] [AutoSaveWorld] Backup 3 Worlds 19:59:13 [INFO] AutoBackup Complete 19:59:13 [INFO] [AutoSaveWorld] AutoBackup Complete 19:59:13 [INFO] [AutoSaveWorld] Full backup time: 21125 milliseconds
@Shevchikden
Ok. I'll explicitly list them in the config. This is what I did the first time (just fyi).
I have the following plugins:
plugins
19:56:02 [INFO] Plugins (32): GroupManager, WorldEdit, NoCheatPlus, TagAPI, SimpleAnnouncer, LogBlockQuestioner, Vault, LogBlock, WorldGuard, ProtectionStones, ChangeSilkTouch, DisguiseCraft, Permissions, Turnstile, AutoSaveWorld, Herochat, TermsOfService, SimpleCensor, Essentials, LagMeter, EssentialsProtect, EssentialsSpawn, BattleTracker, EssentialsGeoIP, LWC, EssentialsAntiBuild, dynmap, Dynmap-HeroChat, BattleArena, Dynmap-Essentials, ArenaSpleef, ArenaCTF
Need a tester with big database (WorldGuard , LWC and player data) to test if the AutoPurge is working normally.
@rbonafied Save problem is fixed. And what abour backup i don't know why this happens, try to set your world list to names of the worlds, and then try to backup, also i need a plugins list on your server. (I suppose some plugin doesn't allow those 2 worlds to be copied)
@Shevchikden
Um... does that mean you are working on a fix, you give up or what? How can I help?
AutoPurge in test build is working for WorldGuard, LWC, and also deletes inactive players .dat files (be careful AutoPurge away time is in seconds), any other plugins that you want to add to AutoPurge?
@orkun1675 dn't know what happened, are you using v4.0 or 4.1, try 4.1 if you are using 4.0, (4.0 has some problems with autosave maybe this is it).
I think this is related to AutoSaveWorld (Bukkit staff said so) :
Server crashed oddly with 20/200 players online. 9gb free ram and 20tps. No idea how it happened. Here is the log:
http://pastebin.com/aXBGADQr
If there is anyone who is using the test build, please tell me if the LWC purge is worknig for you.
P.S. looks like version 4.1 will come out faster then bukkitdev stuff approves the 4.0
@rbonafied Don't known why this happens, it looks like it just doesn't want to copy folders, also save is fixed in test builds.