Skip to content

Feature guide: Playerlist Objective

NEZNAMY edited this page Nov 17, 2023 · 27 revisions

Content

About

The scoreboard objective with PLAYER_LIST display slot. It supports 2 display types:

  • yellow number
  • hearts

This feature can be configured in config.yml under yellow-number-in-tablist section.

Configuration

Option name Default value Description
enabled true Enables / Disables the feature
value "%ping%" Defines value displayed. You can set this to any placeholder that outputs a number. Setting value to %health%, %player_health% or %player_health_rounded% will result in the display type being changed to hearts instead of number. If you want to display health but as a number and not hearts, set value to 0%health% for example.
disable-condition %world%=disabledworld A condition that must be met for disabling the feature for players. Set to empty for not disabling the feature ever.

Limitations

Only 2 display types are supported - number and hearts. As the name implies, number's color is yellow and cannot be changed.
This can be bypassed with Aligned Tabsuffix feature.

Additional info

Additional note 1 - Spectator gamemode

The feature will not be visible on players with spectator gamemode. To resolve this, check out Spectator fix feature.

Tips & Tricks

Tip 1 - Displaying both ping and hearts

The feature does not allow you to display both hearts and ping at the same time.
However, you can put ping into tabsuffix (/tab group _DEFAULT_ tabsuffix " &e%ping%"). Alternatively, you can use healthbar expansion from PlaceholderAPI and use %healthbar_default% in tabsuffix (but it won't look as good).
You can also enable Aligned tabsuffix for alignment.

Clone this wiki locally