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






-
View User Profile
-
Send Message
Posted Mar 29, 2013@frdfsnlght
add more slots.
-
View User Profile
-
Send Message
Posted Mar 27, 2013@realiez
{displayname}
-
View User Profile
-
Send Message
Posted Mar 27, 2013Does anyone have any fixes to the pinging issue with bungee?
-
View User Profile
-
Send Message
Posted Mar 26, 2013Well, I would like to add TagAPI as a dependency. I have a Maven project and no idea how to add it
-
View User Profile
-
Send Message
Posted Mar 25, 2013This is probably a stupid question, but the tab list in my client is single column, not 3 columns as shown in the various screenshots. And this plugin's code has 3 columns hard-coded.
How do I get 3 columns displayed in my client?
-
View User Profile
-
Send Message
Posted Mar 25, 2013Isn't it confusing that it is Y by X rather the X by Y when setting the tab list contents...
-
View User Profile
-
Send Message
Posted Mar 24, 2013How do you get it to show your in game rank?
-
View User Profile
-
Send Message
Posted Mar 21, 2013Update for 1.5? :D Please? :D
-
View User Profile
-
Send Message
Posted Mar 21, 2013@bestlike2
cus tab list is limited and if you try to go above 60 it spams array out of bound. So you have to limit it to around 60.
-
View User Profile
-
Send Message
Posted Mar 17, 2013Getting this spammed at me:
[SEVERE] java.lang.ArrayIndexOutOfBoundsException 16:34:46 CONSOLE: [SEVERE] java.lang.ArrayIndexOutOfBoundsException 16:34:46 CONSOLE: [SEVERE] java.lang.ArrayIndexOutOfBoundsException 16:34:48
Plugins: RealWeather, ColourMotd, GroupManager, BukkitCompat, AllNewJoin, EzSoup, Buycraft, MoarStuff, Vault, AntiRelog, Wither, ExtraExplosion, FusionMessage, TradeMod, Shopkeepers, CraftBay, Permissions, AntiAdvertising, FancyText, PluginSpy, DrugMeUp, Tracking-Plugin, ProtocolLib, PlayerVaults, Votifier, MobArena, mcMMO, TabAPI, GAListener, HardZombies, ChunkFixer, Citizens, LagMeter, HideStream, WorldEdit, NoCheatPlus, TagAPI, MineStats, SimpleExtras, MCdigr, FireWorkLogin, PlayerHeads, BloodMoon, WorldGuard, PvPTimer, boosCooldowns, mChatSuite, WGRegionEvents, BorderGuard, NoEnderChest, OPLock, FusionDamage, BKCommonLib, SmartServerTool-Recipes, MonsterFix, ZavAutoMessager, Auto arm, FirstJoinPlus, NewRecipes, Essentials, TabConfig, SilkSpawners, DisguiseCraft, NoLagg, EssentialsChat, EssentialsProtect, EssentialsSpawn, EssentialsAntiBuild, Factions, MobDisguisePVPControl, FactionTagPlayer
-
View User Profile
-
Send Message
Posted Mar 16, 2013@MaloCrafted
Latest Bungee (Netty) and pinging doesn't work.
-
View User Profile
-
Send Message
Posted Mar 15, 2013Works with 1.5!
-
View User Profile
-
Send Message
Posted Mar 15, 2013Please update for 1.5
-
View User Profile
-
Send Message
Posted Mar 13, 2013@ImTheFool
Well Thx Anyway, ill keep trying
-
View User Profile
-
Send Message
Posted Mar 12, 2013@Banks_Nussman
Really? Strange. It fixed mine D:.
-
View User Profile
-
Send Message
Posted Mar 12, 2013@ImTheFool
Did Not Work :(
-
View User Profile
-
Send Message
Posted Mar 11, 2013I found out why it's displaying in the top left.. It's the colored tablist names from the plugin "ColorMe". Will support for this be added?
-
View User Profile
-
Send Message
Posted Mar 11, 2013@MaloCrafted
I wasn't disguised as anyone in this situation.
-
View User Profile
-
Send Message
Posted Mar 11, 2013For those of you getting the org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: I've recompiled this plugin using Java 6. This is likely your problem. You can get it here: https://mega.co.nz/#!iYITQCQC!FzP-LSi4nHvMQOS-vhySOTdQLFBADaHjhvANoepU1Ts.
-
View User Profile
-
Send Message
Posted Mar 10, 2013I am having trouble using this and I was wondering if you could help me. Here is my code :
TabAPI.setPriority(plugin, player, 2);
TabAPI.updatePlayer(player);
TabAPI.setTabString(plugin, player, 0, 0, ChatColor.RED+"Red Team");
TabAPI.setTabString(plugin, player, 0, 1, "Bases: 0"+0);
TabAPI.setTabString(plugin, player,0, 2,"Score: 0"+0);
TabAPI.setTabString(plugin, player,1, 0, "");
TabAPI.setTabString(plugin, player, 1, 1, "");
TabAPI.setTabString(plugin, player,1, 2,"");
TabAPI.setTabString(plugin, player,2, 0, ChatColor.BLUE+"Blue Team");
TabAPI.setTabString(plugin, player, 2, 1, "Bases: 0"+0);
TabAPI.setTabString(plugin, player,2, 2,"Score: 0"+0);
TabAPI.updatePlayer(player);

And here is what the tab ends up looking like :