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
To run it is necessary that you have the following contents installed:
- JRE 8 or higher.
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
Tags:
#default is to any player
default: "&r"
#add tags creating below it
vip: "&e"
#to remove, just keep it empty
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
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