Fixes Changes and new additions

Fixed an issue where launching server w/o screen failed
New: added an output showing screen sessions after launching
New: added stdout and stdin to screenless launch allowing interacting with server cli
Change: Broke up source code to make it easier to read and make changes
Change: Updated .gitignore
This commit is contained in:
2026-01-13 10:51:18 -07:00
parent 3406ab4743
commit b2c534f29b
7 changed files with 134 additions and 111 deletions

View File

@@ -1,9 +1,9 @@
server:
serverFolder: "factorio"
serverFolder: "./factorio-headless_linux_2.0.72/factorio"
port: 34197
worldFile: "factorio/newworld.zip"
serverSettings: "factorio/data/server-settings.json"
backupDir: "backups"
serverExec: "factorio/bin/x64/factorio"
worldFile: "./factorio-headless_linux_2.0.72/factorio/Newworlds.zip"
serverSettings: "./factorio-headless_linux_2.0.72/factorio/data/server-settings.json"
backupDir: "./factorio-headless_linux_2.0.72/backups"
serverExec: "./factorio-headless_linux_2.0.72/factorio/bin/x64/factorio"
screen: True
screenName: "Factorio"
screenName: "Factorio"