IsChatMessage() Function can not run in special server #2244
-
My ChatBot Code as follow:
In my expect, while other players sending message to the server, my local console will show the if-branch's result "ACCEPT", but all the console message display the else-branch's result. How to solve this problem? |
Beta Was this translation helpful? Give feedback.
Answered by
BruceChenQAQ
Oct 6, 2022
Replies: 1 comment 1 reply
-
The built-in chat message detection may not be reliable in all cases, and you can override it by writing your own regular expressions in the settings. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Sagittaro
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The built-in chat message detection may not be reliable in all cases, and you can override it by writing your own regular expressions in the settings.
(
MinecraftClient.ini
->[ChatFormat]
)