Placeholders

placeholdervalue

%nameplates_prefix%

get player's nameplate prefix image

%nameplates_suffix%

get player's nameplate suffix image

%nameplates_time%

get the time in 12hours format

%nameplates_actionbar%

get the actionbar sent by other plugins

%nameplates_static_{0}%

get the static text

%nameplates_conditional_{0}%

get the conditional text

%nameplates_nameplate_{0}%

get the text surrounded with nameplate

%nameplates_background_{0}%

get the background text

%nameplates_offset_(integer value)%

get the offset images

%nameplates_vanilla_{0}%

get the vanilla like hud images

%nameplates_equipped_bubble%

get the equipped bubble

%nameplates_equipped_nameplate%

get the equipped nameplate

%nameplates_image_{0}%

get the images

%nameplates_descent_{0}%

get the descent text

%nameplates_unicode_{0}%

get the descent unicode

%nameplates_checkupdate%

get if the plugin is latest version

Conditional text

Conditional text will be judged based on priority, and return a string value

# %nameplates_conditional_{0}%
conditional-text:
  region:
    priority_1:
      text: '%nameplates_background_region%'
      conditions:
        papi-condition:
          condition_1:
            type: '!='
            papi: '%worldguard_region%'
            value: ""
    priority_2:
      text: ''

Nameplate text

The nameplate text will be surrounded by the specified nameplate

# %nameplates_nameplate_{0}%
nameplate-text:
  halloween:
    nameplate: halloween
    text: '<gradient:#FFD700:#FFA500:#FFD700>Today is Halloween! Trick or treat!</gradient>'

Background text

Background text will be surrounded by the specified background

# %nameplates_background_{0}%
background-text:
  prefix:
    background: bedrock_1
    text: '%vault_prefix% %nameplates_descent_player%'
    remove-shadow: true

Static text

Static text will fix the position of a segment of text within the specified width range

# %nameplates_static_{0}%
static-text:
  money_hud:
    # left/right/middle
    position: right
    text: '<#FFFEFD>%nameplates_image_coin%</#FFFEFD> %nameplates_descent_money%'
    value: 180

Descent text

Descent text will assign a downward offset attribute to the text

# %nameplates_descent_{0}%
descent-text:
  player:
    text: "%player_name%"
    descent: 5

Descent unicode

Not all the characters are supported in "Descent text", but in "Descent unicode" it does. Use this when it's really necessary because it would create large font files.

# %nameplates_unicode_{0}%
descent-unicode:
  hello:
    text: "Hello 여보세요 你好 こんにちは"
    descent: 5

Vanilla hud

Create a hud like vanilla MC

# %nameplates_vanilla_{0}%
vanilla-hud:
  stamina_hud:
    reverse: true
    images:
      empty: "%nameplates_image_stamina_0%"
      half: "%nameplates_image_stamina_1%"
      full: "%nameplates_image_stamina_2%"
    placeholder:
      # value/max-value can be placeholders
      value: '1.1'
      max-value: '2'

Last updated