ModsJava
[API] TabListAPI
Java mod listed for Minecraft 1.7–1.9. Download on the author's site.
⬇ Download on SpigotThis API allows you to easily modify the Tablist.
Features
Usage
![[IMG]](//proxy.spigotmc.org/1650c4a34183f3d51239ebe374f156063add4423?url=http%3A%2F%2Fi.imgur.com%2FyFA6emR.png)
Header/Footer
Items
If you want to modify the Tablist when a player joins, you should do it after a delay of a few ticks
Maven
Links
Features
- modify header and footer text
- modify entries
- independent skin icons
- (skin name can be different from the displayed name)
Usage
![[IMG]](http://proxy.spigotmc.org/1650c4a34183f3d51239ebe374f156063add4423?url=http%3A%2F%2Fi.imgur.com%2FyFA6emR.png)
Header/Footer
Code (Java):
public
void setHeaderAndFooter
(Player player
)
{
TabAPI. setHeader (player,
"§9Welcome to the server, ",
"§a" + player. getName ( ) + "!" ) ;
TabAPI. setFooter (player,
"§2Online players",
"§7" + Bukkit. getOnlinePlayers ( ). size ( ) + "§8/§6100" ) ;
}
TabAPI. setHeader (player,
"§9Welcome to the server, ",
"§a" + player. getName ( ) + "!" ) ;
TabAPI. setFooter (player,
"§2Online players",
"§7" + Bukkit. getOnlinePlayers ( ). size ( ) + "§8/§6100" ) ;
}
Code (Java):
public
void setItems
(Player player
)
{
TabAPI. clearAllItems (player ) ; //Remove all items
TabAPI. setItems (player, Arrays. asList ( //Add our custom items
new TabItem ( "§0§c§lAdmins" ),
new TabItem ( "§1§fYou!" ) ) ) ;
}
TabAPI. clearAllItems (player ) ; //Remove all items
TabAPI. setItems (player, Arrays. asList ( //Add our custom items
new TabItem ( "§0§c§lAdmins" ),
new TabItem ( "§1§fYou!" ) ) ) ;
}
If you want to modify the Tablist when a player joins, you should do it after a delay of a few ticks
Code (Java):
Bukkit.
getScheduler
(
).
runTaskLater
(plugin,
new
Runnable
(
)
{
@Override
public void run ( ) {
setHeaderAndFooter (player ) ;
setItems (player ) ;
}
}, 10 ) ;
@Override
public void run ( ) {
setHeaderAndFooter (player ) ;
setItems (player ) ;
}
}, 10 ) ;
Maven
Code (XML):
<repositories>
<repository>
<id>inventive-repo </id>
<url>https://repo.inventivetalent.org/content/groups/public/ </url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.inventivetalent </groupId>
<artifactId>tabapi </artifactId>
<version>1.1.1 </version>
</dependency>
</dependencies>
<repository>
<id>inventive-repo </id>
<url>https://repo.inventivetalent.org/content/groups/public/ </url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.inventivetalent </groupId>
<artifactId>tabapi </artifactId>
<version>1.1.1 </version>
</dependency>
</dependencies>
Links
Code (spiget-meta (Unknown Language)):
SlZOd2EkUm9kI1J3YW1GeUooVWtXa2QzZFdGPk4rSmFWelV3WVZoYWJHUiNSbk5hVnpVdytHMDVlVnAzUCswa0okUk1NMEp6WkZka2NHSnBPRDBrSiRSalIzZypXakpzZFZ7V1VtaFphM2h3WXpOJFFsVkZhMjFrYlZaNVl6SnNkbUpxTUcqa2JWWjVZekpzZG1KcFYrMGtSMlYwSlE9PQ==
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
[API] TabListAPI is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9. Downloaded 5,457 times (via Spigot). Download it and open it directly in the game.