[Headless server] Get server information from console

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
User avatar
ProMarcel
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Jul 04, 2017 2:30 pm
Contact:

[Headless server] Get server information from console

Post by ProMarcel »

Hello guys

I am running an Factorio headless server on linux. With every server start the game_id (from the matchmaking api) becomes a new one.
Could anyone help me or tell me how to get this game_id from the Factorio server console (like a /c command) or something similar? I only need to get it, with command /c game.write_file() I can send it to a file.

Thank you for your ideas and your help guys :-)
Post Reply

Return to “Technical Help”