Sueta
VI

VirtualTag - Customize the player's NameTag

1.0.11

Customize the prefix,suffix of the nametag

·Plugin

VirtualTag

VirtualTag is a NameTag Edit plugin for modern minecraft server, It can change the name tag on the top of the player's head, and you can modify the prefix and suffix as you want!

Links:

Features:

  • Packet Based, It will not affect your scoreboard
  • API, You can call the API to set the player’s Tag
  • PlaceholderAPI support
  • Easy to config

Dependency: ProtocolLib

Screenshots:


Commands:
/vt groups - Show all defined groups
/vt reload - Reload config

API:

API
object VirtualTagAPI {
    @JvmStatic
    fun setPlayerTag(player: Player, prefix: String, suffix: String) {
        virtualTag().tagHandler.setPlayerTag(
            player, Tag(
                prefix = prefix,
                suffix = suffix
            )
        )
    }

    @JvmStatic
    fun removePlayerTag(player: Player) {
        virtualTag().tagHandler.removePlayerTag(player)
    }

    @JvmStatic
    fun getPlayerCurrentTag(player: Player): Tag? = virtualTag().tagHandler.getPlayerCurrentTag(player)
}

If you have any questions, please go to the Discord server for help! Do not report errors in the Review!

Similar projects

Plugin →