Remove legacy command-line args & xauth bot

- Use scripting instead of xauth bot
- Use ini files instead of bot:botname args
This commit is contained in:
ORelio 2014-04-02 22:53:46 +02:00
parent 25bf5a8ca9
commit a481640306
3 changed files with 0 additions and 115 deletions

View file

@ -830,31 +830,6 @@ namespace MinecraftClient
}
}
/// <summary>
/// Automatically send login command on servers usign the xAuth plugin
/// </summary>
public class xAuth : ChatBot
{
private string password;
private int countdown = 50;
public xAuth(string pass)
{
password = pass;
}
public override void Update()
{
countdown--;
if (countdown == 0)
{
SendText("/login " + password);
UnloadBot(); //This bot is no more needed.
}
}
}
/// <summary>
/// Runs a list of commands
/// Usage: bot:scripting:filename