The methods to call TabAPI are all listed below!
- Tested Minecraft Versions:
- 1.8
- 1.9
- 1.10
- Contributors:
- IModZombies4Fun, double0negative
This current version is currently only for minecraft 1.1
If you are using version 1.9 download version 3.6.0 which includes the TabAPI.jar and 1.9 ProtocolLib, if you are running any version of 1.8 use version 3.5.0 which includes TabAPI jars for 1.8.1 - 1.8.8 as well as the ProtocolLib.jar file needed. Add these plugins to your projects buildpath and server and you will be set!
Version 3.5.5 is the most stable version and is the most recommended to use!
Methods:
Code (Text):- TabUtils.sendTabHeaderFooter(Player player, String header, String footer)
Sends a player a tab header and footerCode (Text):- TabUtils.sendTabHeader(Player player, String header)
Sends a player a tab headerCode (Text):- TabUtils.sendTabFooter(Player player, String footer)
Sends a player a tab footerCode (Text):- TabAPI.clearTab(Player p)
Clears the tab for the playerCode (Text):- TabAPI.disableTabForPlayer(Player p)
Resets tab list to normalCode (Text):- TabAPI.getHorizSize()
Method deprecatedCode (Text):- TabAPI.getVertSize()
Method deprecatedCode (Text):- TabAPI.getHorizSize(int protocol)
Uses the players protocol version of 47 or higher and returns horiz sizeCode (Text):- TabAPI.getVertSize(int protocol)
Uses the players protocol version of 47 or higher and returns vert sizeCode (Text):- TabAPI.getSlotId(int x, int y)
returns the slot numbersCode (Text):- TabAPI.resetTabList(Player p)
Resets the tab list for a playerCode (Text):- TabAPI.setPriority(Plugin plugin, Player player, int priority)
-2 = no longer active, -1 = backround only show if nothing else is there, 0 = normal, 1 = high, 2 = highest and always showCode (Text):- TabAPI.setTabString(Plugin plugin, Player p, int x, int y)
Set the tab list for a playerCode (Text):- TabAPI.setTabString(Plugin plugin, Player p, int x, int y, String msg)
Sets the tab list for a player with a message in the specific slot (x, y)Code (Text):- TabAPI.setTabString(Plugin plugin, Player p, int x, int y, String msg, int ping)
Sets tab list with addition of the slots pingCode (Text):- TabAPI.setTabString(Plugin plugin, Player p, int x, int y, String msg, int ping, WrappedGameProfile gameProfile)
Sets tab list with addition of the gamer profileCode (Text):- TabAPI.updateAll()
Upates the tab list for all online players, should be used after setting the tab listIf this helps you it would make my day to leave a nice review or comment!Code (Text):- TabAPI.updatePlayer(Player p)
Updates the tab list for a specific player, should be used after setting the tab list
Disclaimer*
I am not the original author of TabAPI, I just updated it to support 1.8 as well as for developers to be able to use it in their projects.
Known Bugs:
- Players names are set near bottom of Tab list
- On right side of the tab there are 2 small white lines.
These bugs should not affect the use of TabAPI.

TabAPI 3.6.1
This is the updated TabAPI for 1.8/1.9/1.1
-
Ronneke1996, ZetaGaming, Speed_Too and 4 others like this.
Recent Updates
- Updated to 1.1 Jun 30, 2016
- Updated to 1.9.4 Jun 2, 2016
- 1.9 Update Mar 12, 2016
Recent Reviews
-
gyurix
- 2/5,
So I am rating your source code :)
- Inefficient data handling way (TabUtils:48 and TabUtils:53), you are always finding these 2 fields, which tooks a long time, so you should cache them instead, because that might cause a little lag when someone makes an animated Tab header-footer using your API.
- The TabAPIs updatePlayer updates everything, not just the changes. This causes unexpected tab blinking and a huge amount of performance lose. Please make your plugin more efficient :) -
LosTigeros
- 1/5,
[TabAPI] Unhandled exception occured in onPacketSending(PacketEvent) for TabAPI
Its not working on 1.9.4 and on 1.9.2 -
WillFTW
- 1/5,
Could not pass PlayerJoinEvent... Please help me. I added the Tab Header and Footer bit to my onJoin event and it keeps breaking :| PLEASE HELP
-
Lanbert_MC
- 5/5,
This is amazing !!!
This help alot Thanks :D
So Cool (....................................) ignore this! -
IJMX
- 2/5,
Plugin works fine for setting tab string, but if I use the format with sendTabHeader or sendTabFooter, console gives me an error saying that it could not pass event PlayerJoinEvent please help!
-
Author's Response
Sorry about that, I haven't had time to update to newest 1.9 build yet
-
TheGamingMoons
- 5/5,
Good coding! Helped a lot! Thnx m8 very good work! :) GG on this!
Thnx for doing this for people. Thx -
CodeForum
- 5/5,
I just want to thank you for this. Let people see this, it's so nice and I'm glad that you want to share it with us!!
-
FiXed
- 5/5,
Can you post it on git, I'd like to know what you used to set priority of a player, sounds like an amazing idea :P
-
Author's Response
I do not have any plans at the moment to post this to github sorry
-
NickAc
- 5/5,
Thanks for updating this plugin.
When I first saw this plugin, I started thinking it was fake, but it worked!
Thanks a lot bro!-
Author's Response
:D So glad to hear that! Just know that it is a API and does nothing on its own
-
Lazertx
- 5/5,
Really appreciate the time you put in to update the plugin because I was about to start updating it for myself.
-
Author's Response
Glad to help!