The log directory configuration has been updated for multiple game servers. The LGSM_LOGDIR environment variable is now checked and used if available, otherwise the default root directory is used. This change ensures that the correct log directories are set for each server.
* feat: Added Option to prefix logs with timestamps
* feat: Added Option to prefix logs with timestamps
* Add parameters to every game
* feat: Switched timestamp enabling from True/False to on/off
* feat: Added quotes on variables
* add to new configs
* renamed to logtimestamp
* remove gawk as a requirement
gawk is a standard tool on linux distros and no check is required
* tidy
* rename to addtimestamp
---------
Co-authored-by: Reda.drissi.e <[email protected]>
Co-authored-by: Daniel Gibbs <[email protected]>
* added gotify to default configs
* added gotify to info_messages.sh
* added gotify to core_function.sh
* added gotify to alerts.sh
* core of alert_gotify.sh
* fixed unterminated string in default configs
* fixed mistakes in alert_gotify.sh
* fixed bad quoting in alert_gotify.sh
* first working version, gotify does not like emojis
* added back curl options
* added catch for $gotifywebhook to alert.sh
* tabs over spaces
* standardised json
* message
Co-authored-by: Daniel Gibbs <[email protected]>
Removes a long time annoyance for any users who have servers with multiple IP addresses.
Now if the server has more than one IP address LinuxGSM will automatically try query all IP's until it gets a response.
The default IP in settings will now be 0.0.0.0 this also helps resolve issues with source servers and LAN browser #2534
If required it is still possible to manually enter the IP address you want to use. Also, displayip setting is useful if you want your alert to specify an IP address
IP variables for reference
ip the default IP for the server if using 0.0.0.0 LinuxGSM will query all available IP addresses
queryips a list of the ip addresses that will be queried
queryip the ip address that is being queried
displayip the ip/hostname you want to show up in alerts. if unset the internet-facing IP will be used
extip the external internet-facing IP address
* fix(monitor): bypass port query if session only mode selected
* removed factorio queryport
* remove queryport from servers that do not use them
* add check_config to details command
* updated eco servercfgdir
* update _default.cfg test
* update _default.cfg test
* update test master config
* reordered servercfg vars
* re-ordered and standardised config file vars
* tidy configs
* shellcheck
* standardised servercfgdir