Tiiffi / mcrcon

Rcon client for Minecraft
https://github.com/Tiiffi/mcrcon/
zlib License
857 stars 117 forks source link

Flaky responses to commands issued when using MCRCON console #73

Closed sspearing closed 3 years ago

sspearing commented 3 years ago

The responses to commands issued on the MCRCON console are missing, incomplete or inconsistent (read very frustrating).

I'm running a Minecraft-Spigot server using Docker-Compose with luckperms and essentialsX. This is all running on my Asustor NAS I'm using the latest Windows version of MCRCON to connect to the Minecraft server and using it, I can issue game commands that have the desired effect. However MCRON does not bring the responses back properly. Typing '?' gives the help screen but typing '? luckperms' gives just a basic 2 line response except once in a while I will get a list of lp commands. If I repeat the exact command, I will get a difference more basic response. If I type in a full 'lp' command, for instance lp user <username> permission set luckperms.* true it will work but I will get no response in MCRCON. If I type lp editor, I get nothing.

I am new to this so if there is something basic I'm missing please let me know. I can send my yml file if you think it will help.

Tiiffi commented 3 years ago

I have to do some testing with those plugins enabled.

Currently mcrcon doesn't support multipacket responses so this might be the problem here. 🤔

sspearing commented 3 years ago

I am seeing similar behaviour from the other rcon clients I have tried after working with yours. So I'm thinking that opening this issue was a mistake on my part. Your client at least renders the colours nicely unlike the others. Sorry for the distraction.

Tiiffi commented 3 years ago

@sspearing No problem, not a distraction at all.

Now I am actually interested what is exactly going on. Perhaps those plugins are outputting long responses and the servers rcon handler doesn't quite know what to do with it (as far as I know most of the Minecraft servers are not supporting multipacket rcon messages).