Inactive [ADMN] ServerSave v1.4 - Dead Simple Map Saves [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Krotn, Jul 5, 2011.

  1. Offline

    Krotn

    ServerSave v1.4
    The drop dead simple map save plugin​
    Description:
    ServerSave saves all worlds at a defined time interval. It's drop dead simple and can be installed as easily as drag and drop! It also supports save warnings.​
    Notice: ServerSave does not perform backups.​
    The following wiki pages might be useful:​
    Setup:​

    Version info:
    v1.4:
    Added ability to disable in-game broadcasts​
    Improved ServerSave's data directory management​
    v1.3:
    Reduced world-save related lag​
    v1.2:
    Added save warnings​
    v1.1:
    The save task is now scheduled as a synchronous task​
    v1.0:
    Initial plugin release​
     
  2. You could let it save when a world is unloaded. (org.bukkit.event.world.WorldUnloadEvent)
    Nice and simple plugin, using it ;)
     
  3. Offline

    Krotn

    I'll have a look at that event and see if I can work it in. Updates and replies might be slow as I'm away from home at the moment.
     
  4. Offline

    MarchingSpartan

    Please add the option to manually save the world.

    /serversave - manually saves all worlds and player data.
     
  5. Offline

    yumyum414

    hey um where does it save to? I would love to know cuzz my server kinda crashed when my pc crashed.
    thank you for the pluggin =]
     
  6. Offline

    XterierK

    This please
     
  7. Offline

    Krotn

    I could add this but it should be equivalent to doing a /save-all. Would it still be useful?

    It saves to the same location as CraftBukkit does by default. This plugin basically runs /save-all every once in awhile.

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

    yumyum414

    would that be where the craftbukkit jar is?
    p.s. you should add some way to change where it saves to so i can put it in the folder full of the backups i did with copy and paste before i found this
     
  9. Offline

    ACStache

    @yumyum414 this plugin doesn't actually back up the world files, it merely saves them as if you had done /save-all from in game (save-all from console)
     
  10. Offline

    Krotn

    Yes. The folders for me are world, world-nether. @ACStache is right this doesn't actually back up the world files. I made this just to run /save-all frequently so I could be sure the world was saving. I don't like backup plugins because backing up the server while it's running doesn't seem to safe to me (I may be wrong but I had a bad time with SimpleSave crashing my server). In my opinion the best backup is /save-all, /stop and copy & paste.

    If you really want backup plugins you could try:
     
  11. Offline

    25CentStudios

    Whenever the server tries to save, i see in the console:
    Code:
    11:57:19 [INFO] ServerSave: Starting Save!
    11:57:20 [WARNING] ServerSave: Problem performing world save!
    11:57:20 [SEVERE] java.lang.IllegalArgumentException: No enum const class org.bukkit.ChatColor.TEAL
    11:57:20 [SEVERE]     at java.lang.Enum.valueOf(Enum.java:196)
    11:57:20 [SEVERE]     at org.bukkit.ChatColor.valueOf(ChatColor.java:9)
    11:57:20 [SEVERE]     at me.krotn.ServerSave.ServerSaveTask.run(ServerSaveTask.java:47)
    11:57:20 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    11:57:20 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
    11:57:20 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    11:57:20 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Any Ideas?
     
  12. Offline

    ACStache

    there is no ChatColor.TEAL
     
  13. Offline

    Krotn

    Yeah, sorry the plugin doesn't really validate color values so if it isn't one that Bukkit recognizes, there will be an exception at save time.
    You can find a list of valid colors here.
     
  14. Offline

    25CentStudios

    Ok, that's idiotic, I guess the mine craft wiki doesn't always tells the truth, thank you!
     
  15. Offline

    SpencerB

    I have it set to save every 30 minutes (1800 seconds). It hasn't saved at all yet, and there have been no errors and it says the plugin is enabled when the server is launched.
     
  16. Offline

    Krotn

    Do you have warnings enabled? If so, have there been any save warnings?
    Could you maybe post your config and any messages from the plugin?
    Does anyone else have a similar problem?
     
  17. Offline

    seedorfj

    I don't know anything yet but I hope this doesn't crash my server like simplesave does
     
  18. Offline

    YaNke3S_19

    Where the plugin save the backuped map? I DONT FIND IT!
     
  19. Offline

    Krotn

    I'm afraid that this plugin doesn't do any backups. It just runs /save-all on a timer. I'm sorry for the confusion. I think I posted a list of backup plugins a few posts up.
     
  20. Offline

    SpencerB

    This turned out to work very well, just as I wanted. However, after the plugin has been running, the ticks I guess get mixed up. Because it starts to save only once every 3 hours and after the "30 seconds till map save!" it takes about 3 minutes for it to start the save. Is this my fault or the plugins?
     
  21. Offline

    Krotn

    It might be the plugin's fault. I'll look into it when I get home in a few weeks (I'll try to do that before then, but I don't know if it will work). If it gets really bad you can try turning the warnings off.
     
  22. Offline

    Yoshinat0r

    This plugin made some very weird glitches happen on my server. One time it created an invisible block around where I was, and I know it was an invisible block because when I walked into that area, I got pushed away, and once I reloaded the server, a block magically appeared in that area. I believe this happened as a result of me breaking blocks while the server was saving. Another glitch that happened was every item that dropped on the ground would be caught in an endless loop of falling, then coming back up, falling, etc. I tested this by trying to drop some items out of my inventory and they stayed in the loop of falling onto the ground, appearing back where I was, falling onto the ground, and so on... Forgive me if it's hard to understand exactly what I mean, it's hard to explain these kinds of glitches. But once I switched to another saving plugin, I never saw these problems again.
     
  23. Offline

    Ratchet

    Code:
    2011-08-17 22:51:48 [INFO] ServerSave: Starting Save!
    2011-08-17 22:51:52 [INFO] ServerSave: Save complete!
    2011-08-17 22:52:02 [SEVERE] java.io.IOException: Bad packet id 71
    2011-08-17 22:52:02 [SEVERE]     at net.minecraft.server.Packet.a(Packet.java:73)
    2011-08-17 22:52:02 [SEVERE]     at net.minecraft.server.NetworkManager.g(NetworkManager.java:149)
    2011-08-17 22:52:02 [SEVERE]     at net.minecraft.server.NetworkManager.c(NetworkManager.java:259)
    2011-08-17 22:52:02 [SEVERE]     at net.minecraft.server.NetworkReaderThread.run(SourceFile:84)
    @Krotn
     
  24. Offline

    Krotn

    Most of these areas are probably due to the save task being synchronous. I am sorry about them bet there really is very little I can do. Most save plugins do the save a synchronously which causes some exceptions. I chose lag over actual errors. I'll see if I can fix this when I get home (in about 5 days).

    This exception is probably due to save lag. I'm sorry about the lag when saving but it's to prevent save errors from occuring. I'll see if I can make the lag better.

    I noticed that there is a new CraftBukkit reccomended build out. I am still out of town but I'll get a new update out soon after I get back (in a few days). The current version should still work though. Let me know if it doesn't.

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

    Trust518

    TY!!!! All the others make crap backup's and shitty commands this is just set up and done!

    Finaly i can get rid of crappy rollbacks if my server crashes (i forget to save all the time and it gets annoying....)
    Again! TY!!!! :D
     
  26. Offline

    number1_Master

  27. Offline

    Krotn

    The plugin should already work with 1060. I'll make a special build and test it when I get home in about 5 days. Let me know if you run into any problems with it on 1060.

    I did some work on the plugin this evening and I have a new version. Unfortunately it will be a few days until I can get an internet connection on my laptop to post it. When I get internet I'll test it some more and post it along with a 1060 build (if all goes well). Thank you for your patience.

    In the new version I have spread out the world save over several ticks to reduce save related lag. Basically, the save will take a longer time overall but will take less time in each tick reducing lag. This should fix @Yoshinat0r and @Ratchet problems (which I think are caused by the lag).

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

    number1_Master

    so far no errors
    was there supposed to b a command server save!? cause then that doesnt work
     
  29. Offline

    Krotn

    No I'm sorry the plugin doesn't have any commands. Although /save-all should do the same thing as the plugin if you need to force a save.
     
  30. Offline

    number1_Master

    oh ok just checking then the plugin is could for me on cb1060!
     
  31. Offline

    Krotn

    I just posted the new 1.3 version on the plugin. It should remove most of the save lag and fix the time loss when warnings are enabled. Let me know if you run into any problems with it!
     

Share This Page