Linux headless server commands

Anything that prevents you play the game properly. Do you have issues with paying for the game, downloading it or properly running it on your computer? Let us know here.
Post Reply
its-row
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Sep 30, 2020 8:01 am
Contact:

Linux headless server commands

Post 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!! :)

Impatient
Filter Inserter
Filter Inserter
Posts: 634
Joined: Sun Mar 20, 2016 2:51 am
Contact:

Re: Linux headless server commands

Post 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:

its-row
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Sep 30, 2020 8:01 am
Contact:

Re: Linux headless server commands

Post by its-row »

Pog!

Ill make a workaround of the pauze thing.

Thank for helping me out :)

Post Reply

Return to “Technical Help”

Who is online

Users browsing this forum: No registered users