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
|
|
@ -62,6 +62,7 @@
|
|||
<Compile Remove="config\ChatBots\SugarCaneMiner.cs" />
|
||||
<Compile Remove="config\ChatBots\TreeFarmer.cs" />
|
||||
<Compile Remove="config\ChatBots\VkMessager.cs" />
|
||||
<Compile Remove="config\ChatBots\WebSocketBot.cs" />
|
||||
<Compile Remove="config\sample-script-extended.cs" />
|
||||
<Compile Remove="config\sample-script-packet-capture.cs" />
|
||||
<Compile Remove="config\sample-script-pm-forwarder.cs" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue