Inactive [ADMN] CraftBukkitUpToDate v2.6.7 - Keep your Server/Plugins up to date [1185]

Discussion in 'Inactive/Unsupported Plugins' started by NoFear13, Feb 20, 2011.

  1. After the plugin detect a new build, it download to bukkit_update in the main-Folder. After that you must stop your server and copy the craftbukkit-0.0.1-SNAPSHOT.jar from bukkit_update to your main-Folder.​
    After Version 1.4 I support plugins if a new version found it download to build_update/plugins. After that stop your server and copy/move the new files to your plugin-Folder

    This is no autoupdater, it only download the new Version do the update-Folder, the user have to copy the files. On this way, he know which plugins he update and can check if he like to update.

    I recommend to save your old craftbukkit-0.0.1-SNAPSHOT.jar/plugin before update. Not all builds from CraftBukkit work correctly.

    For more infos and download: http://dev.bukkit.org/server-mods/craftbukkituptodate/

    Features:
    • Download the newest build to build_update
    • Config-File in plugins/CraftBukkitUpToDate/CraftBukkitUpToDate.properties
      • to enable/disable automatic download
      • choose between stable or recommended Builds
      • set craftBukkitName (Default: craftbukkit-0.0.1-SNAPSHOT.jar)
      • deactivate pluginLog
      • deactivate craftBukkitUpdateCheck
      • blacklist to add Plugins, you don't want to update (blacklist=test1.jar;test2.jar)
      • deactivate automatic pluginUpdateCheck
      • deactivate serverLog if new Version available (broadcastOnlyToOps=true)
    • Check for update in a configurable period
      Configurable in CraftBukkitUpToDate.properties in milliseconds lowest value is 300000 (5 min), standard is 1800000 (30 min)
    • Broadcast if new update available (To all Ops, or via Permissions).
      Configurable in CraftBukkitUpToDate.properties default value is true
    • Command to download every build you like. Example: If you like to download build 400 you type /craftbukkituptodate download 400 or /uptodate download 400
    • Command to show changelog for BukkitBuild. Example: If you like to show changelog for Build 431 type /craftbukkituptodate changelog 431 or /uptodate changelog 431
    • Command to start plugin-Check, to start type /uptodate plugin
    • Command to start the update-Check, to start type /uptodate update
    • All commands work also at Server-Console type only craftbukkituptodate or uptodate without /
    • Automaticly download new updates for Plugins
      • Download new updates in build_update/plugins
      • plugin.properties with links to the plugins, this one download automaticly if a new one at my server
    • Permissions:
      Permissions/GroupManager is optional else only ops can use the commands.
      Available permission nodes are (case sensitive):
      • craftbukkituptodate.broadcast - these users get a message if a new build available
      • craftbukkituptodate.download - these users can use download-Command
      • craftbukkituptodate.changelog - these users can use changelog-Command
      • craftbukkituptodate.plugin - these users can use plugin-Command
      • craftbukkituptodate.update - these users can use the update-Command
      • Pail Gui-Support check Thread for more infos
    For Linux-User, if you like to move your new plugins automaticly, try the script from Myx0x3:

    http://forums.bukkit.org/threads/ad...ugins-up-to-date-400.5026/page-10#post-122380
    or for more features use the one from Tealk:
    http://forums.bukkit.org/threads/linux-server-startscript.1427/

    Planned Features:
    • Nothing
    Known Issue:

    • Nothing
    Changelog (All times UTC+1):
    Check http://dev.bukkit.org/server-mods/craftbukkituptodate/ for the newest file-Changelog
    Show Spoiler

    Version 2.6.6 (31.08.2011 19:00)
    Version 2.6.5 (30.08.2011 18:30)
    Version 2.6.4 (29.08.2011 20:20)

    • Changed the log-Messages, so that the user understand that the author have to add his plugin to dev.bukkit.org.
    Version 2.6.3 (29.08.2011 00:20)

    • Bug: zip-Files updated every time
    • Bug: Fix for new pail-Version
    Version 2.6.2 (28.08.2011 20:30)

    • Update for dev.bukkit.org
    • Plugin-Manager for pail
    Version 2.6.1 (10.08.2011 18:10)

    • Fixed Nullpointer, sry for this issue.
    Version 2.6.0 (09.08.2011 23:15)

    • Added Pail Gui-Support
    • CraftBukkit-Update-Check now threaded, because with 7 MB it can take a little bit to update
    Version 2.5.9 (27.07.2011 21:50)

    • Fix: Delete the Quotes in the Essentials-Filenames
    Version 2.5.8 (21.07.2011 22:15)

    • Fix: Can't connect to ci-b.bukkit.org-Error
    Version 2.5.7 (13.07.2011 22:15)

    • Fix: If broadCastPeriod not parsable set it to default value. Thanks to Torner92 for the bug-Report.
    Version 2.5.6 (16.06.2011 23:15)

    • Implement If-Modified-Since, thanks to Captain Chaos for the tip. This should remove the bandwith-Problem of some Plugin-Authors, let me know if it doesn't work.
    Version 2.5.5 (27.05.2011 23:15)

    • Little Bugfix for robin0van0der0v new xml.
    Version 2.5.4 (26.05.2011 22:15)

    • Little Bugfix
    • Some changes for robin0van0der0v new xml. @robin0van0der0v: Thanks for your work
    Version 2.5.3 (06.05.2011 20:15)

    • Fixed a little bug, with the new XML/RSS-Update-Check
    Version 2.5.2 (02.05.2011 21:55)

    • Add Version to XML-Update-Check
    • Add Description to RSS-Update-Check
    Version 2.5.1 (20.04.2011 20:45)


    • Automatic Plugin-Update at startup only every 6 hours
    • Manual Plugin-Update only every 60 minutes
    Version 2.5.0 (18.04.2011 22:25)

    • Logger changed
    Version 2.4.9 (10.04.2011 10:15)

    • Plugin-Update only every 60 minutes, also after a restart.
    • Some little Bugfixes
    Version 2.4.8 (09.04.2011 22:50)

    • Add new /uptodate update - Command to start update-Process manual
    • Add new option useUserPluginPropertiesFirst to set another priority for the userplugin.properties
    Version 2.4.7 (07.04.2011 19:00)

    • Bugfix if filename not in the URL and not a jar
    • Changed the Bukkit-Build-URL to ci-b.bukkit.org
    Version 2.4.6 (06.04.2011 18:30)

    • Better Exception-Handling if the rss-Feed, xml, txt-File or the properties-File is wrong
    Version 2.4.5 (05.04.2011 20:15)

    • Bugfixes if redirect and the new URL contains a space
    • Changed the UserAgent to CraftBukkitUpToDate
    Version 2.4.4 (03.04.2011 17:10)

    • Little Bugfix if createCheckFiles=true
    Version 2.4.3 (30.03.2011 21:55)

    • New option usePermissions to deactivate permissions-Support
    Version 2.4.2 (30.03.2011 21:02)

    • A little change for better Permissions-Setup
    Version 2.4.1 (30.03.2011 19:06)

    • Changes for the newest recommended Build
    Version 2.4.0 (29.03.2011 22:30)

    • Added txt, xml and properties-Support
    Version 2.3.0 (28.03.2011 22:30)

    • php-Fix
    Version 2.2.3 (28.03.2011 20:30)

    • Little Bugfix
    • Update-Check only every hour
    Version 2.2.2 (28.03.2011 18:15)

    • Killed the Version-Number in the jar-File-Name
    Version 2.2.1 (25.03.2011 22:45)

    • Some Bugfixes
    • New option to disable serverLog if new Update available
    • New option to disable automatic plugin-Update
    Version 2.2.0 (25.03.2011 22:00)

    • Parallel update-Checks (80% faster now)
    • Some other changes to support the update-Script from Tealk
    • New alias cbutd
    Version 2.1.6 (25.03.2011 20:40)

    • Some other changes to support the update-Script from Tealk
    • Changed the Permissions-Setup
    Version 2.1.5 (23.03.2011 23:00)

    • Some changes to support the update-Script from Tealk
    Version 2.1.4 (23.03.2011 19:00)

    • Fixed that zip and tar.gz-Files updated every time
    Version 2.1.3 (21.03.2011 21:30)

    • RSS-Feed now supported check Or use RSS-Part to check how to implement it.
    Version 2.1.2 (16.03.2011 23:10)

    • Changed the updateLogic for CraftBukkit so I don't need longer the check-Files you can delete it if you like. Thanks to Pluckerpluck for the tip.
    Version 2.1.1 (13.03.2011 23:35)

    • A little bugfix for the new userplugin.properties
    Version 2.1 (12.03.2011 23:00)

    • userplugin.properties for the users to add their own plugins.
    Version 2.0.5 (11.03.2011 20:30)

    • bit.ly-Fix
    • Wish you something Update 3 alias Maddin-Update;): Changed new pluginLog.
    Version 2.0.4 (09.03.2011 22:45)

    • github-Fix, next step is the fix for the php-problem
    • blacklist, to add plugins you don't want update.
    Version 2.0.3 (07.03.2011 18:15)

    • Added a new Option to deactivate craftBukkitUpdateCheck
    Version 2.0.2 (05.03.2011 10:40)

    • Little Bugfix, if pluginLog = false
    Version 2.0.1 (04.03.2011 19:50)

    • Download new Version only ones, if you didn't like to update
    • Smarter Log if ci.bukkit.org down
    Version 2.0 (02.03.2011 21:40)

    • Method to differentiate between Plugins with the same name
    Version 1.9.3 (02.03.2011 18:25)

    • Wish you something Update 2;): Changed new pluginLog.
    • Update for other sources (zip), if Server doesn't send modificationTimestamp
    Version 1.9.2 (01.03.2011 21:40)

    • Wish you something Update;): Added a new Option to change pluginLog.
    Version 1.9.1 (01.03.2011 19:10)

    • Little Bugfix
    • New Update-Message
    Version 1.9 (28.02.2011 22:10)

    • Removed one typos
    • New Command to start Plugin-Update
    • Removed stableBuild-Config, nobody need this
    • Add CraftBukkitName-Config
    Version 1.8 (26.02.2011 22:10)

    • Permissions-Support
    • Smaller messages
    Version 1.7 (26.02.2011 17:11)

    • Some little Bugfixes for the new Plugin-Links
    • Performance-Tuning
    Version 1.6 (24.02.2011 20:43)

    • Better Update-Check
    • Plugin-Update-Check starts after 10 Seconds
    • Configurable Download-Folder (Example: If you like to Download to plugin-Dir write: plugins/CraftBukkitUpToDate/downloads/)
    Version 1.5 (23.02.2011 21:55)

    • Plugin-Update-Check now threaded, so the Server start without waiting for it.
    Version 1.4 (23.02.2011 21:15)

    • Plugin-Support
    Version 1.3 (23.02.2011 19:53)

    • Config if you like to download only RecommendBuild (Default: false)
    • Config if you like to download latestStableBuild (Default: true), no Idea if i need this or remove it in a future release
    • Command to download every Build, for Howto look at Features
    • Command to look at changelog
    • Removed stupid constructor
    Version 1.2 (20.02.2011 23:07)

    Version 1.1 (20.02.2011 19:26)

    • Check for update in a configurable period
    • Send message to all online ops (configurable)
    Version 1.0 (20.02.2011 10:55)

    • Release-Version
     
    nath30, xybre, vrox and 16 others like this.


  2. here you can see craftbukkit version


    http://d.pr/muYD
    and here you can see that i dont make an update

    http://d.pr/zHZ3

    Have to say that after your update to 1.9 it dont downgrade after i update manually :)
     
  3. Sry for the misunderstood, this is the Build 440 from CraftBukkit, it's the recommended one, see here:
    http://ci.bukkit.org/job/dev-CraftBukkit/promotion/latest/Recommended/ (The b440jnks is the new Build-Number)
    And here: http://forums.bukkit.org/threads/introducing-recommended-builds.5137/

    If you like the latestStableBuild open the CraftBukkitUpToDate.properties and change recommendedBuild=true to recommendedBuild=false. (I don't recommend this because the stableBuild is the latestest untested Build from CraftBukkit)
     
  4. Offline

    xPaw

  5. Offline

    Maddin

    When i set recommended-build and stable-build on false, does it download a build which is stable AND recommented? ^^

    In the cmd console, im getting spammed with 1000 sentences when some plugins have newer versions... It would be GREAT if there would be a message like this:
    Excample:
    [date] [INFO] CButD: 14 plugins were updated, please copy n' paste them into your plugins folder.

    Much better i think :D
     
  6. Sry, a litte Bug if downloadUpdate=false, I fixed it.

    Stable-Build removed with Version 1.9, because the lastestSuccessfulBuild is always the latestStableBuild
    I added the new Plugin-Message. The other messages still in there, because i like them to see, what the status.
     
  7. Offline

    xPaw

    Nice, thanks!
     
  8. Offline

    Android

  9. Offline

    Maddin

    If you like it make a option in the properties file because i dont like it :D
     
  10. Added.

    Deal, added. Open CraftBukkitUpToDate.properties and set
    pluginLog=true
    to
    pluginLog=false
    If this false, I removed also all No source for...-Messages, let me know if you need these messages.
     
  11. Offline

    Maddin

    Yay!

    The no-source.... Hmmmm.. Would be glad if you would make it like my other sentence: (i mean the shortness :D)

    [date] [INFO] CButD: <plugin1>, <plugin2 and <plugin3> have no source, and cannot be updated. Please ask the plugin-developers to give NoFear13 the source link.

    Deal? :)

    So pluginlog=true makes like before and false makes my sentence?


    "Wish you something Update: Added a new Option to change pluginLog."
    :D :D :D :D :D
     
  12. Deal, I implement it, when I'm at home. At the moment, I'm at work.
     
  13. Offline

    Jandalf

  14. Offline

    Maddin

    yay, you're best! :D
     
  15. Added.
    --- merged: Mar 2, 2011 5:29 PM ---
    Implemented.
     
    Maddin likes this.
  16. Offline

    Snookieboy

    Please remove BorderGuardLite, theres two versions (Square and Round) and your plugin is updating people using the Round edition with the Square edition.

    If your gonna take user submitted links, please actually check the plugin thread on here to check there not being stupid, like Frans was.
     
  17. At the moment a implement a method to differentiate between these two plugins.
     
  18. Offline

    Snookieboy

    Change the URL from square to round for the different versions. While the filename is the same, the plugin lists itself as Borderguardlite(Square) or borderguardlite(round) in the server list plugins command.

    However at the moment, your updating peoples versions incorrectly and I think thats a bad practice to be doing, when you went ahead with a users post without just a quick check on the mod thread... You really do need to do more safety checks..
     
  19. Offline

    Carve

  20. Method added, after the upgrade to CraftBukkitUpToDate 2.0 it works correct.

    Added. Thank you.
     
  21. Offline

    Maddin

    With what option in the properties do i get the lastest non buggy build (440)
     
  22. recommended=true
    Read the FAQ at the first post.
     
  23. Offline

    DiddiZ

  24. Offline

    Jandalf

    in the CB downtime i so this error, cause of no connection, could u fix this so that CButD makes it to one line like "cant connect to ..." ?
    Code:
    2011-03-03 15:19:06 [WARNING] CraftBukkitUpToDate a Error:
    java.net.UnknownHostException: ci.bukkit.org
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at de.nofear13.craftbukkituptodate.CraftBukkitUpToDateHelper.getBuild(CraftBukkitUpToDateHelper.java:214)
        at de.nofear13.craftbukkituptodate.CraftBukkitUpToDateHelper.updateCraftBukkit(CraftBukkitUpToDateHelper.java:528)
        at de.nofear13.craftbukkituptodate.CraftBukkitUpToDate.onEnable(CraftBukkitUpToDate.java:73)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        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)
     
  25. Offline

    Maddin

    Lol, you speak german?? Warum hast du das nicht gleich gesagt? :p
     
  26. Ich bitte dich hättest du mal auf mein Profil geklickt hättest du es gesehen, außerdem hätte die Download-URL darauf hinweisen können:p. Desweiteren sind doch fast alle Entwickler hier Deutsch, der namespace de.nofear13 hätte auch einen kleinen Hinweis bieten können.:p

    Hast du des mit dem empfohlenen Build (440) nun hinbekommen?
     
  27. Offline

    Shenlong

  28. Offline

    cjc343

    @NoFear13

    Could you please code a check to see if CButD has already downloaded the latest version of a plugin? The static link for General went live less than 2 days ago and I've already got one user who's hit my logs 31 times to re-download General since they aren't ready to/haven't upgraded yet. Another 19.

    I'd like to leave a static link to General available, but won't do so if it means that I'm serving additional unnecessary hits.

    Thanks.
     
  29. Offline

    Milton

  30. Offline

    Maddin

    Noch nicht ich schreib hier die ganze Zeit von meinem iPod. Woher kommste denn? :D
     

Share This Page