TabAPI
TabAPI
Check it out in action! Join play.mc-sg.org
What is it
TabAPI is an API that is designed to allow developers make use of the Player Tab List in their plugins. It allows a simple way for Dev's to take control of it on a per-player basis to provide ingame stats, custom tab menus, hud's and more!
Examples
Requirements
This plugin requires Protocollib to function.
For Server Owners
If you are a server owner, then simply select the version that matches your server version and download it. This will allow plugins that use this API to take advantage of the API to change the tab list.
Plugins Using TabAPI
- SuperSpleef - When the New update is released.
- TabConfig - Fully Customizable Tab list!
- McMMO TabSkillz - View your McMMO skills on the tab!
- TabToTheMax - Customizable Tab List!
- More Coming Soon!
Limits
- The minecraft tab list does not support two tabs of the same content. So for example, if you set one square to "test" and anther to "test", only one will be displayed. A workaround for this is you can just add either spaces or color codes to the end to make them unique.
- the updatePlayer function has to clear the entire tab list and resend it due to mc just appending new packets to the end of the list. therefor, only call this functions as needed (ie once a loop is done, not in the loop), otherwise it will end up causing both lag and high bandwidth usage.
- Currently only supports tab list with three columns (dev release issue)
- Currently If no plugin takes control of the tab list, it will show a blank list instead of the default player list (dev release issue)
Graphics and Page design by Malo
Please develop this plugin with Java 6. CraftBukkit uses Java 6 and so anyone using Java 6 can't use this plugin.
http://paste.ubuntu.com/5731705/ help me :/ this error happens infrequently.
@ImTotallyTechy
Use tabdeco
Hey, my tab list is normally 2 wide, can you guys adapt the plugin so we can make it as wide as we please?
Can you please update this plugin for 1.5.2? This plugin is so nice but it doesn't work for Craftbukkit-1.5.2R0.1...
how are u people making this work on cb 1.5.2
you plugins are awesome !
can someone please tell me why it won work with cb 1.5.2
Can someone please explain to me why TabAPI.disableTabForPlayer(Player); does not reset the Tab list back to normal?
This does not work for the latest bukkit dev version. I even tried it on spigot because the dev runs his server with that so I decided to try it but still says its not up to date in the console :P
@Lakeshadow0
Survival Games, same author as this
@leonvakt
nvm
And i have Protocollib
I dont get the config file!!!
@aadnk
Well, the player didn't log out, it happens as soon as they log in.
@matthijs110
Anyone??
@Lakeshadow0
The idea is for plugins such as TabAPI to catch PlayerLoggedOutException directly, probably by cleaning up after the player. It's just the easiest way for ProtocolLib to inform a plugin that a player has logged out and the packet has been rejected, without breaking compatibility.
So - just wait for TabAPI to be updated.
Would anyone know why I recieve this error in the console whenever a player joins and the tab attempts to set and update?
If you need the whole error from the console: http:pastebin.com/Sm1ka2Y1
This is for the protocolLib, the error comes from there, but it's used by this plugin, though, so should I actually head over to their project page to seek help? I haven't had any other issues with the protocolLib plugin except from this plugin.
@sammyben I assume it's because you don't have the max players set to the correct amount? Try setting it to 60 in your server properties file. Does this help?
my tab list shows up as just one column