Page 1 of 1

Linux headless server commands

Posted: Wed Sep 30, 2020 8:09 am
by its-row
I just setup a headless Factorio server which was really easy because of all the info on the wiki etc! :D

But the question is:
Is there a way to enter a command on the Linux command line to save/pauze the game (and all other in-game commands) or send the players a in-game message that the server will reset in x minutes.
Since the headless server obviously has no gui it seems like you don't have any access to the in-game Factorio terminal?

I was googling around but could not find any info about this topic.

Thank for helping me out!! :)

Re: Linux headless server commands

Posted: Wed Sep 30, 2020 3:09 pm
by Impatient
afaik save/pause no

everything else you type in there goes straight to the in game chat afaik.

This is also necessary, because the first thing you want to do in a new game is to promote your in game username to admin from the command line window:

Code: Select all

/promote YouInGameUsername
So it should be possible to run every command that is available in in game chat and also every custom command added by scenario scripts or mods. I don't know if there are commands for pause and save.

As an additional pointer, the comfy community servers run some scripts which allow their ppl to communicate to in game chat from their discord chat rooms. But I don't know how that works.

If you research that, it would be great if you could post your findings here. :thumbsup:

Re: Linux headless server commands

Posted: Mon Oct 05, 2020 7:17 am
by its-row
Pog!

Ill make a workaround of the pauze thing.

Thank for helping me out :)