Simple-AutoSave
Description:
I was surprised at the trouble I had finding a simple plugin with which to automatically save world & player data every few minutes.
So I threw this together and as usual thought I'd go ahead and share it. "So does this do a simple forced save-all like I would do in console? Or in game? Instead of me or another op having to do it randomly?" It does exactly that, nice and simple.
It runs the save-all command at a specified interval, saving all world and player data..
You can set it up to do so silently, to only log to console, or to inform the whole server with a configurable message.
1. Download the .jar
2. Place the .jar in your plugins directory
3. Restart the server Configuration:
• interval - Time (IN MINUTES) between Automatically saving player & world data.
• SilentMode - Operate in SilentMode. (No Broadcasts/Console logs)
• ConsoleLogging - Broadcast a message to the console whenever data is autosaved.
• BroadcastEachWorld - Broadcast a confirmation of each world as it is saved.
• ServerBroadcast - Broadcast a message to the server whenever data is autosaved.
• AdminOnlyBroadcast - Broadcast a message only to those with autosave.broadcast permission.
• AutoSaveMessage - Message to broadcast on AutoSave.
Commands:
• /Asave - Menu
• /Asave on - Start AutoSave timer
• /Asave off - Stop AutoSave timer
• /Asave save - Force an AutoSave
• /Asave status - Check status of AutoSave
• /Asave reload - Reload AutoSave config
Permissions:
Autosave.admin - Toggle Autosaving
Autosave.reload - Reload config
Autosave.broadcast - Only users with this permission will see the broadcast (AdminOnlyBroadcast)
Support!
PayPal / DogeCoin
DogeCoin: D5ZNpX1ejVoSwdupoanZmm3STpRcpfnnft Thankyou for your support! :D Change-Log:
I was surprised at the trouble I had finding a simple plugin with which to automatically save world & player data every few minutes.
So I threw this together and as usual thought I'd go ahead and share it. "So does this do a simple forced save-all like I would do in console? Or in game? Instead of me or another op having to do it randomly?" It does exactly that, nice and simple.
It runs the save-all command at a specified interval, saving all world and player data..
You can set it up to do so silently, to only log to console, or to inform the whole server with a configurable message.
Installation:Upgrading to 0.2 Interval has been updated from Seconds to Minutes, be sure to update your config.yml accordingly!
1. Download the .jar
2. Place the .jar in your plugins directory
3. Restart the server Configuration:
• interval - Time (IN MINUTES) between Automatically saving player & world data.
• SilentMode - Operate in SilentMode. (No Broadcasts/Console logs)
• ConsoleLogging - Broadcast a message to the console whenever data is autosaved.
• BroadcastEachWorld - Broadcast a confirmation of each world as it is saved.
• ServerBroadcast - Broadcast a message to the server whenever data is autosaved.
• AdminOnlyBroadcast - Broadcast a message only to those with autosave.broadcast permission.
• AutoSaveMessage - Message to broadcast on AutoSave.
Commands:
• /Asave - Menu
• /Asave on - Start AutoSave timer
• /Asave off - Stop AutoSave timer
• /Asave save - Force an AutoSave
• /Asave status - Check status of AutoSave
• /Asave reload - Reload AutoSave config
Permissions:
Autosave.admin - Toggle Autosaving
Autosave.reload - Reload config
Autosave.broadcast - Only users with this permission will see the broadcast (AdminOnlyBroadcast)
Support!
PayPal / DogeCoin
DogeCoin: D5ZNpX1ejVoSwdupoanZmm3STpRcpfnnft Thankyou for your support! :D Change-Log:
0.2.3
- UPDATE: for Spigot API 1.10.2
0.2.2
- ADDED: AdminOnlyBroadcast
- ADDED: Option to toggle console logging
- UPDATE: Save procedure rewrite
0.2.1
- Fixed: Console colours not displaying correctly when serverbroadcast = false
0.2
- Added/Fixed: Reloading config
- Updated: config.yml
- Updated: interval time NOW IN MINUTES (Updated from SECONDS)
This is an AMAZING plugin, seems better than the rest out there, to me! Please continue to keep this plugin updated ^_^
Perfect.
@dawiisss
"Because for some reason it doesn't save 3 of my multiverse created worlds and it unloads them 0.0"
Impossible. Simple-AutoSave does nothing more than save the player and world data.
It contains no code capable of doing anything else.
Your problem is caused by something else, likely your multiverse configuration.
Is it possible to specify the worlds? Because for some reason it doesn't save 3 of my multiverse created worlds and it unloads them 0.0
Thanks! Very simple and very helpful plugin.
Muy bueno! Super util...
@atomicben
Aha, nice catch. I'll fix that now.
Thanks for the feedback. :D
If you could add a feature to restart the server automaticaly after the save-all, that would be a great way to get a fresh server every X hours. Since the 1.3 is laggy as f*, that would be a nice way to keep the server playable.
Thanks a lot :)
@HollowCube
Thanks for the feeback. :)
Reloading config has been fixed in 0.2 and crossed off the Todo list.
Thank you. This is the perfect, lightweight, plugin I've been looking for. Just one problem: the config does not seem to reload very well. When I use /asave reload it reloads the plugin, but overwrites the config file, disallowing me to edit the configuration options while the server is running without a time consuming work-around.
Edit: I'd be willing you help you out with the development of this plugin; maybe also some of your other plugins as well. PM me if you're interested in working together at all.
Can you add option to backup plugins and worlds ?
ok , cool , i will add it now and give her a go! Thanks!
@out2k
"So does this do a simple forced save-all like i would do in console? Or in game? Instead of me or another op having to do it randomly?"
It does exactly that, nice and simple.
It runs the save-all command at a specified interval.
You can set it up to do so silently, to only log to console, or to inform the whole server with a configurable message.
I am looking for a "simple lite" auto save. I do not need a major backup folders and zipping = lagg. So does this do a simple forced save-all like i would do in console? Or in game? Instead of me or another op having to do it randomly? If so i would like to try it out. Thanks