Skip to content

Messages Configuration

Joshua edited this page Jun 21, 2021 · 3 revisions

This configuration file lets you configure the warning messages sent to the player when they fail certain checks.
This is also where you set your locale name.
This configuration file supports the following placeholders

Placeholder Example return value
{PREFIX} &8[&6SafeChat&8] The prefix set in messages.properties
{PLAYER} Notch The user's player name
{TIME} 5s Time until the player can message again, only for chat-flood-warning

messages.yml (example configuration)

Path Accepted values
locale en
address-warning Array of strings to send to the player
blacklisted-word-warning Array of strings to send to the player
text-repetition-warning Array of strings to send to the player
chat-flood-warning Array of strings to send to the player
caps-warning Array of strings to send to the player
Clone this wiki locally