mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
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:
parent
25bf5a8ca9
commit
a481640306
3 changed files with 0 additions and 115 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue