🏷️ Nametags

Usage

In order to use this plugin you need

Then you can edit settings.yml to customize the plugin according to your needs

settings.yml
nameTags:
  staffer:
    permission: nametag.staffer
    lineGroups:
    - lines:
      - '%luckperms_prefix% %player_name% %luckperms_suffix%'
      modifiers:
      - type: global
        enabled: true
    background:
      type: integer
      enabled: true
      opacity: 255
      shadowed: true
      seeThrough: false
      red: 255
      green: 0
      blue: 0
  default:
    permission: nametag.default
    lineGroups:
    - lines:
      - '%luckperms_prefix% %player_name% %luckperms_suffix%'
      modifiers:
      - type: global
        enabled: true
    - lines:
      - Rich Player
      modifiers:
      - type: conditional
        parameter: '%vault_eco_balance%'
        condition: '>'
        value: '1000'
    background:
      type: hex
      enabled: false
      opacity: 255
      shadowed: false
      seeThrough: false
      hex: '#ffffff'
# The default billboard constraints for the nametag. CENTER, HORIZONTAL, VERTICAL, FIXED)
defaultBillboard: CENTER
taskInterval: 20
# This is opacity that will be applied to the nametag when a player sneaks. So, the value is from -128 to 127. 
# Similar to the background, the text rendering is discarded when it is less than 26. Defaults to -1, which represents 255 and is completely opaque.
sneakOpacity: 70
yOffset: 0.30000001192092896
viewDistance: 60.0
# Which text formatter to use (MINIMESSAGE, MINEDOWN, LEGACY or UNIVERSAL) 
# Take note that UNIVERSAL is the most resource intensive but it supports all formatting options (except for MINEDOWN) 

# (&x&0&8&4&c&f&bc LEGACY OF LEGACY - &#084cfbc LEGACY - &#084cfbc& MINEDOWN - <color:#084cfbc> MINIMESSAGE)
format: MINIMESSAGE
# Whether to disable the default name tag or not.
disableDefaultNameTag: false
removeEmptyLines: true
# Whether to see the NameTag of a user when pointing at them.
showWhileLooking: false

# Authors: AlexDev_

Lines

You can use PlaceholderAPI's placeholders wherever you want

You can use legacy formatting, Minimessage and even Minedown!

To "animate" your tags you can use Minedown or Minimessage gradient tags like

<!--MiniMessage https://docs.advntr.dev/minimessage/format.html#gradient -->
<gradient:#5e4fa2:#f79459:#phase-mm-g#> ||||| </gradient>
<rainbow:#phase-mm#>Test Rainbow</rainbow>

#phase-md# for MineDown)

#phase-mm-g# for MiniMessage used by Gradient and Transition tags

#phase-mm# for MiniMessage used by Rainbow tags

Background

enable

true -> trasparent background

false -> translucent background

seeThrough

true if you want to see nametags even behind blocks

Billboards

Limitations

NPC Plugins that use default nametag won't work, it's striclty advised to use a plugin that has an hologram mode for npcs:

  • There are problems with nametag visibility between blocks, this problem should be fixed by Mojang

Last updated