Mention sample-script-with-chatbot in Readme

This helps debugging chat message detection
This commit is contained in:
ORelio 2020-11-05 20:13:52 +01:00 committed by GitHub
parent 330dda9c15
commit 2a7f0c7f16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -179,8 +179,9 @@ Detecting chat messages
Minecraft Console Client can parse messages from the server in order to detect private and public messages. Minecraft Console Client can parse messages from the server in order to detect private and public messages.
This is useful for reacting to messages eg when using the AutoRespond, Hangman game, or RemoteControl bots. This is useful for reacting to messages eg when using the AutoRespond, Hangman game, or RemoteControl bots.
However, for unusual chat formats, so you may need to tinker with the ChatFormat section of the config file. However, for unusual chat formats, so you may need to tinker with the ChatFormat section `MinecraftClient.ini`.
Building regular expressions can be a bit tricky, so you might want to try them out eg on regex101.com Building regular expressions can be a bit tricky, so you might want to try them out eg on https://regex101.com
You can test that your MCC instance properly detects chat messages using [sample-script-with-chatbot.cs](https://github.com/ORelio/Minecraft-Console-Client/blob/master/MinecraftClient/config/sample-script-with-chatbot.cs).
About Replay Mod feature About Replay Mod feature
------ ------