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
What plugin is used at the 1st image?
Video tutorial pleassssssseeeeee
@dotapurex1
Probably a private plugin.
Not all coders share their work with the world
I tried to install this I am getting the same issue and same error as beastlike56. Can anyone help?
@Pixiyo
That isn't exactly all the options it can display though?
@dotapurex1
http://www.spigotmc.org/resources/tabconfig.41/
Does anyone know what kind of tablist this is?
http://imgur.com/sqYBkpz
Massive Issues: http://pastebin.com/Da9fHAgu
@DOMAASS
You need to download the latest java 7 update here's the link.
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
It worked for me.
I want to use this for one of my plugins but it seems even after I call
TabAPI.disableTabForPlayer(Player);
it shows all tabs as blank. How would I show the default tab view of players online after I am done showing what I want?
Please update this plugin ;(
@DOMAASS
Seems like this plugin is compiled in java 7
25% off all servers still u8se Java 6.
Please help fix this error:
2013-04-21 01:29:44 [SEVERE] Could not load 'plugins/TabAPI.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: org/mcsg/double0negative/tabapi/TabAPI : Unsupported major.minor version 51.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugins(CraftServer.java:239)
at org.bukkit.craftbukkit.v1_5_R2.CraftServer.<init>(CraftServer.java:217)
at net.minecraft.server.v1_5_R2.PlayerList.<init>(PlayerList.java:55)
at net.minecraft.server.v1_5_R2.DedicatedPlayerList.<init>(SourceFile:11)
at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:105)
at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:381)
at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.UnsupportedClassVersionError: org/mcsg/double0negative/tabapi/TabAPI : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173)
... 9 more
2013-04-21 01:29:44 [SEVERE] Could not load 'plugins/TabConfig.jar' in folder 'plugins'
org.bukkit.plugin.UnknownDependencyException: TabAPI
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:195)
at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugins(CraftServer.java:239)
at org.bukkit.craftbukkit.v1_5_R2.CraftServer.<init>(CraftServer.java:217)
at net.minecraft.server.v1_5_R2.PlayerList.<init>(PlayerList.java:55)
at net.minecraft.server.v1_5_R2.DedicatedPlayerList.<init>(SourceFile:11)
at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:105)
at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:381)
at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
@HelGod
I made this small method to correct a string with invisible additions if it allready exists in a list of strings (Ths list should be the entire tab items)
Get it here: http://pastebin.com/Yq5tn7jm ATM i have 51 different options, incase of 51 the same tab items. Remeber, your string cannot be > 16, so it wont always work!
Cool!
What would be the best way to do a tablist with the same colors??
major error - http://pastebin.com/Luf1EYPW
@bozer1212
you need to use another plugin along with this one...
showing -1/-1 players online
Are we suppose to get a Config with this because i have Ni Folder called TabAPI IN my plugins and My Tablist on the server is BLANK!
Btw My server is: 98.206.59.41