[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

    Jeppo

    Found out my Launcher-problem is fixed if serverram is 1586 or less in the config-file.
     
  3. Offline

    zandi010

    if there is an update the plugin tells this endeless 5 times a second at the console
     
  4. Offline

    WMisiedjan

    Thanks for report, It's added in my projects todo list.
    --- merged: Feb 2, 2011 10:26 PM ---
    It shouldn't, If auto-update if disabled, and your checkmonitor is on, it should only show by default every 20 minutes.
     
  5. Offline

    Medlir

    1.8.5 link needs updating? It's pointing to 1.8.1 still.
     
  6. Offline

    WMisiedjan

    Pff, stupid me. Updated.
     
  7. Offline

    Hamad

    I have an error, happens many error in every plugin, when i launch launcher.bat, it says an error
    Exception In Thread "main" java.lang.NullPointerException
    at com.BukkitToDate.WMisiedjan.Launcher.Launcher.main<Launcher.java:93>
    press any key to continue.....

    thanks btw
    --- merged: Feb 3, 2011 9:18 AM ---
    wait, i fixed it, i changed it to auto update true, i used 1.8.1
    now works, ty btw
    --- merged: Feb 3, 2011 9:19 AM ---
    I may try Beta Launcher later
    --- merged: Feb 3, 2011 9:23 AM ---
    Edit: Well i used beta Launcher, works without autoupdate, i dont know why it didnt worked before, so, i must switch builds ingame?
     
  8. Offline

    alexeius

    i cant write in cmd.exe(with launcher)
     
  9. Offline

    harakiwi

    same problem here.
    now i disabled the monitor to prevent large server.log files

    my settings.properties
    Code:
    #Thu Feb 03 00:22:13 UTC 2011
    currentbuild=231
    restarttimer=5
    serverram=512
    enablemonitor=true
    autoupdate=false
    previousbuild=0
    checkinterval=30
    
    my server is a virtual machine with Debian

    Code:
    #uname -a
    Linux 2.6.18-028stab070.14 #1 SMP Thu Nov 18 16:04:02 MSK 2010 x86_64 GNU/Linux
    there are some more problems i like to report:

    i tried btd in the server console
    Code:
    btd
    2011-02-03 13:59:01 [WARNING] Unexpected exception while parsing console command
    java.lang.NullPointerException
            at com.bukkit.WMisiedjan.TestPlugin.TestPlugin.onCommand(TestPlugin.java:123)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:17)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:76)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:162)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:310)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:292)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Neither the Launcher itself starts my server
    and i think because of that nor /restart command works be stopping and restarting the server. it only stops

    I know that writing plugins for bukkit at it's current state of development is hard. so i don't want to blame anyone.
    i just want to report some bugs i found (and help to fix it)
     
  10. Offline

    WMisiedjan

    Console Commands aren't supported in beta launcher yet, And will take a look why it isn't.

    @Hamad:
    You can check for new updates without the monitor with command:
    /btd info

    And can switch to newest build with: /btd update
    Also can switch to older/newer build with: /btd switchto 182 for example.
     
  11. Offline

    MiniKahn

    I use 1.85 and the launcher says exception in 'main'..

    MiniKahn
     
  12. Offline

    Sputnikz

    I just got 1.85 and whenever I try to update or switch builds, I get the error
    "Error deleting original craftbukkit.jar"
    After which the server just runs without updating. Any help?
     
  13. Offline

    WMisiedjan

    Trying to fix that Issue, sometimes craftbukkit.jar is still running when you closed the launcher.
     
  14. Offline

    Schattenlilie

    Hi if i try to start the Launcher it crash like this.

    Code:
    [[email protected] ~]$ 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.Launcher.main(Launcher.java:93)
    I hope you can fix it.

    Linux - CentOS 5.5 x64
    Java Up to Date

    Code:
    [[email protected] ~]$ java -version
    java version "1.6.0_17"
    OpenJDK Runtime Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-x86_64)
    OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
     
  15. Offline

    WMisiedjan

    Yeah, Will try to update this asap, But I kinda lost my source by trying to upload it to github using TortoiseGit.

    So, I need to decomplime it. Have not much time right now, will update it as soon I have time available.
     
  16. Offline

    tips48

    sweet... i get the same main error as everyone else... i will look at some solutions...:D
    --- merged: Feb 5, 2011 2:02 PM ---
    FIXED!!!!!!!!! Java.io.exception error when trying to launch using launcher.bat

    just delete bukkittodate, to author updated the .properties file?
     
  17. Offline

    WMisiedjan

    Yes, That is true, I thought it whould automaticlly add the value to the thingy. But Apparantly it doesnt.
     
  18. Offline

    TWAIN

    Hey,
    there is an Error with Ubuntu 10.10:
    Code:
    Starting BukkitToDate Launcher version 1.8.1
    Loading Plugin Settings...
    Server is Up-To-Date at build #261
    Unable to access jarfile /home/jakob/Desktop/MinecraftServ\craftbukkit.jar
    java.lang.IllegalThreadStateException: process hasn't exited
    java.lang.IllegalThreadStateException: process hasn't exited
        at java.lang.UNIXProcess.exitValue(UNIXProcess.java:188)
        at com.BukkitToDate.WMisiedjan.Launcher.btdClass.launch(btdClass.java:240)
        at com.BukkitToDate.WMisiedjan.Launcher.btdClass.LaunchLatestBuild(btdClass.java:177)
        at com.BukkitToDate.WMisiedjan.Launcher.Launcher.main(Launcher.java:167)
    
    It's looks like there is a bad backslash :)
     
  19. Offline

    RoyAwesome

    I have this error as well
     
  20. Offline

    Jeppo

    Code:
    07-02-2011 20:41:34 org.bukkit.craftbukkit.CraftServer loadPlugins
    SEVERE: org.bukkit.Server.getWorlds()[Lorg/bukkit/World; (Is it up to date?
    java.lang.NoSuchMethodError: org.bukkit.Server.getWorlds()[Lorg/bukkit/Worl
            at com.bukkit.WMisiedjan.TestPlugin.TestPlugin.onEnable(TestPlugin.
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginL
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginM
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:6
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:167)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:154)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:106)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:20
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Craftbukkit 271
    Windows Server 2008 SP2 x86
     
  21. Offline

    WMisiedjan

    Yeah, It's a error the new builds generate because my plugin is out-dated to the multiworld version.

    Going to fix this when I have the time de decomplime my project. Because I lost it when trying to upload to github...
     
  22. Offline

    Vinpasso

    Same here on Win 7 Proffesional, it wont accept any input
    (Now how do I stop my server?)
    --- merged: Feb 10, 2011 12:59 PM ---

    Heres another problem on Win 7:

    Whenever my users try a command like /help the server disconnects everyone and shuts down

    EDIT: Sorry, the normal server also shuts down on some commands so it must be a general bug
     
  23. Offline

    Jeppo

    Log in to your server and write /stop ;)
     
  24. Offline

    WMisiedjan

    This plugin is broken, I'm currently working hard on a new version that I'm going to improve a lot, Source code is already available at:
    https://code.google.com/p/bukkit-to-date/
    Although, It's just a initial release, with no commands yet. Launcher isn't available yet too.
     
  25. Offline

    Malylolek

    Do you already know when it will be released the next version ??
     
  26. Offline

    WMisiedjan

    Not sure yet, It's at the moment quite unusable, When I get my launcher to do what I want, Then it will not be long anymore. Only i'm not sure howlong it's going to take to get my launcher to do what I want. But I'm working hard on it.
     
  27. Offline

    Malylolek

    so, Good luck. :) and be fast.
     
  28. Offline

    PierreLouis

    Yep good luck and I'll be here to test on Mac OS X!
     
  29. Offline

    Robby Stolle

    Starting BukkitToDate Launcher version 1.8.1
    Loading Plugin Settings...
    Server is Up-To-Date at build #326



    Thats all I get with windows xp. Is there something i'm doing wrong?
     
  30. Offline

    WMisiedjan

    Please wait for my next release, All your problems, and other problems will be resolved.
     
  31. Offline

    Malylolek

    WMisiedjan how goes the progress on creating the next release ?
     

Share This Page