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
@Shevchikden
That fixed it! Thanks :3
When will the plugin be able to compress worlds?
@PAL18 check file backups.yml in your backups folder, something is wrong with it, or just delete this, and try backup again. @Redletteredition Yes 5 minutes should be enough.
@Shevchikden:
When will the plugin be able to compress worlds?
Also, im having an odd problem with backups. Only 1 backup is being made and its being overwritten everytime a new backup is made. Here's my backup settings:
backup: enabled: true interval: 86400 MaxNumberOfBackups: 7 broadcast: false toextfolders: true disableintfolder: true pluginsfolder: false
@Shevchikden
Is this 5 minute autosave for cases where server fails and rollsback? What was the primary objective?
@Redletteredition The save time depends on popularity of the server, losing even 1 minute progress on popular server is bad, but this autosave limit will try to save map big map multiple times, what is not good, so 5 minutes should be enough. Autosave backup works well, but some servers freezes on backup, also currently it's more good to use 3.7 version for backup, because 3.8 has some unfinished code for new backup and it's sometimes working too slow.
Our server has autosaveworld version 3.2 There has been some discussion about how often it needs to save some say 3 minutes, others 5 and still others 10. What is the best?
Also we thought we might use the backup since my owners have never had any auto backups. I intend to change that. I would like a full backup every early morning when server is least full. Does this backup work well? Like lets say we come on the server and we have a forced op situation and our spawn is wiped and we need to use the backup to bring it back? Will Autosave be good enough for this. Also is the timeframe in seconds?
@ProfLiebstrumpf Use 3.7 version of autosaveworld. I am currently working to fix this, there was a java6 compatibility code in plugin, but for some reason it doesn't working.
shit java 7.. i can't play on MC Server with java 7 -.-
@ProfLiebstrumpf Java 7 not installed.
On Serverstart:
[SEVERE] Error occurred while enabling AutoSaveWorld v3.8 (Is it up to date?)
java.lang.NoClassDefFoundError: java/nio/file/Files
at autosave.AutoSave.onEnable(AutoSave.java:143)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:266)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:248)
at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:297)
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:276)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:226)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:377)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
Caused by: java.lang.ClassNotFoundException: java.nio.file.Files
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 12 more
And the save interval isn't working. (no broadcast, no message no saved world)
Only all players left the server or i use /save saved the world
@siemaeniu500 Set var.worlds to -world backup.pluginsfolder to false and load config to plugin.
How I can only backup world (not nether,end and plugins)
@Shevchikden
But I get no errors without your plugin :/
@SurceBeats In case of server crash(happens sometimes on high loaded servers(I hate OOM error)) Also backup is in case of HDD crash.
@TheCreeperLuke AutoSave saves from memory to disk AutoBackup backups to folder plugins/AutoSaveWorld/backups/ (do not forget to enable backup in config).
Where does all the AutoSaved worlds go? Wheres the folder
I never understand the purpose of this plugin, when I restart my own server all the worlds is saved... Why have this plugin? :S
@effoe This error happens when java7 is installed, but server is using java6.
@Shevchikden Its "An internal error occured while performing this command".
The Plugin "SimpleBackup" works like a charme & zips everything btw
@effoe What internal error(stacktrace pls).
Awesome plugin dude if it would work :/
But I always get an "internal error" and I dont know why... It got all the chmod permissions (700) so it has to do with PermissionsEx/Minecraft-Bukkit.
Furthermore the config.yml always resets, why? Thanks for help :)