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.
-
View User Profile
-
Send Message
Posted Jan 7, 2019By the way, how can this be LGPL if there is no link to a repository or a source distribution.
-
View User Profile
-
Send Message
Posted Jul 27, 2018update please...1.13
-
View User Profile
-
Send Message
Posted Nov 26, 2018In reply to ohbonglee:
-
View User Profile
-
Send Message
Posted Jul 25, 2018Pls continue updating of it...
-
View User Profile
-
Send Message
Posted Jun 10, 2017This plugin has just been updated! Thanks Tux2.
https://dev.bukkit.org/projects/tuxtwolib/files/2431867
-
View User Profile
-
Send Message
Posted Jun 11, 2017In reply to Forge_User_67068344:
-
View User Profile
-
Send Message
Posted Jun 11, 2017In reply to Forge_User_37808113:
-
View User Profile
-
Send Message
Posted Jun 9, 2017Please someone update TuxTwoLib to 1.12, I don't know how to do and it's the only plugin that doesn't allow my server to be in 1.12 !
-
View User Profile
-
Send Message
Posted Jun 10, 2017In reply to Forge_User_37808113:
-
View User Profile
-
Send Message
Posted Dec 2, 2016@reezhu
1.11 wasn't an option when I uploaded the file. It's fixed now.
-
View User Profile
-
Send Message
Posted Jan 18, 2017Where is the version for 1.10
-
View User Profile
-
Send Message
Posted Jan 19, 2017If you look at the top of the page there's a tab named "files". If you click on it you can see links to all the versions of TuxTwoLib.
-
View User Profile
-
Send Message
Posted Dec 1, 2016@Tux2
Thank you, Tux! Please don't let MultiInv die.
-
View User Profile
-
Send Message
Posted Nov 30, 2016Thanks a lot for update!! BTW, seems there is a small mistake in "game version", it's still "1.10"
-
View User Profile
-
Send Message
Posted Nov 30, 2016Thanks!
-
View User Profile
-
Send Message
Posted Nov 27, 2016Just pushed the TuxTwoLib update for 1.11! Just give it some time to get processed.
-
View User Profile
-
Send Message
Posted Nov 24, 2016MultiInv crashes when players log out on 1.11. MultiInv's page says crashes are caused by TuxTwoLib being out of date.
[18:43:36 ERROR]: Could not pass event PlayerQuitEvent to MultiInv v3.3.6 org.bukkit.event.EventException
Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_10_R1/NBTBase Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_10_R1.NBTBase at uk.co.tggl.pluckerpluck.multiinv.inventory.MIItemStack.<init>(MIItemStack.java:64) [?:?] at uk.co.tggl.pluckerpluck.multiinv.inventory.MIInventory.<init>(MIInventory.java:34) [?:?] at uk.co.tggl.pluckerpluck.multiinv.player.MIPlayer.saveAll(MIPlayer.java:119) [?:?] at uk.co.tggl.pluckerpluck.multiinv.listener.MIPlayerListener.savePlayerState(MIPlayerListener.java:507) [?:?] at uk.co.tggl.pluckerpluck.multiinv.listener.MIPlayerListener.onPlayerLogout(MIPlayerListener.java:305) [?:?]
-
View User Profile
-
Send Message
Posted Nov 5, 2016I just uploaded a new build of TuxTwoLib, build 7 for 1.9,1.9.4 and 1.10! The files should be approved shortly.
-
View User Profile
-
Send Message
Posted Aug 10, 2016@sir_brando
You might want to consider Tux's post here
-
View User Profile
-
Send Message
Posted Aug 9, 2016@Tux2 @Devil_Boy
Tux2 and Devil_Boy. So glad you're still around. Don't let the creeps get you down. <3 ily.