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.
Sorry for the update taking so long! I've been extremely busy however I was able to get it updated to handle UUIDs, etc. as well as getting it to compile for 1.7.9! You should see the update shortly as soon as bukkit dev approves it. In other news I'm also in the works of getting MultiInv converted to using the UUID system.
Um so update?
I highly doubt Tyzun did anything other than compile against 1.7.9 which does NOTHING to handle UUIDs. I would advise that nobody use his version.
@ThornsOfire
Dear Tyzun, I would be so glad if you could giv it to us!!!!!!!!
@Tyzun
Yep, please share with us, I need it so much ! :S
@Tyzun
Oh really now? Do share, I would be forever grateful! :)
Using jd-gui and eclipse I updated plugin to 1.7.9. It has taken two minutes to do it. But author can't do it for so long time.
multiinv depends on tuxtwo so it just runs since tuxtwo is there, and i guess multiinvs dependencies aren't outdated and simply function
@laacis2
I'm using TuxTwoLib on 1.7.9 and it says that it incompatible with the current version of craftbukkit, so it's funny thats it works on 1.7.9 anyway. if you made it work, can you tell, cause this would solve a lot of peoples problems. and multiinv works indeed.
confirmed tuxtwolib and multiinv working on 1.79. -possible bug- skeletons don't drop armor. Still can't figure out which plugin causes this, but it's unusual behavior.
I really need this update. please!!!
Is there gong to be an update soon so that this works right with 1.7.9? There are a lot of people that are in need of this update.
Thanks.
@Plumeex
nope, for me "clients" are our players...
@laacis2
I don't have any severe bugs but I keep track of MV posts and discovered the one below....
@lachlan0977
MV Inventories allows players to "sneak" items with enderchests from one world to another I'm told.
[ rant ]
Everyone, please be patient, the very 1st "beta" version of 1.7.9 was just recently released. The UUID change is not a trivial matter and those owners that made the switch to 1.7.9 are most-likely doing so not realizing what they are doing or the mess they are about to face.
Plugin authors are well within their time window to make a release after a beta version of CB is released. There was a time when authors didn't bother with buggy beta releases and waited for more stable "recommended" releases before updating their plugin. However, massive changes in server code has kept recommended builds from showing up. So please be patient and also realize that going from 1.7.2 to 1.7.9 is probably not even buying you anything at the moment.
Tux2 has already said he's working on the UUID update. There really isn't anything more that needs to be said...except just be glad this has not been abandoned like so many other plugins. :)
[ /rant ]
@Tux2, got a 1.7.9 build ready for us yet?!?!?!?!? LoL
LHammonds
@srod69 "Clients"? Did you pay for this?
Are you REALLY working on the update ? Because we're waiting for you to update your plugin, and then we will be able to switch to 1.7.9... The more time you wait to finish and upload the update, the more clients you loose !
@ViscousSummer88
What version of multivers inventories are you using with 1.7.9
Also I get a message when starting my server that the tux2 library is not compatiple with my version of minecraft but multinv seems to work fine. Is there a problem just using it like that or should i change over the multivers inventories? I do not want to down grade the server from 1.7.9
Not to sound impatient, but is there an ETA on the 1.7.9 update?