Shout command doesn't work via RCON

This subforum contains all the issues which we already resolved.
johnmegacycle
Inserter
Inserter
Posts: 24
Joined: Tue Jul 26, 2016 1:35 am
Contact:

Shout command doesn't work via RCON

Post by johnmegacycle »

I'm running a headless server and I'd like to use RCON to send an announcement when the server is going down for updates. I've done this in other games, such as minecraft, and it's a huge help to our players to know when the dedicated game server is going down for maintenance. The RCON connection works as I can use other commands such as /whisper, /whitelist and /players but it doesn't do anything for /shout. Both /shout and /s do not do anything as I was hoping it would post my announcement of 'Servers going down for reboots' or something.

FWIW, /shout and /s work if I'm logged in and playing the game, but doesn't seem to work via RCON.

Commands I've Tried:
/shout <message> /shout Hello world! Sends a message to all players including other forces
/s <message> /s Hello world! Same as /shout

I know that it is receiving my command as I found these in the logs:
Info RemoteCommandProcessor.cpp:245: New RCON connection from IP ADDR:({127.0.0.1:62867})

Server Information:
2025-05-08 09:36:26; Factorio 2.0.43 (build 82163, win64, full, space-age)
Operating system: Windows 10 (build 20348)
System info: [CPU: QEMU Virtual CPU version 2.5+, 8 cores, RAM: 22829/65496 MB, page: 23147/75224 MB, virtual: 4245/134217727 MB, extended virtual: 0 MB]
Rseding91
Factorio Staff
Factorio Staff
Posts: 15584
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Shout command doesn't work via RCON

Post by Rseding91 »

Thanks for the report. Looking at the shout command - it was specifically setup to do nothing if called through rcon or the server console. I'm not really sure why.. however; just *a message* is by default sent to all players when done through RCON or the server console. There's no need for /shout in those cases.
If you want to get ahold of me I'm almost always on Discord.
johnmegacycle
Inserter
Inserter
Posts: 24
Joined: Tue Jul 26, 2016 1:35 am
Contact:

Re: Shout command doesn't work via RCON

Post by johnmegacycle »

That does work, yeah. Instead of using shout, I simply state the message and it broadcasts it out as I was hoping for. Thanks for your help with it.
Post Reply

Return to “Resolved Problems and Bugs”