Minecraft – How to read chat on a minecraft server using RCON

minecraft-java-edition

I've got a python script that can execute commands through RCON like /say or /list. But I want to be able to read what my friends are saying in my sever, how can I do that?

Best Answer

You can't.

RCON does not support a scrolling (streaming) console, it only supports incoming traffic and one response, like a REST protocol. You could try ssh-ing or mstsc-ing (Microsoft Remote Desktop (lit: Terminal Services)) into your server with your server running in a container (for example, on Linux, this is in a screen (external tutorial)).

You can't do this in , nor can you do it in any Source game such as , or , where the protocol originated from.