Nameplate

Basics

Nameplate is made up of three parts: left middle and right. The left and right parts will be distributed on both sides of the player name, while the middle part will copy itself to fit the length of the player name.

If the leftmost and rightmost sides of the nameplate are not covered by pixels, minecraft will automatically delete those transparent parts, so you need to add two inconspicuous translucent pixels on both sides of the nameplate to prevent them from being automatically deleted, Otherwise, the nameplate will display abnormally.

Add a new nameplate configuration

Nameplate config contains three images and a yaml config file.

name-color: WHITE
display-name: Sad Cat
left:
  image: cat_left
  height: 16
  ascent: 12
  width: 16
middle:
  image: cat_middle
  height: 16
  ascent: 12
  width: 16
right:
  image: cat_right
  height: 16
  ascent: 12
  width: 16

name-color: **Only works in team mode** Support legacy colors due to minecraft team limitation

display-name: The nameplate's display name in chat box

height/ascent/width:

  • height: The height of the character, measured in pixels. Can be negative. This tag is separate from the area used in the source texture and just rescales the displayed result.

  • ascent: The ascent of the character, measured in pixels. This value adds a vertical shift to the displayed result.

  • width: The width of the character, measured in pixels. This would not affect the size of the image but is an important part of how the plugin works

Note: In default config, nameplate images are all square, but it's not really needed to be sqaure.

Last updated