Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft
Ndaily Rewards Plugin Wiki › Guides › Customize Reward Messages with Colors and Placeholders

Customize Reward Messages with Colors and Placeholders

Using HEX Color Codes

NDaily Rewards supports full HEX color code formatting for reward messages. In your reward configuration, use the format &#RRGGBB where RRGGBB is your desired color code. For example:

`

&#FF5733Congratulations! You've claimed your daily reward!

`

This displays your message in a custom orange-red color. Combine multiple colors in a single message by inserting codes before each colored section.

Adding Custom Placeholders

The plugin includes built-in placeholders that dynamically insert player data:

  • {player} — Player's username
  • {day} — Current consecutive login day
  • {reward} — Name of the reward claimed

Place these in your message text and they'll automatically populate when displayed. For example:

`

&#00FF00{player}, you've logged in {day} days in a row!

`

Testing Your Messages

After configuring colors and placeholders, reload the plugin and claim a test reward. Verify that colors display correctly and placeholders show actual player data rather than the placeholder text itself.