Skip to content

Mini guides collection

NEZNAMY edited this page Oct 29, 2021 · 68 revisions

Content

Sum up all knowledge you gathered reading the wiki to get interesting results, most frequently asked ones listed here.

Displaying player health in %

If you're using vanilla belowname set

classic-vanilla-belowname:
  enabled: true
  number: "%math_0_{player_health}*5%"
  text: "&cHP"

If you're using unlimited nametag mode, run /tab group _OTHER_ belowname %math_0_{player_health}*5% &cHP.

For all of this to work, you need to install PlaceholderAPI. Then, run

/papi ecloud download math
/papi ecloud download player
/papi reload

Displaying player health as 0-10 instead of 0-20

Instead of using %health% use %math_0_{player_health}/2%.
Make sure you have PlaceholderAPI installed with Math (/papi ecloud download math) and Player (/papi ecloud download player) expansions downloaded (/papi reload to enable them after downloading).

Displaying death counter in tablist

yellow-number-in-tablist: "%deaths%"
Note: This is taken from server stats. You can modify / reset this for each player in <main world>/stats/<player uuid>.json file.

Making nametags completely invisible

Set invisible-nametags: true in config.yml.
Note: This still requires nametag handling feature enabled (change-nametag-prefix-suffix: true).
Note 2: Unlimited nametag mode must be disabled.

Taking prefixes/suffixes from permission plugin

Delete all groups and only keep this:

Groups:
  _OTHER_:
    tabprefix: "%vault-prefix%"
    tagprefix: "%vault-prefix%"    
    tabsuffix: "%vault-suffix%"    
    tagsuffix: "%vault-suffix%"

This requires Vault and a permission plugin to work.
If you have luckperms installed on the same server instance, you can use %luckperms-prefix% (and suffix) instead.
Note: If TAB is on bungeecord and you want prefixes to be taken from backend servers, use %vault_prefix% (or %luckperms_prefix%) with PlaceholderAPI support on bungeecord.

Showing player version in tablist

Run /tab group _OTHER_ tabsuffix " &8[&3%player-version%&8]" or any other color combination you want.
If you're using premium version and want it aligned on the right, enable Aligned tabsuffix.

Clone this wiki locally