Home›Java›Mods›TabAPI
The methods to call TabAPI are all listed below! :)

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 footer
Code (Text):
- TabUtils.sendTabHeader(Player player, String header)
Sends a player a tab header
Code (Text):
- TabUtils.sendTabFooter(Player player, String footer)
Sends a player a tab footer
Code (Text):
- TabAPI.clearTab(Player p)
Clears the tab for the player
Code (Text):
- TabAPI.disableTabForPlayer(Player p)
Resets tab list to normal
Code (Text):
- TabAPI.getHorizSize()
Method deprecated
Code (Text):
- TabAPI.getVertSize()
Method deprecated
Code (Text):
- TabAPI.getHorizSize(int protocol)
Uses the players protocol version of 47 or higher and returns horiz size
Code (Text):
- TabAPI.getVertSize(int protocol)
Uses the players protocol version of 47 or higher and returns vert size
Code (Text):
- TabAPI.getSlotId(int x, int y)
returns the slot numbers
Code (Text):
- TabAPI.resetTabList(Player p)
Resets the tab list for a player
Code (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 show
Code (Text):
- TabAPI.setTabString(Plugin plugin, Player p, int x, int y)
Set the tab list for a player
Code (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 ping
Code (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 profile
Code (Text):
- TabAPI.updateAll()
Upates the tab list for all online players, should be used after setting the tab list
Code (Text):
- TabAPI.updatePlayer(Player p)
Updates the tab list for a specific player, should be used after setting the tab list
If this helps you it would make my day to leave a nice review or comment!

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.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

TabAPI is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10. Downloaded 9,370 times (via Spigot). Download it and open it directly in the game.

Explore more