core_functsions.sh is no longer required
refactor: remove legacy code
A lot of time has passed on many of these changes. Moving old legacy code conversions
refactor: remove unused alert modules
This commit removes the unused alert modules `alert.sh`, `alert_discord.sh`, and `alert_email.sh`. These modules were not being used in the codebase and were therefore deleted.
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(btl): rename bt1944 to btl (#4124)
* fix(bt1944): update binary file
* feat(btl): rename bt1944 to btl
* rename gameworld to worldname
* rename autosaveinverval to saveinterval
* rust seed
* add exit code to details
* update some variables
* comment
* update random
* current refactor
* modules
* json
* xml
* add core modules to functions dir
* functions
* fix
* use xmllint for parsing xml
* check root
* check logs
* sdtd
* quakec
* changes
* remove dev null
* arma3
* add detect details
* config origin
* fix: cmw mkdir bug
* ini improvements
* further ini improvements
* dst ini
* revert
* httpport
* max players
* source engine
* fix: cannot iterate over null
* fix quakec
* fix(nec): no query port
* more updates
* more updated
* more
* more
* telnet ip
* first test of details checking
* more details updates
* more standardizing
* comment out steamport in not set
* kf2 master server true
* update roserver
* fix bug
* looks for file called config and uses that
* test
test
test
test
test
* download correct configs
* test
test
test
test
test
test
test
test
test
test
test
test
test
test
test
test
test
test
test
* remove blank lines
* update var names
* fail
* continue on error
* install xmllint
* adjust quakec
* fix dst
* fix java
* re order mcb
* fix query port mc
* fix mom
* fix pc
* pc add http port
* add api and http port
* change naming to http from web admin
* api port
* http
* pc2
* add query raw
* list cluster config
* servercfgparse
* update avserver
* tidy up steam ports
* more servers completed
* fix sb
* no config file
* no config file
* add emserver config install
* codacy
* add legacy vars
* add more legacy
* add xmllint
* mta xmllint
* codacy
* codacy
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
* improvements to steamclient.so fix
* added fix to install inconsistent location across distros
* added dev/null for master server
* XDG_DATA_HOME
* prevent check_last_update from restarting server if stopped