Skip to main content

Custom Alert Messages

What are custom alert messages?

Custom alert messages - found in pokemon.json - are used to override the default alert message for a specific list of Pokemon (config object). They enable you to have unique alerts for each group, or even individual Pokemon. Custom alert messages use ETA markup to style the message.

If you are looking to customize messages/message parts for all alerts, see message templates.

How to create a custom alert message

In your pokemon.json config, find customAlertMessage. Then, combine markup with dynamic replacements and you're done. If you need to add multiple lines, use the \n newline character.

Legacy versions

warning

These examples are written for CSA 1.12.0+ using ETA markup.
For older versions, the markup in these examples will not work. See the MiniMessage docs.

Examples

info

"customAlertMessage": "<c value=#FFFFFF>A wild {shiny}{legendary}<rainbow>{name}</rainbow> has appeared{biome}!"

full_spawn_message.png