Minecraft-Console-Client icon indicating copy to clipboard operation
Minecraft-Console-Client copied to clipboard

[BUG] Command line run command parameter not working

Open ZeppelinGames opened this issue 2 years ago • 2 comments

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=true in 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

  1. 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

ZeppelinGames avatar Mar 14 '23 02:03 ZeppelinGames

That functionality was not re-implemented after switching to the new TOML based configurations.

milutinke avatar Mar 14 '23 08:03 milutinke

I'll look into re-adding this soon.

milutinke avatar May 07 '23 09:05 milutinke