Send commands to server from outside the game
Posted: Tue Mar 20, 2018 2:38 am
Hi everyone!
I want to do something and can't figure out how.
I know that you can issue commands from the in-game console.
However, what I want is to issue commands from outside the game.
I will explain.
I have a headless server running on the background (detached from the Linux terminal).
I want to be able to send commands to the server using the terminal or from a shell script.
Something like this:
/opt/factorio/bin/x64/factorio --send-command "/c game.player.force.manual_mining_speed_modifier=1000"
I've heard/read something about RCON.
But I don't know what RCON is and don't have any idea of how to use it.
Any help would be appreciated.
Thanks!
I want to do something and can't figure out how.
I know that you can issue commands from the in-game console.
However, what I want is to issue commands from outside the game.
I will explain.
I have a headless server running on the background (detached from the Linux terminal).
I want to be able to send commands to the server using the terminal or from a shell script.
Something like this:
/opt/factorio/bin/x64/factorio --send-command "/c game.player.force.manual_mining_speed_modifier=1000"
I've heard/read something about RCON.
But I don't know what RCON is and don't have any idea of how to use it.
Any help would be appreciated.
Thanks!