Minecraft-Console-Client/MinecraftClient
copilot-swe-agent[bot] 8757533fb9
Fix Script bots accumulating on reconnect by unloading on disconnect
Script ChatBots were persisted in the static botsOnHold list across
reconnects. When ScriptScheduler triggered new scripts on login, the
old Script bots were still running, causing duplicate commands to be
sent simultaneously. This led to command spam and crashes.

Adding OnDisconnect to the Script ChatBot ensures scripts are removed
from the bots list before they can be saved to botsOnHold, preventing
accumulation of duplicate script instances on reconnect.
2026-06-05 06:29:43 +00:00
..
ChatBots Fix Script bots accumulating on reconnect by unloading on disconnect 2026-06-05 06:29:43 +00:00
CommandHandler Modernize data carriers to records and add primary constructors 2026-03-24 01:31:17 +00:00
Commands Formatted the code and removed logs from Auto Attack 2026-06-04 11:42:41 +02:00
config Optimized World.cs 2026-03-25 23:57:02 +01:00
Crypto Fix warnings 2026-04-06 20:36:12 +08:00
Inventory Formatted the code and removed logs from Auto Attack 2026-06-04 11:42:41 +02:00
Logger Polish console chat visibility implementation 2026-05-04 11:36:01 +00:00
Mapping Formatted the code and removed logs from Auto Attack 2026-06-04 11:42:41 +02:00
Mcp Formatted the code and removed logs from Auto Attack 2026-06-04 11:42:41 +02:00
Physics More minor optimizations 2026-03-26 18:01:56 +01:00
Properties Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
Protocol Formatted the code and removed logs from Auto Attack 2026-06-04 11:42:41 +02:00
Proxy Tooltip support & Bug fix 2022-12-11 13:00:19 +08:00
Resources Update AutoAttack bot translation for Cooldown_Time 2026-06-04 19:31:21 +00:00
Scripting Formatted the code and removed logs from Auto Attack 2026-06-04 11:42:41 +02:00
TabList Added a /tab command 2026-04-04 16:17:49 +02:00
Tui Formatted the code and removed logs from Auto Attack 2026-06-04 11:42:41 +02:00
WinAPI Fix warnings 2026-04-06 20:36:12 +08:00
Achievement.cs Implement unified achievements feature: data model, protocol handling, state management, ChatBot API, and /achievement command 2026-03-29 20:22:31 +00:00
AutoTimeout.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
ClassicConsoleBackend.cs Implement console chat visibility controls 2026-05-04 11:17:45 +00:00
ColorHelper.cs refactor: simplify color handling in ClassicConsoleBackend 2026-04-08 02:05:26 +08:00
Command.cs Bug fix 2022-12-11 16:30:45 +08:00
ConsoleIO.cs Polish console chat visibility implementation 2026-05-04 11:36:01 +00:00
ExtensionMethods.cs Better translation 2022-10-17 20:00:33 +08:00
FileMonitor.cs refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
IConsoleBackend.cs Implement console chat visibility controls 2026-05-04 11:17:45 +00:00
INIFile.cs [skip ci] Normalize all line endings 2023-09-15 14:44:11 +08:00
Json.cs Fixed a JSON exception 2026-03-26 19:16:48 +01:00
LegacyAchievementCatalog.cs Fix legacy achievements and add test harness 2026-03-30 17:25:08 +02:00
McClient.cs Formatted the code and removed logs from Auto Attack 2026-06-04 11:42:41 +02:00
MinecraftClient.csproj chore: update ModelContextProtocol package version to 1.2.0 and adjust Consolonia and Sentry package versions 2026-04-12 18:46:57 +08:00
Program.cs Fix AutoRelog retry accounting 2026-06-02 10:24:59 +02:00
RecipeBookRecipeEntry.cs fix: support 1.21.11 recipe book display ids 2026-03-29 18:45:14 +00:00
Settings.cs Formatted the code and removed logs from Auto Attack 2026-06-04 11:42:41 +02:00
TaskWithDelay.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
TaskWithResult.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
UpgradeHelper.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00