Skip to content
This repository has been archived by the owner on Aug 9, 2020. It is now read-only.
/ TabsTag Public archive

A simple tab tag to Minecraft Servers, see the documentatio on website

License

Notifications You must be signed in to change notification settings

Kewilleen/TabsTag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TabsTag

Codacy Badge Build Status Discord

A simple plugin that allows players to have a tag on the tablist, tag on the player's head and I added the health icon below the nickname

Summary

System requirements

To run it is necessary that you have the following contents installed:

  • JRE 8 or higher.

Getting-started

Add the plugin in your server/ folder and use permission tabstag. to give player access In the setup, you'll see the tags and their formats

Configuration

Tags:
  #default is to any player
  default: "&r"
  #add tags creating below it
  vip: "&e"
  #to remove, just keep it empty

Events

If you want developer a plugin and need tag in tab, use it. I create an example to get tag from SimpleClans

PlayerSetTagEvent -> set your tag
PlayerRemoveTagEvent -> remove tag

Simple examples

Usign PlayerSetTagEvent:

@EventHandler
private void onSetTag(PlayerSetTagEvent event) {
    if (event.getPlayer().getName().equalsIgnoreCase("yourname"))
        event.setTag("§r[§cTest§r]");
}

In this example I created a plugin with SimpleClans, so I had the tag automatically

Tablist:
alt text

Player's head:
alt text