Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Show factorio server version in "details" command #3675

Closed
dannoe opened this issue Nov 9, 2021 · 5 comments · Fixed by #3956
Closed

[FEATURE] Show factorio server version in "details" command #3675

dannoe opened this issue Nov 9, 2021 · 5 comments · Fixed by #3956

Comments

@dannoe
Copy link

dannoe commented Nov 9, 2021

User Story

As a administrator, I want to check the current version of the factorio server without using the "update" command (which already displays the version). So I want to check it with the "details" command.

Basic info

  • Game: Factorio
  • Command: [details]
  • LinuxGSM version: [v20.1.3]

Further Information

As the update command can already display the installed version and the current version, it should be no problem to display this information in the "details" command under "Factorio Server Details"

Example:

Factorio Server Details
================================================================================
Server name:        ezpz
Branch:             stable
Server IP:          0.0.0.0:34197
Internet IP:        127.0.0.1:34197
Server password:    1234test
RCON password:      1234test
Maxplayers:         4
Auth Token:         NOT SET
Savegame Interval:  10
Version Count:      5
// - - - new
Version: 1.1.46 linux64
// + + + new
Status:             STARTED

Further Reading

Provide any useful documentation or resources that might help.

@johnoclockdk
Copy link
Contributor

this is a good idea maybe added linuxgsm version also so us support and get some more info

@johnoclockdk johnoclockdk self-assigned this Nov 9, 2021
@dannoe
Copy link
Author

dannoe commented Nov 9, 2021

The linuxgsm version is already displayed under fctrserver Script Details:

fctrserver Script Details
================================================================================
Script name:            fctrserver
LinuxGSM version:       v21.4.1
glibc required:         2.18
Discord alert:          off
Email alert:            off
Gotify alert:           off
IFTTT alert:            off
Mailgun (email) alert:  off
Pushbullet alert:       off
Pushover alert:         off
Rocketchat alert:       off
Slack alert:            off

@h3o66
Copy link
Member

h3o66 commented Dec 20, 2021

Not sure how we can easily fetch the version, but the buildid from the local install should be possible for sure.

@h3o66
Copy link
Member

h3o66 commented Aug 23, 2022

Created PR to parse the version of the server.

Feel free to try my changes if they work.

@h3o66 h3o66 closed this as completed Oct 5, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.