TuxTwoLib
This library does nothing on it's own and is re-compiled every minecraft version to provide a stable API for several of my plugins of some craftbukkit internals.
Yes, this plugin has been updated to Spigot for Minecraft version 1.12!
Which Download do I Need?
All the downloads are versioned with the craftbukkit version they are for, followed by an optional revision number, and then build number. So if you are on Craftbukkit for Minecraft server version 1.4.4, you would look for a version like this: 1.4.4-b1, with the b1 being the build number. (Always get the version with the highest build number for your version of minecraft) If an incompatibility exists in the builds, it also has a number corresponding to the build, like this: 1.4.5-R0.2-b1 would be compatible for all of 1.4.5-R0.2 builds and up for that version of minecraft.
Features
- Self aware auto updater will only update the plugin if there is an update available for your minecraft version.
- Set it to auto update only on Minecraft version changing, whenever there is an update available, or not at all.
- Will warn you upon login and in console when your version of Minecraft is incompatible with the version installed.
- Will notify you when new updates are installed.
- Provides a method for getting offline player data
Permissions
- tuxtwolib.notices - User can recieve notices about new updates and incompatible Minecraft version errors.
Purpose
For Developers
A recent commit to CraftBukkit now requires any plugins that accesses native "net.minecraft.server" or "org.bukkit.craftbukkit" classes to modify its imports for every new Minecraft version update.
This library abstracts these native classes so that whenever Minecraft updates, only this library needs to be updated. Plugins which use this library can potentially be coded to be compatible with multiple versions of Minecraft.
For Server Admins
If you have multiple plugins that utilize native Minecraft code, you will now have to update each one of them for each update.
Fortunately, if you use any plugins which utilize this library, you only need to update one plugin for them. Just grab the version of this library made for your Minecraft version and you're done!
How to Use:
For Server Admins
- Download the correct version of this plugin for your Minecraft version. (follow the instructions above)
- You can find the different versions of this plugin by clicking the "Files" tab above
- Make sure you remember where you downloaded the file to!
- Select the file you just downloaded and "copy" it to your "/plugins" folder.
- On Windows, you can use ctrl+c or right click then press "copy". Then use ctrl+v or right-click to paste it in the proper folder.
- If you are using the terminal, you should know how to use the "cp" command or Midnight Commander.
- If you need to use FTP, be sure to read the documentation. (connect to the correct IP, traverse directories, etc.)
- Run your server as you usually would.
- Typically this involves a run script or an admin panel. (this part is very important)
For Developers
- Check through this library's JavaDocs to see if we have the hooks you require.
- Because this library is new, it likely does not yet have the hooks you need.
- If we do not have them, create a Support Ticket for an enhancement. We can add it in for you!
- If we do, just examine the JavaDocs and hook into it with your plugin.
- Do not forget to add "depend: [TuxTwoLib]" to your plugin.yml! (This makes sure that the library is loaded before your plugin)
- On your plugin's description make sure you tell users that they need to have this library installed on their server!
JavaDocs: http://javadocs.yu8.me/tuxtwolib/
Thread on how to use the book API: http://forums.bukkit.org/threads/simple-temp-book-api.93562/
A lot of classes taken from: http://forums.bukkit.org/threads/lib-prettyscarylib.110164/
FAQ
Q. I'm getting this in my console: INFO java.lang.NoClassDefFoundError
A. You downloaded the wrong version of the library, or a version that's compatible with your version of minecraft isn't released yet. Please double check and make sure you got the right download.
Excellent, If I ever start getting donators to my Server I will spread the wealth!
@Tux2 Yeah Thanks Tux! I was about to ask about that! Keep us updated!
@Tux2
Awesome, thanks Tux2! :D
Whoops! Sorry guys, I didn't realize that there was an update to 1.7.5 for craftbukkit. I just pushed a fixed version and it should be available to download as soon as bukkit approves it.
@kingmonkeycrafter
Same here.
Please update and or provide a link to your sourcecode, so me and others are able to change and recompile it by ourselves. The current server version I am running is bugged as hell, regardless of being markes as beta build and I can't update my server, due to that this plugin is a dependency of multiinv.
Not compatible with 1.7.5, any solution yet?
Same here, Spigot #1354:
[TuxTwoLib] Current version incompatible with this version of Craftbukkit! Update immediately!
EDIT : Latest Spigot builds are 1.7.5. Looking forward to an update of TuxTwoLib. :)
Updated Spigot and also getting the error: [TuxTwoLib] Current version incompatible with this version of Craftbukkit! Update immediately!
Also incompatible with Bukkit 1.7.5-R0.1
I'm using Spigot-1350 and it says [TuxTwoLib] Current version incompatible with this version of Craftbukkit!
Thanks for the update! :)
Thank you Tux2! (diamond) for you!
Greatly appreciated, Tux. Thanks for everything you do.
Awesome, if this gets EnchantAnything working, I can convert my 1.6.4 server over to 1.7.2!
Thanks,
LHammonds
@Tux2 Thank you!
@ViscousSummer88
@Storaxis
Updating right now. Just give me some time as I have to update my auto updater to comply with new bukkit dev policies.
Update please :)
Update would be greatly appreciated.
@ha11oga11o
Forget it, ... as always i miss to notice difference between two numbers. Sorry for spamming. All is fine ONCE i downloaded correct version, as you stated with big bolded warning :)
Silly me.
This is OK, right? We are waiting for official?
http://pastebin.com/SrP74Mnv
on:
1.6.2-R1.0 (Build #02879)
Java 7 64bit
Cheers :)