Incoming - Receiving chat messages (Event Filterer)
These filters are initiated when you receive a chat message from the server.
{
"search": ".*> ping$",
"replacement": "$0",
"serversearch": "singleplayer",
"toastMe": false,
"respondMsg": "pong!",
"noAntiSpam": false,
"description": "pingpong"
}
search - Search part of Search+Replace. (RegEX) (Required)
replacement - Replacement part of Search+Replace. (RegEXrepl) (Required) ("pleasecancelthismessage" to cancel, "$0" to not edit)
serversearch - Require the server IP to match this regex for the filter to be active. (RegEX) (Optional)
toastMe - Toast in ActionBar instead of sending to the client as a chat message. (Boolean) (Optional)
respondMsg - Send the server this command upon receipt of this message. (RegEXrepl) (Optional)
noAntiSpam - Allow sending the same message again. (Boolean) (Optional) (Usage Discouraged)
description - A dummy string to label the entry. (String) (Optional)
Outgoing - Sending chat messages (Event Filterer)
These filters are initiated when you are about to send a chat message to the server.
{
"msgsearch": "t(est)",
"msgreplacement": "this is the b$1",
"serversearch": "singleplayer",
"localOnly": true,
"toastMe": true,
"description": "it's the best to type 'test' in singleplayer"
}
msgsearch - Search part of Search+Replace. (RegEX) (Required)
msgreplacement - Replacement part of Search+Replace. (RegEXrepl) (Required) ("pleasecancelthismessage" to cancel, "$0" to not edit)
serversearch - Require the server IP to match this regex for the filter to be active. (RegEX) (Optional)
localOnly - Don't send this message to the server, and parse as if Incoming (Boolean) (Optional)
toastMe - Toast in ActionBar instead of sending to the client as a chat message. (Boolean) (Optional) (Requires localOnly:true)
description - A dummy string to label the entry. (String) (Optional)
AntiAFK - Some servers kick you for not being active.
A command will be ran if you haven't sent any chat messages for a configurable amount of seconds.
"antiAFK": {
"afterSeconds": 250,
"command": "/ping",
"serversearch": "singleplayer",
"description": "Don't mark me as AFK plz."
}
afterSeconds - Amount of delay before sending another command. (Integer) (Required)
command - The command to send to mark yourself as "Not AFK". (String) (Required)
serversearch - Require the server IP to match this regex for the filter to be active. (RegEX) (Optional)
description - A dummy string to label the entry. (String) (Optional)
VoidFall - You really don't want to fall in the void.
A command will be ran if you fall below this y level.
"voidFall": {
"yLevel": -20,
"command": "/tp @s 7 4 7",
"serversearch": "singleplayer",
"description": "I don't want to fall in the void. Lol"
},
yLevel - y Level to fall under (double) (Optional)
command - The command to send. (String) (Required)
serversearch - Require the server IP to match this regex for the filter to be active. (RegEX) (Optional)
description - A dummy string to label the entry. (String) (Optional)