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
I can't tell if my plugins are supported with CuD. I added them all (example.jar=http://dev.bukkit.org/server-mods/example/files.rss) <- like that to plugins.properties and I'm not sure if it worked.
@samuelvisser
That's if a download not finished and you copy the plugin-Updates before all downloads finished, so one plugin is broken, you should see the plugin at the server-Start, one plugin couldn't load at the start that's the broken one.
To the other questions: permissions and changegamemode are inactive so this is no bug.
I get the following start up error:
2012-05-13 09:25:36 [INFO] CButD: Plugin-Update-Check started 2012-05-13 09:25:37 [WARNING] CraftBukkitUpToDate a Error: java.lang.NullPointerException at java.util.zip.ZipFile.getInputStream(ZipFile.java:197) at java.util.jar.JarFile.getInputStream(JarFile.java:400) at de.nofear13.craftbukkituptodate.CraftBukkitUpToDateHelper.updateThisPlugin(CraftBukkitUpToDateHelper.java:1191) at de.nofear13.craftbukkituptodate.UpdatePluginCall.call(UpdatePluginCall.java:45) at de.nofear13.craftbukkituptodate.UpdatePluginCall.call(UpdatePluginCall.java:1) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679)
How can I fix that start up error?
Also, I get this message:
2012-05-13 09:25:39 [INFO] CButD: The rss-Feed: http://dev.bukkit.org/server-mods/permissions/files.rss is wrong. Please let me know this.
Another one:
2012-05-13 09:25:39 [INFO] CButD: The rss-Feed: http://dev.bukkit.org/server-mods/changegamemode/files.rss is wrong. Please let me know this.
@enigma617
Check the Projektpage: http://dev.bukkit.org/server-mods/changegamemode
and you see: This project has become inactive.
This project is inactive and its default file will likely not work with the most recent version of Minecraft. The author may have abandoned it, or it may have outlived its usefulness.
So if you only like to troll...
I got the message:
CButD: The rss-Feed: http://dev.bukkit.org/server-mods/changegamemode/files.rss is wrong. Please let me know this.
in my logs.
I don't see any problems its causing, but it did say "Please let me know this.", so now you know.
<<reply 688113="">>
this is because spam the download button. there are 400000 servers seems legit.
I'm going try this out.
When is saw this:
Downloads
1,991,759
I tought.... wtf? xD
Nice plugin! Keep up with the good work =D!
@Tunix2
Please write a ticket, that's easier to me to manage the requests.
NoFear13,
Thanks for the quick reply,
any chance I can have the logs go elsewhere? I want the logs just not in my plugin folder.
Because I have a script that copies them right over. I could always write a script that only copies .jars but I think others might benefit from an update too.
pluginLogFolder=bukkit_update_logs/
@Tunix2
No because I doesn't have this information at the feed and anywhere else. I check the modification-Timestamp of the lokal file if the one of the feed newer there is a update. So if you modify your files before every check you never get the new version.
In Germany we say: PP... Persönliches Pech.
How does it compare what version your plugin is to the version avalible on the files.rss
Does it actually check and compare the version in the plugin.yml file or is there a possibility it could miss a lot of plugin updates?
Would love to see this updated for 1.2.5!
Yeah :)
awesome plugin! for plugin developpers and server hosters!
@deleted_7554077
Thanks
@Grimshard CButD works great with CB 1.2.5 also
SUPPORT 1.2.4 its at released build state please update your plugin too
I don't. What I'm saying is that for NoLagg and such, it has a bunch of .jars in the zip that you unzip and put in the plugins folder, therefore, I get messages such as
http://dev.bukkit.org/paste/4985/
And it wont update these.
@hawkfalcon
Please don't delete the check-Folder, else it doesn't know the last update of the zipped Plugins.
This is awesome, but it doesn't work with zipped plugins such as nolagg or essentials. It downloads them every time it is run, even when they have not been updated. Dx