Account list file support

Accounts can be stored in a file and used while (re)connecting
+ Check that the server IP is valid (avoid /connect <player>)
+ Fix command prompt not exiting while exiting the server
+ SendChatMessage() -> SendText() method name change
This commit is contained in:
ORelio 2014-06-19 19:24:03 +02:00
parent 36690b8b34
commit 2907b9c587
7 changed files with 108 additions and 26 deletions

View file

@ -81,7 +81,7 @@ namespace MinecraftClient
protected bool SendText(string text)
{
ConsoleIO.WriteLineFormatted("§8BOT:" + text, false);
return handler.SendChatMessage(text);
return handler.SendText(text);
}
/// <summary>