Inactive [ADMN] ServerSaver v0.3a - Automatic World Saving And Backing Up [1.1-R6]

Discussion in 'Inactive/Unsupported Plugins' started by jca2323, Nov 2, 2011.

  1. Offline

    jca2323

    ServerSaver - Automatic World Saving And Backing Up:
    Version: v0.3a
    Bukkit Dev: http://dev.bukkit.org/server-mods/serversaver/
    How to use ServerSaver:
    1. Download the .jar file from the description.
    2. Put it in your plugins folder. Usually %serverdir%/plugins
    3. Start up your server and BAM! ServerSaver will be automaticly saving and backing up your world(s).

    Features:
    • Automaticly Saves The World and Backs It up!
    • Time-Based Saving - Allows you to set a time period to backup in the config.yml File!
    • Backup Command - Allows you to force a backup to happen! /ssbackup
    • Backup Folder - /Backups - Can be changed.
    Download: http://dl.dropbox.com/u/47438843/ServerSaver.jar
    Commands:
    Show Spoiler

    • /ssbackup [WORLDNAME:ALL] -Backs up the said world or all worlds, If no arguments are put, it backs up the world that the player issued it from.


    Changelog:
    Version 0.1
    • Release
     
  2. Offline

    Gravity

    Error:
    Code:
    2011-11-02 22:01:41 [SEVERE] Could not load 'plugins\ServerSaver.jar' in folder 'plugins':
    mapping values are not allowed here
     in "<reader>", line 6, column 15:
           description: ServerSaver's World Backup Command
                      ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:733)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:305)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:411)
        at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:36)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:71)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:136)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:112)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  3. Offline

    jca2323

    Fixed
     
  4. Offline

    Gravity

    Now when I do /ssbackup it returns this in console:
    Code:
    2011-11-02 22:19:25 [SEVERE] java.lang.NullPointerException
    2011-11-02 22:19:25 [SEVERE]     at com.jca2323.ServerSaver.Backup.BackupWorld(Backup.java:51)
    2011-11-02 22:19:25 [SEVERE]     at com.jca2323.ServerSaver.Cmdssbackup.onCommand(Cmdssbackup.java:18)
    2011-11-02 22:19:25 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    2011-11-02 22:19:25 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    2011-11-02 22:19:25 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
    2011-11-02 22:19:25 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
    2011-11-02 22:19:25 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    2011-11-02 22:19:25 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    2011-11-02 22:19:25 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    2011-11-02 22:19:25 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-11-02 22:19:25 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    2011-11-02 22:19:25 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    2011-11-02 22:19:25 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    2011-11-02 22:19:25 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    2011-11-02 22:19:25 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Have you tested this? :3
    if you give me line 51 of backup.java I may be able to debug that for you.
     
  5. Offline

    Archelaus

    Moved to releases
     
  6. Offline

    FerrOHShay

    Seems Nice Gonna Test it Out Now :3

    BEEP BEEP ERROR! using CB 1337 error happen when i do /ssbackup all
    Code:
    [SEVERE] java.lang.NullPointerException
    2011-11-10 23:56:38 [SEVERE]    at com.jca2323.ServerSaver.Backup.BackupWorld(Backup.java:51)
    2011-11-10 23:56:38 [SEVERE]    at com.jca2323.ServerSaver.Cmdssbackup.onCommand(Cmdssbackup.java:18)
    2011-11-10 23:56:38 [SEVERE]    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    2011-11-10 23:56:38 [SEVERE]    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    2011-11-10 23:56:38 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
    2011-11-10 23:56:38 [SEVERE]    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
    2011-11-10 23:56:38 [SEVERE]    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    2011-11-10 23:56:38 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    2011-11-10 23:56:38 [SEVERE]    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    2011-11-10 23:56:38 [SEVERE]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-11-10 23:56:38 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    2011-11-10 23:56:38 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    2011-11-10 23:56:38 [SEVERE]    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    2011-11-10 23:56:38 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    2011-11-10 23:56:38 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    *edit* Shouldn't the tag be [ADMN] Instead of [ADMIN]?

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

    agubelu

    config.yml is empty :/
     
  8. Offline

    TheKing027

    Config's empty. What do I put there?
     
  9. Offline

    Taketheword

    Can you change the backup location? I want it to backup too a different harddrive..
     
  10. Offline

    Turitafo

    Thank you was wating for this realy long :D

    i am testing it now
     
  11. Offline

    noob4action

    what to write in the config
     
  12. Offline

    plami56

    WHAM! It Works :D
     
  13. Offline

    aaycapp

    my config.yml file is emty. Also when i do /ssbackup world all nothing happens
     
  14. Offline

    Matterz

    This plugin doesn't work at all. It creates a completely blank config.yml and gives a NPE everytime you try and save.
     
  15. Offline

    seane96

    Hey I was trying to use your plugin serversave

    and i got this when i typed /ssbackup

    Code:
    06:31:24 [SEVERE] java.lang.NullPointerException
    06:31:24 [SEVERE]      at com.jca2323.ServerSaver.Backup.BackupWorld(Backup.java:51)
    06:31:24 [SEVERE]      at com.jca2323.ServerSaver.Cmdssbackup.onCommand(Cmdssbackup.java:31)
    06:31:24 [SEVERE]      at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    06:31:24 [SEVERE]      at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    06:31:24 [SEVERE]      at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:461)
    06:31:24 [SEVERE]      at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:457)
    06:31:24 [SEVERE]      at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:599)
    06:31:24 [SEVERE]      at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:568)
    06:31:24 [SEVERE]      at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    06:31:24 [SEVERE]      at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    06:31:24 [INFO] /ssbackup [WORLDNAME:ALL]
    
    could you fix it

    [​IMG]
     
  16. Offline

    jca2323

    Last edited by a moderator: May 21, 2016
  17. Offline

    iSeven77

    thanks ! just messed up the server :p now i gotta find out wth happened :p my fault i shouldve test it first XD

    im posting this so that ppls that wanna try this TEST FIRST on a non important server :) and/or back up everything first :)


    what happens is that it corrupts /.jar files like CB.jar and all the config files it clears them up XD nice joke if u ask me ! lol :p
     
  18. Offline

    seane96

  19. Offline

    jca2323

    I swear it worked this time. Let me try again.
     
  20. Offline

    seane96

    hey i went to download it but all it had was Ticket could you please give me a download link thanks for all your hard work

    Sean.

    [​IMG]
     
  21. Offline

    jca2323

    The api's code doesn't work right, I'm going to try and make a v0.3 tonight

    Fixed

    Version 0.3
    • Fixed the entire plugin. Tested and confirmed working by me and some testers.
    Finished one minute before midnight. :D

    EDIT: iSeven77 Turns out the problem was a bukkit api problem. Not my code, So I made my own code for detecting world directories. Tested by me and two other testers, works fine.

    Version 0.3a
    • Removed some debugging information left in the console, just redownload
    Updating plugins at 12:15 am is fun.

    EDIT: I'm going to sleep now. No more updates until well after school. :3

    EDIT 2: Works with 1.2.3-0.2

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

    DJDUDE

    wha
    t are you talking about the german missle???
     
  23. Offline

    jca2323

    V2 = Version 0.2
     
  24. Offline

    Blankrobot1

    Help I have set up a server using the alternative option in the setting up a server for my mac and its all connected and everything and all, but everytime when i try to get in, it just says logging in for a few minutes and then says it took too long to enter and kicks me. It started this after the new update of 1.2.2 and I made a new one with the new build as I thought it was the only way and then this crap happened. Ive made new servers tons of times to make sure and double checked the directions. Does anyone know why this is happening? I don't care if you don't know how to fix it, just plz tell me what is this crap.
     
  25. Offline

    seane96

    first is there any errors coming on the console like a plugin isn't enabling also check if it says "Can't KeepUp! Did the system time change, or is the server overloaded?" thats a sign that somthing is slowing down the server maby check that all your plugins are all up to date and also there should be a server.log delete it and start the server up it should create a new one open it with notepad or notepad ++ or what ever you use. and copy and past all of the text to me as a reply than we can see what is doing it

    Thanks

    Sean.

    [​IMG]
     
  26. Offline

    Chaznuts

    Looks like a great plugin! I needed something like this!

    Quick question though; does it have a setting to how many backups it saves? I wouldn't want to have it take up too much space while still not having to manually delete... especially if I backup dozens of times a day! Or does it simply overwrite, in which case I would like it to save multiple backups before it starts to overwrite. Automatic organized files would be nice too, such as folders named after dates where the backups go into.

    I apologize if these things are already incorporated into the plugin, as I haven't had a chance to test it out yet. Thanks for your effort and contribution! Keep up the great work!
     
  27. saves setted to 10 mins but just savin all 30... -.- maybe you should create a working config ;)
     

Share This Page