mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Add WebSocketBot as external MCCScript bot with string enum serialization
Port the WebSocket bot functionality to an external standalone script that: - Uses //MCCScript 1.0 format instead of being a built-in bot - Uses System.Text.Json instead of Newtonsoft.Json (no external DLL) - Serializes ItemType, EntityType, and other enums as string names instead of numeric IDs (addresses #2805) - Adds GetItemTypeMappings and GetEntityTypeMappings commands - Accepts both string names and numeric IDs for enum parameters - Uses 4096 byte WebSocket buffer for better message handling Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
ba45f71f6e
commit
7fca2acd24
2 changed files with 1182 additions and 0 deletions
1181
MinecraftClient/config/ChatBots/WebSocketBot.cs
Normal file
1181
MinecraftClient/config/ChatBots/WebSocketBot.cs
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue