CustomTabs

Abandoned
CustomTabs

CustomTabs is an API that allowes plugin developers to change the contents of the tab list. This plugin does nothing on its own.

Features

  • Easy changing of tab list for developers
  • Priorities per player

For server owners

This plugin does nothing on its own. It has no commands, permissions and configuration file. But other plugins need this plugin so that they can change the tab list of players easily.

Installation

You are here because another plugin said you should download this plugin? Then I say you that you need also ProtocolLib. Just download ProtocolLib, this plugin and the plugin you originally wanted to install and put these into your plugins folder.

For plugin developers

To use CustomTabs you need to download this plugin (and ProtocolLib for testing) and add CustomTabs to your build path like you added bukkit. Then add CustomTabs as a dependency to your plugin.yml. Now you can use these methods to change the tab of the players:

Tab tab = CustomTabs.getTabManager().getTab(yourPlugin, player);
tab.setPriority(integer); // highest priority is shown
tab.getField(y, x).setString("UpTo16chars-----"); //Color codes supported
tab.setNormalPlayerListStart(x,y);
tab.removeNormalPlayerList();
tab.updatePlayer(); // resends the tab list to the player, so the changes are shown

The CustomTabs Team

profile avatar
  • 5
    Projects
  • 4.9K
    Downloads

More from _ForgeUser8682013View all