BruceChen
967f67190c
Add FileInputBot for non-interactive debugging and fix NbtToString crash
...
FileInputBot (ChatBots/FileInputBot.cs):
- New ChatBot that monitors a text file (default: mcc_input.txt) for
commands, enabling MCC control from Cursor Shell or any non-interactive
environment where stdin is not available
- Activated by setting MCC_FILE_INPUT env var (e.g. MCC_FILE_INPUT=1)
- Polls every ~500ms for new lines appended to the file
- Lines starting with "/" are sent as server chat/commands
- Other lines are executed as MCC internal commands (same as console input)
- File path overridable via MCC_INPUT_FILE env var
McClient.cs:
- Load FileInputBot when MCC_FILE_INPUT environment variable is set
ChatParser.cs - NbtToString:
- Fix InvalidCastException when NBT "text" or nameless root tag values
are Int32 instead of String (happens with 1.20.6 SystemChat packets
containing numeric values in the chat component tree)
- Replace direct (string) casts with ?.ToString() ?? string.Empty
Made-with: Cursor
2026-03-19 00:45:51 +08:00
breadbyte
494be0930b
Merge branch 'master' into 1.20.6
2025-12-02 00:06:16 +08:00
breadbyte
27e66433cd
Hotfix for 'minecraft:chat_type' not present in the dictionary ( #2794 )
2024-09-07 03:45:45 +08:00
Anon
08c5c15557
1.20.6 - Not working yet
2024-06-16 01:19:09 +02:00
Anon
744de0dbd4
Removed debug logs
2024-02-28 11:49:50 +01:00
Anon
bc0781cee9
Fixed translations crash
2024-02-28 11:48:23 +01:00
Anon
620e8bf274
More debug info
2024-02-26 23:46:08 +01:00
Anon
1db0792d7b
Temporary Debug info
2024-02-26 23:39:20 +01:00
Anon
13de67b6f8
Fixed a crash on chat parsing.
...
Returned the commended try catch block.
2024-02-21 17:38:32 +01:00
Anon
35cfd4a7db
Fixed a NBT crash < 1.20.2 and Fixed a crash with parsing 'extra' section in Chat
2024-02-18 17:56:02 +01:00
ReinforceZwei
6d016332fb
1.20.4: Update NBT chat parser to handle text color
2024-02-11 18:15:52 +08:00
ReinforceZwei
a9f1ad4433
1.20.3: Update chat parser to parse new NBT format
2024-02-04 18:14:09 +08:00
ReinforceZwei
8da8f6044f
Fix message marker mixed with actual message body
...
Should fix regex not working for autorespond and other chatbots that relied on matching message
2023-03-25 16:42:28 +08:00
BruceChen
3735cab9dd
Fix 1.19.3 message signature issue
2023-01-29 22:39:11 +08:00
BruceChen
b79dd1d379
Bug fix
2023-01-21 01:34:05 +08:00
ReinforceZwei
cb57db8328
ChatParser: Catch exception in download language file
2023-01-19 18:02:34 +08:00
BruceChen
ced65122f1
Trim
2023-01-14 21:07:09 +08:00
BruceChen
ba0d9ba3fc
merge brigadier-dev into milutinke:1.19.3
2023-01-14 20:42:15 +08:00
BruceChen
052060b23c
Bug fix
2023-01-14 02:41:03 +08:00
BruceChen
0ce9690778
1.19.3 Chat command signing support & Update chat paser
2023-01-14 00:53:36 +08:00
BruceChen
fe0b268878
1.19.3 Message signing support.
2023-01-13 16:12:10 +08:00
BruceChen
7ee08092d4
legacy color support
2022-12-14 14:45:51 +08:00
BruceChen
5e11ed3896
Tooltip support & Bug fix
2022-12-11 13:00:19 +08:00
BruceChen
892999ac98
Merge into master
2022-12-06 20:32:46 +08:00
BruceChen
84cf749344
Implement command completion suggestions.
2022-12-06 15:50:17 +08:00
BruceChen
6c3bfb82ee
Remove color code from text
2022-11-30 16:08:55 +08:00
BruceChen
077e3a5e9f
Crowdin localization support ( #2310 )
...
* Switching to use resource files
* Update Crowdin configuration file
* Code cleanup
2022-10-28 11:13:20 +08:00
BruceChen
ee57d101c0
Fix \n in xx.lang file
2022-10-18 10:39:16 +08:00
BruceChen
bce2bc8b7f
Support displaying caught items
2022-10-17 17:42:00 +08:00
BruceChen
01802dfcff
Fix sign command
2022-10-14 20:34:45 +08:00
BruceChen
a7e69fd9fd
Update ConsoleInteractive
2022-10-14 10:33:09 +08:00
BruceChen
16c1d1fd77
Refactoring Settings.cs
2022-10-05 15:02:30 +08:00
BruceChen
1d52d1eadd
Fix all warnings & Trim ( #2226 )
...
* Fix AutoFishing crash
* Fix all warnings
* Remove DotNetZip.
* Fix the usage of HttpClient.
2022-10-02 18:31:08 +08:00
BruceChen
afdf2f9e2c
Merge from master
2022-09-04 10:44:25 +08:00
BruceChen
7ceb4807f3
Adjust some comments
2022-08-27 02:32:59 +08:00
BruceChen
93c89f879d
Fix format
2022-08-27 02:14:25 +08:00
BruceChen
c34dd46067
Basic support for 1.19.2
2022-08-27 02:10:44 +08:00