[INACTIVE][ADMN] SimpleSave v3.25 Simple automatic saving! [000] - Backups!

Discussion in 'Inactive/Unsupported Plugins' started by desmin88, Mar 11, 2011.

  1. Offline

    desmin88

  2. Offline

    TatteredKing

    Maybe I'm missing the obvious, but where is it saving the files to? It looks like it's working, but am not seeing the outputs anywhere (that I'm looking). What should I be looking for?
     
  3. Offline

    desmin88

    Yes, your completely missing the obvious :). You know the save-all command in the console? This performs it for you, at a set interval.
     
  4. Offline

    darkcammo

    I think what he/I would be looking for is an option to create a backup of the map at set intervals, to a completely different directory
     
  5. Offline

    TatteredKing

    Exactly. That would be useful (and is probably something I can find an existing saves manager plugin to wrangle, if I need to go that direction).

    desmin88:
    Thanks for verifying that. I was suspecting that was what it was actually doing, but was really not sure. It certainly looks like its working. [​IMG]
     
  6. Offline

    desmin88

    @TatteredKing

    I would direct you to a plugin called 'BackupPlugin', which will provide a system for world backups to a different folder.
    Eventually I'll incorporate this into my plugin though.

    Version 2.0.0
    • Thread safe using bukkitscheduler! General code cleanup and some console improvements.
    In accordance with non-thread safe previous versions, SimpleSave has had a major renovation including small bugfixes, code cleanup and more optimization over previous versions. It has also been updated to use BukkitScheduler, so its 100% thread safe.

    This'll be probably the last major update unless new changes are requested, as this plugin does what I originally intended for it to do, and thats to simply save your servers data. I appreciate all bug reports, suggestions and constructive criticism.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  7. Offline

    Latros

    Is the message that is broadcast before / after saves customizable?
     
  8. Offline

    desmin88

    Not yet [​IMG]
     
  9. Offline

    topcat5665

    I just get errors in the command whenever I try to use it
     
  10. Offline

    desmin88

    Ok, give me some more information. What errors, copy and paste them. Latest CB version, other plugins. Just saying you have errors is not helpful to me what so ever.
     
  11. Offline

    Fob_Upset

    Good Job in becoming a plugin developer.
     
  12. Offline

    desmin88

    Thank you , Fob_Upset.
     
  13. Offline

    speed415

    Nice this could replace backup plugin cause that one is to much other gibberish
     
  14. Offline

    desmin88

    @speed415 Thanks. This is intended to be a simple plugin, no muss no fuss. Drag n Drop, Plug n Play, you get the point.

    Anybody who has download 2.0.0, please redownload to 2.0.1, it fixes some possible NullPointerExceptions.
     
  15. Offline

    speed415

    17:20:07 [SEVERE] java.io.FileNotFoundException: plugins\SimpleSave\config.prope
    rties (The system cannot find the path specified)
    17:20:07 [SEVERE] at java.io.FileInputStream.open(Native Method)
    17:20:07 [SEVERE] at java.io.FileInputStream.<init>(Unknown Source)
    17:20:07 [SEVERE] at java.io.FileInputStream.<init>(Unknown Source)
    17:20:07 [SEVERE] at java.io.FileReader.<init>(Unknown Source)
    17:20:07 [SEVERE] at org.desmin88.simplesave.SimpleSave.readFile(SimpleSav
    e.java:112)
    17:20:07 [SEVERE] at org.desmin88.simplesave.SimpleSave.Schedule(SimpleSav
    e.java:127)
    17:20:07 [SEVERE] at org.desmin88.simplesave.SimpleSave.onEnable(SimpleSav
    e.java:33)
    17:20:07 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:118)
    17:20:07 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:451)
    17:20:07 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:217)
    17:20:07 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:83)
    17:20:07 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:61)
    17:20:07 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:204)
    17:20:07 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:191)
    17:20:07 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServe
    r.java:131)
    17:20:07 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:246)
    17:20:07 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:366)
    17:20:07 [SEVERE] null loading SimpleSave v2.0 (Is it up to date?)
    java.lang.NullPointerException
    at org.desmin88.simplesave.SimpleSave.Schedule(SimpleSave.java:132)
    at org.desmin88.simplesave.SimpleSave.onEnable(SimpleSave.java:33)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:451)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:217)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)

    >

    wait did you just update
    oh you did il test now

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  16. Offline

    desmin88

    Yes speed415, please update to 2.0.1, it fixes the exact problem you have. :)

    Also please edit your post to put your console paste into a [CODE ] [/CODE ]
    block, it improves readability.
     
  17. Offline

    speed415

    so where do the world saves go?
     
  18. Offline

    desmin88

    I don't think your understanding. In the console, there is a command /save-all to save your world data. This plugin automatically does that for you so you don't have too.
     
  19. Offline

    speed415

    Yeah im not understanding what this does lol.. nothing seems to be happening
     
  20. Offline

    desmin88

    This is not a hard concept to grasp. This plugin automatically saves your world data by sending a /save-all command at your defined interval.
     
  21. Offline

    speed415

    But where do the saves go or do you mean it saves every interval instead of when i hit the stop command?
     
  22. Offline

    desmin88

    I've run out of patience. The /save-all command saves your world data to your world folder, where your entire world is.
     
  23. Offline

    speed415

    Well the brightside is i bumped your thread in the process and cleared any future questions regarding what this does.
     
  24. Offline

    desmin88

    Well, thank you for that.
     
  25. Offline

    sumTard

    Are the server save-all messages supposed to be showing for admins as well? Because at the moment I only see the two messages sent by the plugin, but nothing else. Other plugins used to show the message sent to players, as well as the console messages in dark grey.
     
  26. Offline

    desmin88

    The simplesave plugin will show twice in the console, and twice in game.
    The admins wont see the saveing data in dark gray because it doesn't actually send the save-all command but it saves the data through a command in bukkit.
     
  27. Offline

    sumTard

    Ok so it is in fact saving, awesome.

    Any chance you could fix the messages displayed to have a space between the plugin name and the saving message? Sorry its just that my ocd kicks in hard every time i see it haha. thanks!
     
  28. Offline

    desmin88

    Yeah I'll add it in after I get out of school
    So anybody have some feedback on my plugin?
     
  29. Offline

    patt1293

    Well now that I actually read what the plugin does I feel stupid :D

    I thought this was for saving worlds like backups but nope :(
     
  30. Offline

    desmin88

    Patt1293, it doesn't do backups. What this plugin does it send a /save-all command to the console, so you don't have too and not risk your server crashing and world being rolled back.

    Changelog:
    Version 2.0.2
    • Customizable broadcast messages! Code cleanup as well.
    With the new version, a new file format was made. SimpleSave will now tell you if your config.properties file is of the old version or malformed.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  31. Offline

    TatteredKing

    Thanks, I might look at that if I need it. I really like the simple background "it just works" of this though, and may just wait to see how it evolves as you mess with it. Much appreciated. [​IMG]
     

Share This Page