Skip to content

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%"
# TAB groups.yml / users.yml
_DEFAULT_:
tabprefix: "%luckperms_prefix%"
customtabname: "%dnicks_name%"
tabsuffix: "%luckperms_suffix%"
%dnicks_name% Β· online

Use %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.