Wiki 9Minecraft Wiki 9Minecraft

Customize Reward Messages with Colors and Placeholders

Java EditionPluginGuides 4FAQ 10Related mods 48
DownloadNDaily Rewards Plugin

Get the files on 9Minecraft

Contents (3)
  1. Using HEX Color Codes
  2. Adding Custom Placeholders
  3. Testing Your Messages

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.

More guides for this mod