mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
AutoRespond tests and fixes
- Automatically add [BotName] tags to log lines - Fix case handling and actionPrivate used for public messages - Add a sample file for basic and regex matches
This commit is contained in:
parent
3ce91188c7
commit
a6b3bf0481
6 changed files with 53 additions and 12 deletions
|
|
@ -326,6 +326,16 @@ namespace MinecraftClient
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Write a Minecraft Console Client Log line
|
||||
/// </summary>
|
||||
/// <param name="text">Text of the log line</param>
|
||||
|
||||
public static void WriteLogLine(string text)
|
||||
{
|
||||
WriteLineFormatted("§8[MCC] " + text);
|
||||
}
|
||||
|
||||
#region Subfunctions
|
||||
private static void ClearLineAndBuffer()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue