Simple-AutoSave

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.

 

Upgrading to 0.2

Interval has been updated from Seconds to Minutes, be sure to update your config.yml accordingly!

 

Installation:
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.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)


             

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Aggelos500 Aggelos500 Aug 20, 2014 at 01:20 UTC - 0 likes

    4:16:12 πμ [warning] A manual (plugin-induced) save has been detected while server is configured to auto-save. This may affect performance.

    plz help me for errro !

  • Avatar of XSilverSlayerX XSilverSlayerX Jun 19, 2014 at 19:45 UTC - 0 likes

    @futhead_ShaqFinity: Go 1.3.2 will work just fine.

  • Avatar of RookBot123 RookBot123 May 28, 2014 at 17:58 UTC - 0 likes

    @JPCVx: Go

    It replaces the original world file. So it don't create a new one that takes up A LOT of place after a while.

  • Avatar of futhead_ShaqFinity futhead_ShaqFinity Apr 26, 2014 at 19:54 UTC - 0 likes

    Is there a Version for 1.6.4? I really need one

  • Avatar of vastrix vastrix Apr 15, 2014 at 17:30 UTC - 0 likes

    euhm, Version 0.2.2 Didn't create a cfg file for us :s (running 1.6.4, but it should be backwards compatible, right?)

    Also this: 13:23:42 [SEVERE] Error occurred while enabling Simple-AutoSave v0.2.2 (Is it up to date?) java.lang.NullPointerException at me.odium.autosave.autosave.onEnable(autosave.java:22) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:467) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugin(CraftServer.java:278) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.enablePlugins(CraftServer.java:260) at net.minecraft.server.MinecraftServer.func_71243_i(MinecraftServer.java:521) at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:428) at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:224) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:630) at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)

    Last edited Apr 15, 2014 by vastrix

    BFAK:90698490,822affdf8914b2199994daf466f7376354040b3c700e84080549093ba5b74a91

  • Avatar of semirotta semirotta Mar 26, 2014 at 13:27 UTC - 0 likes

    @JPCVx: Go

    I suppose this just makes the /save command in game automatically. Or is it /save-all or what but anyway, it just makes that so the save data goes into the server data where it would go normally when shutting down the server or saving.

  • Avatar of semirotta semirotta Mar 22, 2014 at 11:49 UTC - 0 likes

    @HenAld: Go

    learn to use pastebin www.pastebin.com

  • Avatar of JPCVx JPCVx Mar 20, 2014 at 23:51 UTC - 0 likes

    Hi,

    Your plugin is great, but I cannot seem to find where it actually saves the world and the playerdata to. Either I'm too clumsy, or I'm doing something wrong? Help would be appreciated. Thanks!

  • Avatar of semirotta semirotta Mar 18, 2014 at 08:42 UTC - 0 likes

    I don't know if this is because of this plugin but I got this in the console for some reason after world-save / player data save: [10:37:10] [Server thread/WARN]: A manual (plugin-induced) save has been detected while server is configured to auto-save. This may affect performance.

  • Avatar of Odiumxxx Odiumxxx Feb 13, 2014 at 05:30 UTC - 0 likes

    @RainDolphinBow: Go

    Please read the plugin description.

    @SilverKytten: Go

    I may look into this for future updates.

    @nicktehbrick: Go

    You are confused. Please read the plugin description/config file.

    @ProSniper234: Go

    Toggle option for Console logging added in latest version.

    @TheOnlyRealTGS: Go

    Please read the plugin description/config file.

Facts

Date created
Sep 15, 2012
Category
Last update
Feb 13, 2014
Development stage
Release
Language
  • enUS
License
GNU Lesser General Public License version 3 (LGPLv3)
Curse link
Simple-AutoSave
Downloads
121,665
Recent files

Authors