SaveIt
Description
Hey everyone. I would like to introduce you guys, my first plugin.
Save It (SaveIt) or "Saving It" is an Advanced Lightweight Automatically Saving Plugin. Basically
does Save-All(Like that), but with much more that you could imagine :) !
SaveIt is the first AutoSave plugin, that cares about the performance, and has an own way to do it.
Features:
- World Saving
- AutoSave in minutes
- Multi-World Support
- Supports All Permission Plugin
- You can Disable the Default Bukkit Auto Save
- Saves all Players
- Per World Save Configuration
- Enable/Disable Saving Messages
- Custom Messages
- Anti-Config Error
- In-Game Help
- Supports Colors in the Config
- Save On Disable
- Save All Worlds Option
- In-Game Config Editor
- Works on Every Bukkit Build
- Forge Support!
- Now with Backup Support!
- Special Features:
- Saves On X Quit
- Saves On X Login
- Saves On X Block Place (Any kind of Block)
- Saves On X Block Break (Any kind of Block)
- Save Your Own Data With a Command
- Debug
- Power Save Mode
- Tweaked Performance Source is available again on Github
Newest Build:
Version 1.1.7
Download Here
Changelog:
Welcome to the Next Generation of SaveIt!
New Features of SaveIt are:
- Code Tunes
- Completely reworked backup system, much faster, no more path bugs.
- If you need a fresh config, or just to view it, visit: https://www.dropbox.com/s/lt0g6gvoe2ci12g/SaveItConfig.yml
- Please Read the Documentation: https://www.dropbox.com/s/scjz1qr4ez5ygox/Saving%20It%20Documentation.pdf
Future Release To-do List:
- Request Please
Configuration:
Permissions:
saveit.save - For /saveit save command
saveit.reload - For /saveit reload command
saveit.selfsave - For /saveit selfsave command
saveit.manage - For /saveit [add/remove/list] commands
saveit.backup - For /saveit backup command
Commands:
/saveit - Nice Command Lister
/saveit save - Saves the Configured Worlds
/saveit reload - Reloads Config
/saveit selfsave - Saves Your Data
/saveit add WORLDNAME - Adds a world to Config
/saveit remove WORLDNAME - Removes a world From Config
/saveit list - Lists all Current Worlds in Config
/saveit backup - Creates a Zip of all your Server Folders
/saveit update - Download the Latest Update Automatically
Special Thanks To
- rfsantos1996 - Reporting me about SaveIt's Performance bug :D Thank you mate!
- Chrispm84 - Helping me to test SaveIt out :) | Check his Nice Server out please :)Click here
- DerPavlov - Suggesting, and helping a lot :D | Check his Cannons plugin out!
- Sniperific (Tencao) - Reporting me about SaveIt's Forge Compatibility. Thank you very much! :D
- BukkitSE - For the tutorial! :D
- DoctorCooper - Reporting the problem with the lck files on backup. Check his Server out! Click Here Thank you very much! :D
- TheOnlyRealTGS - Helped me to test the performance on his server. Check his Server out! Click Here Thank you!
- For all to those who helped me to improve SaveIt by requests, or bug reports!, or just uses my plugin! :)
Performance
Thanks to BukkitSE!
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
@dretax
Okay great :)
@TheOnlyRealTGS
When you use stop command to stop the server, bukkit automatically saves everything. Thats why i removed it so there is no double save.
@dretax
So all my worlds will save when i shutdown my server?
@TheOnlyRealTGS
Nope. SaveOnDisable option has been removed, because there is no use of saving there.
Does this affect the save when the server shutdown?
@rasnyderiii
That is why the "directorynottobackup" stands for. Also, what do you mean about "crash"?
This looks great!
But I agree with the comments below. This should only backup the worlds we want it to - not "everything" - thats always been enough in our last 2 years as a top ranked server. Only thing that ever happens is a world corruption that needs rolled back.
I tested this on dev server, did a full backup and crashed thread event. Using 'backup' plugin which is terribly of date that worked fine. As that only backuped up world folder.
@arcvvolf
Totally right that wasn't in my mind. I will do the trick, but right now I'm trying to write an own saving method of the worlds, so i can make it even better.
Thanks for the advice
I wonder if you know that disabling the default bukkit world save also totally disables chunk unloading. Maybe a warning or something on that config option is warranted. Took me quite a little while to figure that out. Thought it was one of my plugins causing it until I tracked it down while listening to chunk load / unload events and started removing plugins 1 at a time...
Nice plugin by the way, saved my bacon several times. Just though I'd pop in and mention that since you are concerned about performance and all. And since never unloading chunks can burn a server alive after a while.
@dretax
Sure. I'll add you now but will talk later as it is 2:05 am here =P
@ThisUsernameIsMine
No. Backup, backups everything, with exceptions. Could you add me on skype so we can solve this? Send a pm
@dretax
Isn't it supposed to only backup the world(folder)s that are mentioned in the config?
Backing-up of plugins or whatever were disabled so that can't be it =/
@Nargath
Nah :D
@dretax
That's ok!
I thought I had stuffed something up in the config file!
@Nargath
The 0 is my fault, sorry for that. I will take it out
I've started using your plugin to take saves and backups of my server, so I could roll back to a previous version, due to some chunk issues I was having.
Anyway, I originally installed 1.08, and it worked great! But I upgraded to 1.09 the other night, and I'm getting a weird entry in my Bukkit log.
Basically, I get a repeating "[INFO] 0" in my log every 10 minutes or so, and it appears when I first load the server.
Here is a link to a screenie of my bukkit server log, with the [INFO] 0 in it:
http://imgur.com/79Gp0ky
I've tested it without your plugin in the plugins folder, and the [INFO] 0 doesn't appear, but does appear when I add it back in.
Here's a link to my config.yml https://dl.dropboxusercontent.com/u/2093670/Saveit%20config.yml It's usually called the normal config.yml, I renamed it for identification on Dropbox
Can anyone shed some insight?
@ThisUsernameIsMine
Hmmm.... Strange. It was working for me good. I know that the path gets written too, but only the server should be backuped. Let me check on it. If you meant that your plugins and etc etc folders get backuped, there is nothing wrong then, you can choose in the configuration which dir wouldnt you like to save.
I have a small test server, which i have tested it on (30mb), used debug too. The server backup finishes.
http://gallery.dretaxmc.eu/Gallery/upload/2013/screen/dretaxscreen/2013-09-01_2154.png (Spigot)
http://gallery.dretaxmc.eu/Gallery/upload/2013/screen/dretaxscreen/2013-09-01_2157.png (Bukkit)
I don't seem to have a problem with it.
@dretax
For some strange reason SaveIt backups the whole server's root-folder. All worlds together take around 4GB but it kept going and going until i saw the zip became more than 12 GB in size o_O
@ThisUsernameIsMine
Sure, and Thank you! :D
Can you add an option so that you can define a maximum number of backups in total and an option to let it auto-delete the oldest backup when it reaches the max. number of backups?
I want to have 5 backups in total and that it creates a backup each hour, so the 6th hour and each hour thereafter it must delete the oldest backup and create a new one.
Thanks for this useful plugin! :-) +1