Placeholders
With PlaceholderAPI installed, dNicks registers the dnicks expansion. This is the bridge that lets other plugins (scoreboards, the TAB plugin, chat plugins) render the same nick.
| Placeholder | Returns |
|---|---|
%dnicks_name% |
The styled nick as legacy Β§-hex β per-character color survives for string consumers like TAB. Falls back to the username. |
%dnicks_mini% |
The raw MiniMessage string the player set (e.g. <gradient:#ff0000:#00ffff>Steve</gradient>). |
%dnicks_raw% / %dnicks_plain% |
The stripped, plain visible text. |
%dnicks_hasnick% |
true / false. |
Example β TAB nametag above the head (keep the role prefix)
Section titled βExample β TAB nametag above the head (keep the role prefix)β# TAB groups.yml / users.yml_DEFAULT_: tagprefix: "%luckperms_prefix%" customtagname: "%dnicks_name%" # gradient name; keep unlimited nametags on tagsuffix: "%luckperms_suffix%"Example β TAB tab list
Section titled βExample β TAB tab listβ# TAB groups.yml / users.yml_DEFAULT_: tabprefix: "%luckperms_prefix%" customtabname: "%dnicks_name%" tabsuffix: "%luckperms_suffix%"Example β a scoreboard line
Section titled βExample β a scoreboard lineβ%dnicks_name% Β· onlineUse %dnicks_name% anywhere a placeholder is supported and you want the gradient β wrap it with your role placeholders (%luckperms_prefix% β¦) to keep ranks. For dNicksβ own built-in surfaces (chat, tab list) you donβt need PlaceholderAPI at all; you do need it for the nametag-plugin setup. See Integrations and The Nametag Above the Head.