{only_commands}
to only run the match on commands
{only_chat}
to only run the match on chat{only_anvils}
to run the entry on anvil renames (if the anvil listener is enabled in config.yml){only_signs}
to run the entry on sign text (if the sign listener is enabled in config.yml){text}
to specify that the match is just plain text and is not regex
{regex}
to specify that the match is using regex
match: {text}{only_commands}/plugins
will match only the command "/plugins"match: {regex}([123])
will match any messages in chat or commands containing the characters 1, 2, or 3{dont_modify}
to not modify the players message at all, but still send it.
{block}
to block the players message entirely.{dont_notify}
to not send any admin notifier message when matched (if admin notifications are enabled for the Chat Executor)
{dont_log}
to not log anything the when the entry is triggered (if logging is enabled for the Chat Executor){block}{dont_modify}{dont_log}
" however, {dont_modify}
and {block}
must not be in the same set-as node as they conflict.{player_msg}:
to send a message to the player.
{console_cmd}:
to run a command as the console.
{player_cmd}:
to run a command as the player.
{broadcast}:
to broadcast a message to all players.
{arg<number>}
to get the word/argument of the players message (starting from 0){arg1}
in "FirstWord SecondWord ThirdWord" is "FirstWord", {arg2}
is "SecondWord", etc.
{multiargs<number>}
to get all the arguments/words after a particular argument/word.{multiargs2}
of "FirstWord SecondWord ThirdWord FourthWord" is "ThirdWord FourthWord"
{arg<number>}
and {multiarg<number>}
placeholders in actions. If the requested argument/word is not present, it will simply be blank.
{PLAYER}
to get the players username.
{PLAYER_DISPLAYNAME}
to get the players display name with its original colors
{PLAYER_DISPLAYNAME_STRIPPED}
to get the players display name stripped of its original colors{regex}^exact text here$
{regex}^(exact phrase 1|exact phrase 2)$