mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
ConsoleIO: Sync with SharpTools
Had 2 versions of the ConsoleIO class, one here inc MCC (the original), and another one in SharpTools, more generic, for use in other projects. Both had diverged, this commit imports changes from the other repository. This should not have any particular effect on MCC, besides adding more documentation and settings in the source code of the class. If any issue arises, as always, please report it :)
This commit is contained in:
parent
b5c8bf683f
commit
ecf0114f62
6 changed files with 139 additions and 51 deletions
|
|
@ -79,7 +79,6 @@ namespace MinecraftClient
|
|||
public static List<string> Bots_Owners = new List<string>();
|
||||
public static TimeSpan botMessageDelay = TimeSpan.FromSeconds(2);
|
||||
public static string Language = "en_GB";
|
||||
public static bool chatTimeStamps = false;
|
||||
public static bool interactiveMode = true;
|
||||
public static char internalCmdChar = '/';
|
||||
public static bool playerHeadAsIcon = false;
|
||||
|
|
@ -214,7 +213,7 @@ namespace MinecraftClient
|
|||
case "singlecommand": SingleCommand = argValue; break;
|
||||
case "language": Language = argValue; break;
|
||||
case "consoletitle": ConsoleTitle = argValue; break;
|
||||
case "timestamps": chatTimeStamps = str2bool(argValue); break;
|
||||
case "timestamps": ConsoleIO.EnableTimestamps = str2bool(argValue); break;
|
||||
case "exitonfailure": interactiveMode = !str2bool(argValue); break;
|
||||
case "playerheadicon": playerHeadAsIcon = str2bool(argValue); break;
|
||||
case "chatbotlogfile": chatbotLogFile = argValue; break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue