[BUG] Command line run command parameter not working
Prerequisites
- [X] I made sure I am running the latest development build
- [X] I tried to look for similar issues before opening a new one
- [X] I have set
debugmessages=truein config to diagnose my issue - [X] I have redacted session tokens and passwords before attaching screenshots
Minecraft Version
1.19.2
Console Client Version
20230129-189: Fix 1.19.3
Expected Behavior
When running
./MinecraftClient <user> <pass> <sever> "/say hi"
The command fails to run and doesnt automatically disconnect as specified in the docs (https://mccteam.github.io/guide/usage.html#quick-usage-of-mcc-with-examples)
I was attempting to get this to run from another script, auto join, run command and leave and have tested it in a standard terminal and within my script (using exec). Neither work.
Actual Behavior
Player connects to the game and starts interactive console.
Steps to Reproduce the bug
- Run the client with a command parameter
Attach screenshot here (If applicable)
No response
Anythings that could help diagnosing the bug
[MCC] Server was successfully joined.
[DEBUG] Receive JoinGame
[DEBUG] CanSendMessage = False
[DEBUG] SendPlayerSession MessageUUID = <uuid/publickey>
[DEBUG] Receive DeclareCommands
[DEBUG] Receive ChatUuid
[DEBUG] CanSendMessage = True
[DEBUG] Receive ChatUuid = <uuid>
[DEBUG] CanSendMessage = True
Device
Raspberry Pi
Operating System
Linux
Server Address (If applicable)
No response
That functionality was not re-implemented after switching to the new TOML based configurations.
I'll look into re-adding this soon.