CraftBukkitUpToDate
Keep your Server/Plugins up to date
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.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.jar/plugin before update. Not all builds from CraftBukkit work correctly.
Features
Download the newest build to build_update Config-File in plugins/CraftBukkitUpToDate/CraftBukkitUpToDate.properties
- to enable/disable automatic download
- updateChannel (to choose between rb, beta or dev)
- set craftBukkitName (Default: craftbukkit.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 24 hours standard is 24 hours Broadcast if new update available (To all Ops, or via Permissions).
- Configurable in CraftBukkitUpToDate.properties default value is true
- Additional Plugin-Dirs to check (if you have a dir additionalPlugins in your Bukkit-Folder add additionalPluginDirs=additionalPlugins/)
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
Pail Gui-Support check Thread for more infos
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.plugin - these users can use plugin-Command
- craftbukkituptodate.update - these users can use the update-Command
Automatic update
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://dev.bukkit.org/bukkit-plugins/linux-server-startscript-menu/
or use the Bukkit-Build-In: You can configured it by yourself, all you must do is to open the bukkit.yml and change the update-folder to ../bukkit_update/plugins. I don't recommend this, because all plugins updated automaticly without any user-interactions.
My Plugin didn't supported, how i get it to work with CButD?
There are three ways, you have to make only one of them:
1. Add it to http://dev.bukkit.org/. Your link should be like the jar-File-Name if your jar-File example.jar your link on dev.bukkit.org should be http://dev.bukkit.org/bukkit-plugins/example/. If not no problem you have two other options:
2. Add dev-url to your plugin.yml this should look like : dev-url: http://dev.bukkit.org/bukkit-plugins/example/, please replace the url with your one, else it didn't work. Also you should know that only dev.bukkit.org-Urls works.
Here is a example plugin.yml:
name: Your name main: Your main class version: Your version dev-url: http://dev.bukkit.org/bukkit-plugins/replace this with your url of dev-Bukkit/ commands: your command: description: descrition usage: /<command> <function> [buildnumber] aliases: [alias1, alias2]
3. If option 1 and option 2 didn't work for you let me know this and I add it to my plugin.properties. Please remember I only support dev.bukkit.org-Plugins.
Also you should know that your project at dev.bukkit.org should contain file-Downloads, else I have no chance to check for updates and download the newest version.
Forum
Need help or have any questions use the Forum: http://dev.bukkit.org/bukkit-plugins/craftbukkituptodate/forum/
Video
https://www.youtube.com/watch?v=XWdpz6JsWRk
FAQ
Did the plugin.properties update automaticly?
Yes, if a new one available it update automatic.
Did you download all plugins every time to check for updates?
No, I use the rss-Feed of dev-bukkit
Do you automatic update my plugins?
No I'm only download the new version to bukkit_update/plugins you have to copy them to your Plugin-Folder. I will never implement a autoupdater, you are the Admin and you have to choose which plugins you like to update. This is only a little help to do this.
How can I choose if between recommend and beta version?
In CraftBukkitUpToDate.properties set recommendedBuild=true, if you like the recommend Build, or recommendedBuild=false if you like the beta-Version.
Now that Bukkit supports a plugin update folder, will CBUTD add support for it, so we are able to run a /reload after CBUTD runs and have the updated plugins load?
Not by default. But you can configured it by yourself, all you must do is to open the bukkit.yml and change the update-folder to ../bukkit_update/plugins. I don't recommend this, because all plugins updated automaticly without any user-interactions.
Can I add additonal Plugin Folders that will be check if I like to deactivate a plugin but check for updates?
Yes, use the additionalPluginDirs-Option in the CraftBukkitUpToDate.properties
With the next update you can manually check for updates how often you like, but automaticly it works only every hour, so you can restart your server without a update check.
@chrisknyfe: Normally I didn't hear on trolls, but I think it's ok if you can check manual how often you like. But if you troll a second time I delete your comments. It's ok if you make suggestion, but the edit1 and edit2 are laughable.
@chrisknyfe
I completely agree with you on this one. The idea of the plugin is to help us keep up to date right? So why cant we run the command when we like..... im sure thats the idea of the plugin, to help us keep up to date right?
@deleted_7554077
I completely disagree: when I'm installing the plugin and testing out download URL's, that's when I need to be able to use the command more than once an hour. All other times, I know better than to hammer the dev.bukkit.org servers more than once a day, if that.
Ultimately, NoFear13 implementing this feature tells me that he can't trust server admins to use this plugin responsibly, and frankly I'm a little insulted. I think NoFear13 needs make this configuration option toggleable or configurable so that if i don't trust my own admins or moderators, I can limit them.
For now, I will continue to manually circumvent this limit with no regards to your or NoFear13's wishes, in order to make sure this plugin is properly installed.
P.S., did I mention this feature is insulting?
@chrisknyfe There is really no reason to let people update more then once in an hour. They will just bomb the download server with useless queries slowing everything down.
There are other alternatives and you can manually get CB updates from dl.bukkit.org
Why the heck can't I run /uptodate plugin more than once per hour? There's no configuration option to turn off that feature (it's really annoying when I'm trying to debug your plugin.) Can you please add a configuration option to allow me to run /uptodate plugin more than once per hour? Are you *trying* to be mean to your end user?
EDIT: I mean, what is this, the fourth time I've had to manually delete the .sav file and reload? This is a joke, right?
EDIT X2: I mean, you make what is probably the single most useful plugin I have ever downloaded, and then you prevent me from using it for more than once per hour? That's sadistic. You're a sadist, sir.
nice update - thanks
Thank you for updating this! Was afraid it wouldn't be updated and was really missing it until I finally checked back on it today and found out it had been updated. So happy about it.
I found the problem. Posting it in case others having it.
Bukkit.yml was configured to look at latest development version:
preferred-channel: dev
Changed the variable to
preferred-channel: rb
Now all is happy :-)
I think I must have switched to dev back when minecraft updated and broke everything, in an effort to try to get back up and running ASAP.
Did you set up the snapshot name in the CButD config?
Fixed the can't connect error.
Now there seems to be a conflict between what CraftBukkitUpToDate thinks is the latest version of CraftBukkit and what CraftBukkit AutoUpdater thinks is the latest.
When using the latest version of CraftBukkit (craftbukkit-1.2.3-R0.3-20120311.111550-2.jar), I get the following message:
08:45 AM [INFO] CButD: CraftBukkit is Outdate, try to download new version
08:45 AM [INFO] CButD: CraftBukkit download new Build, please stop the server and copy E:\Install\Minecraft Server\bukkit_update\craftbukkit-0.0.1-SNAPSHOT.jar to your Main-Folder.
I followed those directions and used the snapshot of Craftbukkit that CraftBukkitUpToDate suggested. Doing this generatedI a message from CraftBukkit saying that the version I am using is out of date and to download the version I was using before. The CraftBukkitUpToDate message goes away, so it seems the pluggin doesn't agree with the server on which version is latest.
Messages when using the suggested snapshot version:
08:52 AM [WARNING]
-Bukkit Auto Updater-08:52 AM [WARNING] Your version of CraftBukkit is out of date. Version 1.2.3-R0.3 (build #2063) was released on Sun Mar 11 11:15:22 CDT 2012.
08:52 AM [WARNING] Details: http://dl.bukkit.org/downloads/craftbukkit/view/00895_1.2.3-R0.3/
08:52 AM [WARNING] Download: http://dl.bukkit.org/downloads/craftbukkit/get/00895_1.2.3-R0.3/craftbukkit-dev.jar
08:52 AM [INFO] CButD: CraftBukkit is up to Date
[Warning] CraftBukkitUpToDate: Can't connect to ci.bukkit.org
Please Fix This it is a very handy and helpful plugin but you need to fix this error
Getting this error: WARNING] CraftBukkitUpToDate: Can't connect to ci.bukkit.org. Using Craftbukkit v 2063 and CraftBukkitUpToDate v2.8.0
Works pretty good, no errors for me :D
Except CB updating.
@deleted_7554077
Its parially working - checking for bukkit updates isnt working (although unneccessary anymore considering bukkit has an autoupdater) Also there are some errors that are thrown on startup, I'll have to rummag through my log to find the stacktrace but i'm pretty sure it was a thread error.
It's already working with CB 1.2.3
Don't be stupied.
hi, i REALLY like this plugin, but it would be great to update to 1.2.3 before other plugins coz then i dont have to download them 1 by 1!
Thanks, mati123se
@NoFear13
Hey it says when I use it, can't connect to ci.bukkit.org. It seems others are having the same issue. Another update?
Please fix this:
I use CB Build #2037 and 2.8.0 of CraftBukkitUpToDate!
You need to change the site that it gets Bukkit versions from. It is still trying to contact ci.bukkit.org when it needs to contact dl.bukkit.org
Please Fix!
Yeah, me too. It can't connect to ci.bukkit.org site since the new download site is dl.bukkit.org