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.
Ah, we need a 1.7.9 version of the Library... :)
@laacis2
MultiVerse Inventories is no longer updated or maintained. They have said there could be some bad effects if being run on a production server. So, it is at your own risk to use it. MultiInv as it is now will work fine on 1.7.9. The only reason an update would be needed to to add the support for the name changes, which is not even until 1.8.
@MCTylerPVP
are you SURE it works flawlessly, and some hiccups won't send your server into severe technical difficulties, when your players start walking around survival world with your CREATIVE inventory? =)
@laacis2
Multi-Verse Inventories works just fine and was able to trim my plugin impact by two, sorry Tux-two, couldn't wait forever.
@MCTylerPVP
with your permission i would laugh at your face for this one.
My server still runs 1.75, and nobody has ever mentioned 1.79 as needed or anything. Yeah, i am waiting for tuxtwo too. But as you said. If a user wants to play the server, they will switch to 1.75
No worries, if a user wants to play the server they just have to take a sec and switch their client to 1.7.5, no big deal!
[Edit] I went ahead and switched to Multi-Verse inventory plugin as a temp fix.
@Tux2
"I can't wait" :p
Need just your lib and multi-inv to upgrade 1.7.9 !
I hope you don't have too many problems,
Good luck !
@Flexo013 @PorkyFish14 @harryjamesuk @Vivi_Coral @x_pipehitter_x
An update is in the works! Thanks to Minecraft switching to UUIDs however, this update is taking a bit longer than the others. Please be patient as I handle the updates.
@thomasvt1
Quick hacks aren't going to cut it for this update due to the UUID switch.
Please update to 1.7.9.
Edit: Seems like Bukkit doesn't like a helping hand..
Anyone here know Java that can make their own update ASAP?
Also waiting for a 1.7.8 update :)
@x_pipehitter_x
@PorkyFish14
x3.
When possible Tux2 please update to 1.7.8 as CraftBukkit have released a dev build.
Thanks and regards :)
@PorkyFish14
x2!! This is the last plugin I need updated so I can upgrade to 1.7.8. When you get the time, pretty please, and thanks! :D
Need an update for 1.7.8.
@MCTylerPVP
Alright, it might be the config then? (Everything was set to true)
I deleted the config file so that it will be regenerated on next server restart, I'll check if the error still appears tomorrow :) Thanks for checking
EDIT: Yes! The error message does not appear now :)
@spetznack
I'm getting absolutely no errors...I'll check yours out.. No, I'm not sure whats going on there...
Looks like a new error shows up in the logs at startup:
https://gist.github.com/spetznack/033b370bd2d1b0987d6e
The message has shown up the past two days now for me so I wouldn't think the bukkit.dev side is down? :s
Anything I can do to fix this?
Thanks for updating. :)
@Tux2
You should setup a Jenkins for dev builds, so we can download faster