Skip to content

PlaceholderAPI

TejasLamba2006 edited this page Jul 26, 2026 · 1 revision

PlaceholderAPI

ChatColor3 registers a PlaceholderAPI expansion with the identifier cc. It's loaded automatically if PlaceholderAPI is installed.

Placeholders

Placeholder Description Example Output
%cc_color% Player's base colour (no modifiers) §c
%cc_full_color% Full colour including modifiers §c§l
%cc_modifiers% Just the modifiers §l
%cc_color_name% Short colour name c
%cc_full_color_name% Full colour name Red
%cc_colored_color_name% Colour name rendered in its colour Red (in red)
%cc_colored_full_color_name% Full name rendered in colour Red (in red)
%cc_modifier_names% Modifier short names l
%cc_full_modifier_names% Modifier full names Bold
%cc_modifiers_spaced% Modifier names space-separated l o
%cc_modified_modifier_names% Modifiers rendered with their effect l
%cc_modified_full_modifier_names% Full names rendered with effect Bold
%cc_group% Player's group colour name (or "None") staff
%cc_<code>_available% Whether a colour is available Available / Unavailable
%cc_<mod>_available% Whether a modifier is available Available / Unavailable

Examples

%cc_color%Hello       → "Hello" in the player's colour
%cc_full_color_name%  → "Red" (or "rainbow", "gradient", "%vip")
%cc_c_available%      → "Available" if the player has chatcolor.color.c

Clone this wiki locally