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.9!

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

  1. 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!
  2. 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.)
  3. Run your server as you usually would.
    • Typically this involves a run script or an admin panel. (this part is very important)

For Developers

  1. 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!
  2. 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)
  3. 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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of seema23 seema23 Jun 25, 2016 at 01:13 UTC - 0 likes

    @orgin_org: Go

    yes, perworldinventory

  • Avatar of sangen48 sangen48 Jun 24, 2016 at 19:09 UTC - 0 likes

    @Ubique1964: Go

    HAHAHAHAAAAAAA...

  • Avatar of orgin_org orgin_org Jun 23, 2016 at 10:30 UTC - 0 likes

    Just out of curiosity, what is it that is holding back an update for this plugin?

    Could whatever this plugin is doing be added to spigot directly so that it could be updated together with spigot?

    Anyone got a tip for a replacement for the MultiInv plugin?

    My server: colonies-playground.com

    Website: www.colonies-playground.com ZBDHbbb47759a5e2b8e46d6365939e09af16

  • Avatar of Ubique1964 Ubique1964 Jun 22, 2016 at 07:34 UTC - 0 likes

    @sangen48: Go

    Typical [email protected] response, you can stop arse kissing anytime dude

    Last edited Jun 22, 2016 by Ubique1964

    Check out our Minecraft server at: mineoz.net ........... GET PAID: We require Admins and Moderators Apply at ClanRekt

  • Avatar of Geant200 Geant200 Jun 21, 2016 at 22:22 UTC - 0 likes

    Hello An update to be? for 1.1.

    I Thank You in advance.

  • Avatar of TheLastDogMiner TheLastDogMiner Jun 19, 2016 at 20:22 UTC - 0 likes

    will you be updating this (and preferably alongside disguisecraft) for 1.10? I would like to use it for my server but have no way to use a 1.9 plugin

  • Avatar of sangen48 sangen48 Jun 19, 2016 at 18:06 UTC - 0 likes

    @Ubique1964: Go

    Learn Java, and make your own update of TuxTwoLib, while waiting for official update... at your own risks. Or be patient and keep your server in 1.9... This plugin is free, developped on free time.

  • Avatar of Icee29604 Icee29604 Jun 19, 2016 at 00:35 UTC - 0 likes

    @Ubique1964: Go

    I agree!

    Join my Minecraft Server, NuggetNet, with the IP nuggetnet.mc-server.net! Register on the website at nuggetnet.enjin.com. Join the Network today! NuggetNet

  • Avatar of Icee29604 Icee29604 Jun 19, 2016 at 00:34 UTC - 1 like

    Hey Tux,

    Just wondering when TuxTwoLib will be compatible for 1.10. :)

  • Avatar of Ubique1964 Ubique1964 Jun 18, 2016 at 23:36 UTC - 0 likes

    @EvlCreeperReaper: Go

    I'm not, it needs to be updated ASAP because I cant update my server without it.

    Maybe we need to start looking at alternate plugins with no dependencies instead of waiting for a plugin to be updated so we can update our servers.

    Sorry Tux but it's the truth mate, every time MC is updated we are held to ransom for other plugins to be updated so our dependencies work

Facts

Date created
Dec 08, 2012
Category
Last update
Feb 29, 2016
Development stage
Release
License
GNU Lesser General Public License version 3 (LGPLv3)
Curse link
TuxTwoLib
Downloads
385,892
Recent files

Authors