configuration/General
General configuration
You can set custom messages to join, leave and kick either one message or several randomly chosen messages.
- Use %player to replace it with the Player name
- Use %dplayer to replace it with the display name (works only with leave and kick message)
- You can use color codes (&c, &3, &4, ...)
How to use Single- / Random-Messages:
(Works for all custom messages and for prefix)
Single-Message:
join-message: '&7%player joined the game.'
Random-Messages:
join-message: - '&1%player joined the game.' - '&2%player joined the game.' - '&3%player joined the game.'
Single-Message as Random-Message:
There is only one message, so a random number from 1 to 1 is always 1.
join-message: - '&7%player joined the game.'
How to prevent all messages?
You can prevent the messages simple by setting prevent to true.
prevent: true
How to use prefixes?
You can use prefixes to only randomize the color or if you want to have a prefix for all messages. The prefix will be prepended to the message.
message-prefix: - '&c' - '&a' - '&b' join-message: '%player joined the game.' leave-message: '%player left the game.' kick-message: '%player left the game.'
In this example, the message is every time the same but with different colors (here red, blue, green).