[INACTIVE][ADMN] BackupPlugin v0.8.5 (Backups & Maps)

Discussion in 'Inactive/Unsupported Plugins' started by MysticX, Jan 17, 2011.

  1. Offline

    MysticX

    I finally managed to port my BackupPlugin to Bukkit.
    You can find the original thread at Hey0's forum

    There are some changes and issues with porting to Bukkit:
    Console commands won't work at all, also the plugin does not force a world save nor disables saving for the progress of backuping! This will be fixed when it's possible to access console commands with Bukkit.
    Also there are some new config options. As there is currently no user rights management, you need to specify all authorized users in the config. Also you now need to set your world name in there.

    All other parts of the plugin haven't changed (especially automatic backups and ingame commands are working), so expect the same bugs/issues! Feel free to modify my work if you want and can, because I can't actively develop for some weeks, so don't expect big updates from me. But I know there are other talented plugin developers out there :)


    BackupPlugin v0.8.5

    This plugin allows you to create world backups or to generate world maps automatically or via ingame command.

    Commands
    • /backup <force> (optional) - backups your world data
    • /map <force> (optional) - generates map(s) of your world
    • /breload - reloads BackupPlugin configuration file
    • /loglevel <level> - sets log level
    Valid arguments for force are true & false. Using a command with true will result in a forced cache rebuilt, useful if you want to avoid the cache-lifetime for any reason.
    Valid arguments for log level are FINEST, FINE, INFO, WARNING or SEVERE (case sensitive!), default is INFO. FINE & FINEST will generate debug output.
    Valid arguments for time unit are SECONDS, MINUTES, HOURS, DAYS (case sensitive!), default is MINUTES.


    Properties

    This plugin will generate a properties file in your server home (BackupPlugin.properties)
    Here are two examples:

    Standard properties file (for mcmap): here
    My properties file (for c10t): here


    Version History
    • v0.8.5
    • v0.8.4
      • fixed issues with user rights
    • v0.8.3
      • ported to Bukkit
      • added config option for world name
      • added config option authorized-users, separate names with semicolon
      • changed first-run pattern to HHmm (removed the colon!)
      • auto-save while doing backups won't work for now
      • console commands also won't work
    • full version history
    Future Updates
    Known Issues / Bugs
    • spaces in folder structure will lead to fail of mapping!
    • windows paths only work if double backslash is used (for example C:\\temp\\world-maps\\ )
    • 0 byte zips sometimes
    • fail of backup because of tmp_chunk.dat (will be fixed in a future bukkit version)
    If you find something that's not working, please set loglevel to FINEST and paste your server logs along with the BackupPlugin.properties here in this thread, or send it to me via pm. Also it would help to know your OS and java version. I'll probably look into it then!


    License

    [​IMG]
    BackupPlugin by MysticX is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

    Source codes are included in the jar file.


    Download

    As usual: This plugin is still beta and could behave unexpected or corrupt your world backups. So please do a manual backup of your world before using it!

    Plugin
    Recommended mapping tools
     
  2. Offline

    crazydog

    This needs an update for the latest craftbukkit (I'm running 478)
    Code:
    14:20:38 [SEVERE] Could not load plugins\BackupPlugin (1).jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
            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)
    Caused by: java.lang.NoSuchMethodException: com.mysticx.bukkit.backupplugin.BackupPlugin.<init>()
            at java.lang.Class.getConstructor0(Unknown Source)
            at java.lang.Class.getConstructor(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
            ... 8 more
     
  3. Offline

    CullenShane

    Sorry, not really. Try turning on debug in BackupPlugin to see if that'll tell you what's going wrong? I'm kinda out of ideas without sitting down and doing it myself.
     
  4. Offline

    Xin_TiGeR

    so the new version postes on page 5 or 6 is compatible with the minecraft update 1.3?

    even with the new world save format?
     
  5. Offline

    Oscarius

    Nope, turning on debug didn't really do anything.
     
  6. Offline

    CullenShane

    Yes, it just zips up whatever is in your world folder. It doesn't care what's in it.
     
  7. Offline

    Madmusk

    I just want to second that this plugin or something like it needs the support of plugin developers. There's nothing else remotely like it available for CraftBukkit. Also, multi-world support! :) Oh, and working on 493 for me.
     
  8. Offline

    D-Kalck

    change the backup-history value
     
  9. Offline

    Maddin

    Im a bit confused:
    i want that the plugin saves the world every 30 mins in a forlder i choose.
    and whats the diffenece between
    automap
    and
    autobackup
     
  10. Offline

    Ziqh

    @Maddin
    If you want to back up every 30 mins, change the autobackup value to 30.
    The automap value is how often a new server map image will be generated using mcmap, assuming you have it.
     
  11. Offline

    Maddin

    ah, and where do i set where to save the backup
     
  12. Offline

    Ziqh

    @Maddin
    It's the backup-path variable.
    So, if you wanted it backed up to a folder on the C: drive, it would be:
    backup-path=C:\MC_Backups
     
  13. Offline

    _Oni_

    Arrrrrrrrrrrrrrrrrrrrrrrrrgh :D
    I found why /map doesn't work, I forgot a "!" in code when I'm cleaning this :p
    --- merged: Mar 5, 2011 2:17 AM ---
    New version 0.8.6.1 : https://github.com/downloads/OniTux/BackupPlugin/BackupPlugin.jar (ok it's say 0.8.6, I'm too lazy to change this now :p if /map work that it's version 0.8.6.1 :D)
    Changelog :
    • Fix /map command (my bad ;))
    • Remove debug properties (use loglevel FINEST instead)
    • Some debug improve
    Yes, I will create a new topic tomorrow, I promise ;)
     
  14. Offline

    Oscarius

    Thanks a lot _Oni_, you are awesome.
     
  15. Offline

    NickBrahz

    Starting to run into this error, just downloaded the latest recommended build in the documentation section.


    Code:
    2011-03-05 08:56:48 [SEVERE] Could not load plugins/BackupPlugin.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
        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)
    Caused by: java.lang.NoSuchMethodException: com.mysticx.bukkit.backupplugin.BackupPlugin.<init>()
        at java.lang.Class.getConstructor0(Class.java:2723)
        at java.lang.Class.getConstructor(Class.java:1674)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
        ... 8 more
     
  16. Offline

    _Oni_

    BackupPlugin 0.8.5 isn't compatible recent build, see my version

    I just open a thread about my version : http://forums.bukkit.org/threads/7275/
     
  17. Offline

    Matt L

    I cannot get the plugin to load. it wont start with the server, and using the command /plugin load BackupPlugin says it cannot load this plugin, did i type it right? The plugin is located in my plugin folder.
     

Share This Page