To apply color or gradient effects to placeholders, you first need to add the placeholder to the list using the command:
/paint add (placeholder)
Once added, you can apply a gradient like this:
%spacepaint_gradient_color1:color2_{placeholder}%
In this example:
color1 is the starting color
color2 is the ending color
You can also add more colors to create a multi-step gradient:
%spacepaint_gradient_color1:color2:color3:color4_{placeholder}%
Each additional color adds more depth and smoothness to the gradient.
To apply a solid color, use:
%spacepaint_color_color1_{placeholder}%
But you’re not limited to placeholders — you can also apply gradients and colors to regular text.
Just use the same format, but without the curly braces:
%spacepaint_gradient_color1:color2_Hello World%
color1 is the first color, color2 is the last color
%spacepaint_color_color1_Hi%
color1 is the solid color applied to the whole text
You can customize the symbols used to mark placeholders and messages in the plugin’s configuration file.
This gives you full flexibility in how you format and control both dynamic and static text.
✨ Command Reference ✨
/paint add <placeholder> - Add PAPI placeholder to whitelist
/paint remove <placeholder> - Remove from whitelist
/paint reload - Reload configs
/paint help - Show command help
✨ Permissions & Dependencies ✨
Dependencies: -
PlaceholderAPI — for processing placeholders