mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Hold on scripts when reconnecting + login 503
- Added "connect" command in scripts (idea from TorchRJ_) - Handle 503 service unavailable error for Minecraft logins - Renamed [Scripting] into [StartupScript] (more explicit) - Startup Script only runs once even using /reco but ... - Scripts are now kept and resumed when (re)connecting
This commit is contained in:
parent
cd2fe152e6
commit
b0e4e993ce
4 changed files with 31 additions and 9 deletions
|
|
@ -931,6 +931,13 @@ namespace MinecraftClient
|
|||
case "exit": //Exit bot & stay connected to the server
|
||||
UnloadBot();
|
||||
break;
|
||||
case "connect":
|
||||
if (instruction_line.Length >= 9)
|
||||
{
|
||||
Settings.ServerIP = instruction_line.Substring(8);
|
||||
ReconnectToTheServer();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
sleepticks = 0; Update(); //Unknown command : process next line immediately
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue