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 mat41997 mat41997 Apr 15, 2016 at 13:28 UTC - 0 likes
    Last edited Apr 15, 2016 by mat41997

    My Minecraft Server, MEE.NOIP.ME

  • Avatar of XMenyusX XMenyusX Mar 21, 2016 at 16:59 UTC - 0 likes

    @vastrix: Go

    You are wrong. This doesn't work backwards, you need exactly a 1.6.4 version. Imagine it with mods (I'm using MCPC+ so ikr). You can't use a 1.8 mod for 1.6.4, because maybe things have changed, and it was designed to be used in 1.8. Just an example ;)

  • Avatar of XMenyusX XMenyusX Mar 21, 2016 at 16:56 UTC - 0 likes

    @alvaroctal: Go

    You got an error because this version is only available on Minecraft/Bukkit 1.7.2

  • Avatar of alvaroctal alvaroctal Mar 08, 2016 at 10:20 UTC - 1 like

    On Spigot 1.9

    [11:16:02 WARN]: [Simple-AutoSave] Task #16 for Simple-AutoSave v0.2.2 generated an exception
    java.lang.NoSuchMethodError: org.bukkit.Bukkit.getOnlinePlayers()[Lorg/bukkit/entity/Player;
            at me.odium.autosave.autosave.AutoSaveMap(autosave.java:103) ~[?:?]
            at me.odium.autosave.autosave$1.run(autosave.java:218) ~[?:?]
            at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.9.jar:git-Spigot-3104eb1-bf43ca6]
            at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.9.jar:git-Spigot-3104eb1-bf43ca6]
            at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:729) [spigot-1.9.jar:git-Spigot-3104eb1-bf43ca6]
            at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.9.jar:git-Spigot-3104eb1-bf43ca6]
            at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-1.9.jar:git-Spigot-3104eb1-bf43ca6]
            at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.jar:git-Spigot-3104eb1-bf43ca6]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]
    
  • Avatar of rocky123xo rocky123xo Aug 25, 2014 at 20:17 UTC - 0 likes

    @Aggelos500: Go

    I also get A manual (plugin-induced) save has been detected while server is configured to auto-save. This may affect performance.

  • 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

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
153,315
Recent files

Authors