TabsTag 1.0

A simple tab tag to Minecraft Servers

  1. Kewilleen
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.8
    Source Code:
    https://github.com/Kewilleen/TabsTag
    Languages Supported:
    pt_br, en_us
    [​IMG]
    Hi guys, for along time i has stopped programming in Java because i was focusing more on work. I was fired from the company and to financially survive i started get projects. Well, today i will be making avaliable an open-source project and i accept suggestion to improve the project.

    The TabsTag plugin aims to have a place tag on the tablist and on the player's head. I also provide the health icon below nickname. Well, this plugin is not new, as several servers use a service similar to this one.Every time I needed to do an implementation, I needed to grant permission to set the tag. Idealizing this, I developed this plugin that consists of defining a tag without permission, however, using a plugin event. No further ado, follow below the plugin structure

    Commands:
    / tabstag - Displays all commands (use / tt for shortcut)

    Permission:
    The permission is based on the plugin's configuration, so if we have a VIP on the server and want to change the color of the player's representative. Add the tabstag permission. <format> the example below shows the permission as tabstag.vip

    Code (YAML):
    Tags:
      default
    : "&r"
      VIP
    : "&e"
    Developers:
    There are two custom events:

    Code (YAML):

    PlayerSetTagEvent -> set a tag
    PlayerRemoveTagEvent -> remove a tag //maybe i removed in future
     
    This plugin, we don't need check player has permission, so, if you are creating a plugin and need set a tag, just use the below format:

    Code (Java):

    @EventHandler
    private void onSetTag(PlayerSetTagEvent event) {
       if (event.getPlayer().getName().equalsIgnoreCase("yourname"))
           event.setTag("§r[§cTest§r]");
    }
     
    An example in use, is an extension to the SimpleClans plugin, where set a automatity tag, use the ClanTag.

    [​IMG]

    [​IMG]

    Did you like the project? Give a star in GitHub :love: