[UNSUPPORTED] [ADMN] BukkitToDate v1.8.5 BETA - Keeps your server up-to-date! [168+]

Discussion in 'Inactive/Unsupported Plugins' started by WMisiedjan, Jan 29, 2011.

  1. Offline

    WMisiedjan

    BukkitToDate
    Keeps your server Up-To-Date!

    I DO NOT SUPPORT ALL THE VERSIONS ANYMORE.
    CURRENTLY WORKING ON A NEW VERSION THAT WILL FIX Mutli-OS 100% and most of the other bugs!

    Dev thread: http://forums.bukkit.org/threads/ad...ur-server-up-to-date-development-status.3843/
    What is BukkitToDate?
    BukkitToDate automatically checks for new builds from Bamboo, and applies them to craftbukkit.jar. I created this because bukkitUp! didn't have enough features for my needs.
    This plugin also needs a special launcher. That checks for updates and applies them before it launches craftbukkit from itself. Also the plugin uses this to restart the server.

    Features:
    * Launcher

    - * Updates & Switches between craftbukkit.jar file to a specific build.
    * Launches craftbukkit.jar.
    * "-switchto BUILD" argument added, downloads build if don't exits in build folder.
    - Plugin
    * Permissions Plugin Supported! Not required anymore. Ops also supported.
    * Monitor with specific time interval, change-able in settings file. See below.
    * Restart Timer, Warns your players for a restart. change-able in settings file. See below.
    - Commands
    * /btd - Shows command list!
    * /btd info - Shows current BukkitToDate info: Current Build, Bamboo Build, Settings etc.
    * /btd update - Updates to LATEST version of bamboo.
    * /btd restart - Restarts your server from launcher, So it automatically checks for updates to.
    * /btd restart cancel - Cancels a restart
    * /btd switchto [build] - Switches server to specific build. If not available/downloadable it reuses old build.
    * /btd monitor enable/disable - Enables or disables the check/auto-download monitor.

    Todo:

    * Making code more stable.
    * - /btd switchto previous - restores back to previous build the server used.
    * Commands for editing settings for example enable or disable autoupdate.

    Permissions:


    Permissions Plugin is not required anymore.
    Although it's still supported:
    Just add: ' - bukkittodate.admin' to your admin group or only yourself. Ops also have access!
    Only Ops and people with Permissions can do /btd commands.

    How-To:
    Download the newest version below.

    Windows:
    1. Extract the .zip file in the root folder of your bukkit server. Be sure Launcher.jar is in the root folder!
    2. Run your server with the 'launcher.bat' file!

    Linux & Mac: (Experimental Launcher)
    1. Extract the .zip file in the root folder of your bukkit server. Be sure Launcher.jar is in the root folder!
    2. Launch Launcher.jar file in the terminal.
    Example: java -jar Launcher.jar

    Settings file:
    The settings file is located at: /plugins/bukkittodate/settings.properties.
    Automatically generated at first launch.

    This is an example of a settings file:
    Code:
    #Settings:
    #How long a standard countdown must take: (for restarts) (in minutes)
    restarttimer=5
    #DON'T EDIT THIS. USED TO STORE CURRENT BUILD:
    currentbuild=201
    #How much ram (in MB) craftbukkit.jar may use:
    serverram=1024
    #Auto-Update craftbukkit.jar? :
    autoupdate=false
    #Automatic check for new updates? Doesn't download if autoupdate is disabled
    enablemonitor=true
    #DON'T EDIT THIS. USED TO STORE PREVIOUS BUILD:
    previousbuild=172
    #Update monitor check interval (in minutes):
    checkinterval=20
    Development Information:
    http://forums.bukkit.org/threads/ad...ur-server-up-to-date-development-status.3843/

    Changes/Downloads:
    - <Edit by Moderator: Redacted mediafire url>
    * I think I fixed the problems on all operating systems.
    * My launcher now launches craftbukkit within itself. But somehow my Runtime.getRuntime().addShutdownHook don't get invoked, or doesn't work so if you close down the launcher the server will keep running in background.
    * Restarting works 100%
    * Switching to specific builds work!
    * Commands fixed.
    * And more little updates/improvements.

    - <Edit by Moderator: Redacted mediafire url>

    * Deleted & parameter when launching, Should fix Linux Command-Line only errors. Untested!
    * Changed exit code from 1 to 0. Should fix Mac OS errors. Untested!
    * Changed deflaut autoupdate value to false.

    - <Edit by Moderator: Redacted mediafire url>

    * BETA - Mac and Linux support added. Need testers!
    * Only does a countdown to restart when there are other players then you online.
    * Only works for builds higher then, 170+.
    * Permissions not required anymore. Still supported.
    * Switched to onCommand.
    * And much more!

    - <Edit by Moderator: Redacted mediafire url>

    * Fixed 'First Time Running' bugs.
    * Can now change server ram in settings file.

    Credits/Thanks:


    I really like to thank LukeGB for hosting Bamboo.
    Also appreciated the help that I got in the IRC channels. :D

    Source code will be available soon.

    Greetings, WMisiedjan
     
    Last edited by a moderator: Dec 15, 2016
    rizz360 and Killie01 like this.
  2. Offline

    WMisiedjan

    Kind of good Actually. Already have the launcher working for loading craftbukkit.jar en unloading it. So I'm able to replace it with new builds. Other features arn't build in yet. But it will go fast for now. Although have not a lot of time this week because of school. I have a school holiday next weekend/week. So I will finish everything this weekend I think.

    Will try to work on it this week to, But it's kinda hard.

    Thanks for interest.
     
  3. Offline

    informatics

    Hi,

    i would need an autorestart timer ... and your tool is great and does the whole updating and restarting / wrapping thing already.

    Would it be possible that you could extend your plugin, that a restart time of the server can be specified?

    thx, cheers info
     
  4. Offline

    WMisiedjan

    Eueamm Yeah, of course. Going to add it as feature in my new release ;)
     
    informatics likes this.
  5. Offline

    XhiZor

    Everytime I start Launcher.bat I get this:

    Starting BukkitToDate Launcher version 1.8.1 (It says 1.8.1 but i downloaded 1.8.5)
    Loading Plugin Settings...
    Exception in thread "main" java.lang.NullPointerException
    at com.BukkitToDate.WMisiedjan.Launcher.main(Launcher.java:93)
    Press any key to continue...

    What should I do to fix this? :(
     
  6. Offline

    PierreLouis

    Wait for the next realize [​IMG]
     
  7. Offline

    WMisiedjan

    Yeah, 1.8.5 says it is 1.8.1. Try using the REAL 1.8.1 if you're on windows. Would work properly then.

    Multi-OS support will be 100% in the next release.
     
  8. Offline

    maehze

    Code:
    fickkiste:~/minecraft-server/bin$ java -jar Launcher.jar
    Starting BukkitToDate Launcher version 1.8.1
    Loading Plugin Settings...
    Exception in thread "main" java.lang.NullPointerException
            at com.BukkitToDate.WMisiedjan.Launcher.btdClass.getVersion(btdClass.java:139)
            at com.BukkitToDate.WMisiedjan.Launcher.btdClass.isCurrent(btdClass.java:149)
            at com.BukkitToDate.WMisiedjan.Launcher.Launcher.main(Launcher.java:136)
     
  9. Offline

    PierreLouis

  10. same here:S
     
  11. Offline

    WMisiedjan

    Maybe you should read my topic title, This versions are now UNSUPPORTED.
     

Share This Page