Configuration
Add theMessageOnUse key under the Addon: section in your portal’s .yml file.
<message> with the text you want to send. The message is sent to the player at the moment they use the portal.
Example: Flavor Text Portal
Example: Destination Confirmation
Example: Warning Message
Formatting Tips
- Use standard Minecraft color codes prefixed with
&to style your message (e.g.&afor green,&cfor red,&efor yellow,&lfor bold). - Wrap the entire message value in single quotes so special characters are handled correctly by the YAML parser.
- Keep messages concise — players see them in chat at the same time as the teleport fires, so shorter messages are read more reliably.
The message is sent only to the player who uses the portal. It is not broadcast to the entire server. If you need a server-wide announcement, use the Commands on Use addon with a
console;true;broadcast <message> entry instead.