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
I see.. what should i put for it? I have no knowledge about "Valid yaml lists" haha, sorry.
@Oniromancie Enable debug and check the console, maybe that will explain something.
@xlLordCakeslx You configured restart times wrong '18:00' is not a valid yaml list.
I have just started to use the Auto restart feature. Reloaded the config with /asw reload and waited till the restart time - 18:00 Until the time came, the server didn't broadcast any message that i've set up and didn't restart.
Here's my config.yml:
var: debug: false commandsonlyfromconsole: false save: enabled: true disablestructuresaving: false forceregioncachedump: true interval: 900 broadcast: true onplugindisable: true backup: enabled: false interval: 21600 savebefore: true broadcast: true rateLimit: -1 localfs: enabled: true destinationfolders: - /home/root/multicraft/servers/server374909/. zip: false worlds: - '*' MaxNumberOfWorldsBackups: 15 pluginsfolder: false MaxNumberOfPluginsBackups: 15 otherfolders: [] MaxNumberOfOtherFoldersBackups: 15 excludefolders: [] ftp: enabled: false sftp: false hostname: 127.0.0.1 port: 21 login: user password: password path: asw zip: false worlds: - '*' pluginsfolder: false otherfolders: [] excludefolders: [] maxNumberOfBackups: 4 script: enabled: false scriptpaths: [] dropbox: enabled: false token: '' path: asw worlds: - '*' pluginsfolder: false otherfolders: [] excludefolders: [] maxNumberOfBackups: 4 zip: false purge: enabled: false interval: 86400 awaytime: 2592000 ignorednicks: [] ignoreduuids: [] broadcast: true wg: enabled: true regenpurgedregion: false noregenoverlapregion: true lwc: enabled: true deletepurgedblocks: false residence: enabled: true regenpurgedresidence: false permissions: enabled: true savecmd: mansave mywarp: enabled: true dat: enabled: true crashrestart: enabled: false startdelay: 20 scriptpath: '' timeout: 60 juststop: false autorestart: enabled: true broadcast: true time: - '18:00' countdown: enabled: true broadcastonsecond: - 60 - 20 commands: - restart scriptpath: juststop: false consolecommand: timemode: enabled: false times: {} intervalmode: enabled: false intervals: {} worldregen: newseed: false savewg: true savefactions: true savegp: true savetowny: true savepstones: true networkwatcher: warnmainthreadnetwrokaccess: true
@Shevchikden
Still the same result, only the world are save and they are not zip.
@Oniromancie switch the pluginsfolder option to true
My server is hosted and I'd like to you this plugin to back up my maps and plugin folder. But, when it backups it won't backup the plugin folder, it only backups the world and the worlds aren't in zip file like I asked.
@spannerman79 You won't find it because there isn't any special one. Read the second line of the page.
@Shevchikden - On your Jenkis build server which was your last build for 1.7.9/10 ? I searched your Github to see if added information into your commit details and I couldn't find anything
->>> http://dev.bukkit.org/bukkit-plugins/autosaveworld/pages/world-regen-documentation-page/
@verreckdusau That's not a bug. IConomy uses network in main server thread. This is not good and may lead to server lags/crashes/freezes.
AutoSaveWorld just warns about bad behaviour there.
hei i have bugyy [01:03:32 WARN]: [AutoSaveWorld] Plugin iConomy attempted to establish connection socket://134.255.252.184:3306 in main server thread
@Razorskills
Disable network watcher in autosaveworld config.
But you should notify mod authors that they shouldn't do this on main thread anyway.
Hey there, how do I disable this from checking for these:
[23:08:54 WARN]: [AutoSaveWorld] Something attempted to access http://www.google-analytics.com/collect in main server thread, printing stack trace
and this one is for a mod Aether2
[23:08:54 WARN]: [AutoSaveWorld] Something attempted to access socket://www.gilded-games.com:80 in main server thread, printing stack trace
Basically, I am using cauldron and it is able to detect when a mod tries to access something from the internet. Those mods should be allowed to do that and I don't really want a console spam whenever the mods do what they need to do. its a pretty long error, and makes reading things from the console very annoying. Is there anything I can do to either only make it check on plugins and not mods. Or be able to just disable the feature completely.
I am using 1.7.10, So I am using v4.14.1
@Theepwner It always generated one since 4.11. It just was deleted every time because the only usage of this file is to preserve interval counter of backup.
@Shevchikden
Backupintervalpreserve seems to be a feature with the latest dev build... Using v4.14.2 I didn't have it in the AutoSaveWorld folder, but after updating to the latest dev build it generated one.
@Theepwner Because currently it disables internal autosave, so the disabling autosave is very dangerous.
Backupintervalpreserve is not new, it is actually old and was used to preserver interval ounter of the backup. Currently it is not used anymore so plugin no longer deletes it on a startup.
Why did you remove the option to enable or disable the autosave feature in the latest dev build?
Also, what is the new backupintervalpreserve.yml?
working great on our spigot 1.8.1! thanks so much!!
@RealsTeel8
No. Built-in autosave won't work.
Why not use the built-in autosave? If I turn off the autosave function in this plugin, will the built-in autosave still save the world?
sTeel8