Daniel Gibbs
33eb01b387
feat: remove requirement to input IP ( #3015 )
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
5 years ago
Ryan Walters
db4d3ccef4
fix: awk to properly grab the server pid when spaces are present in the session name ( #2997 )
5 years ago
Daniel Gibbs
167cf43e5b
codacy
5 years ago
Daniel Gibbs
6508caad67
fix(details): suppress jq error
5 years ago
Daniel Gibbs
8462086922
fix(info): gather external ip from ipify.org instead of ifconfig.co ( #2953 )
5 years ago
Daniel Gibbs
04bb8485b8
fix(update): fix update on start not working ( #2901 )
* add space to grep to get accurate session name
* move messages to get proper output
5 years ago
Daniel Gibbs
a76cd3f7b3
feat(update-lgsm): LinuxGSM update refactor ( #2884 )
This update is a major refactor of how LinuxGSM updates itself.
* will now use a version tag if downloading module for the first time.
* added backup repo (Bitbucket) that will be used if Github is unavailable.
* added ./gameserver and module version comparison this will allow instances to be correctly updated if there is a version mismatch.
* UI changes when modules are fetched for the first time
* added sessionname to fix broken tmux session is ./gameserver is called ./gameserver.sh
* change apt to apt-get as recommended by the apt packages when dealing with scripts.
5 years ago
Daniel Gibbs
66bf5e059e
feat(log): refactor log handling ( #2859 )
* standardise module identifiers
* renamed logs.sh to core_logs.sh
* improve stats log
* remove local
* functionselfname rename
5 years ago
Daniel Gibbs
8f14f97ec5
feat(steamcmd): move steamcmd dir to standard location ( #2822 )
* 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
5 years ago
Daniel Gibbs
f76cd6b266
fix(logs): resolve modulename not showing in logs ( #2818 )
5 years ago
Daniel Gibbs
abaa614cad
feat: general code standards improvements ( #2730 )
* add missing space in ; then
* standardise command if
* standardised True if the length of "STRING" is non-zero.
* changed -e to -f
5 years ago
Daniel Gibbs
466bc15e7b
fix(stats): fix stats bugs with language and sending stats ( #2727 )
* Update info_stats.sh
* added CPU frequency
* feat: swapped event label and event action
* fix: prevent df from displaying non-english text with disk space vars
* fix force English language on df to ensure a point is used
5 years ago
Daniel Gibbs
0af1f5ed47
fix(details): catch error should ifconfig.co fail ( #2704 )
5 years ago
Daniel Gibbs
df9218df9a
changed some ! back to -z
5 years ago
Daniel Gibbs
736e55717f
standardise command if
5 years ago
Daniel Gibbs
835fdee88e
feat(core): convert ${curlpath} to using curl and improve code standards ( #2616 )
6 years ago
Daniel Gibbs
06554cb314
code de-lint and bringing up to shellcheck standards ( #2613 )
6 years ago
Daniel Gibbs
b4290a3c96
feat(linuxgsm): depricate servicename variable ( #2594 )
servicename has been now completely replaced with selfname
6 years ago
Daniel Gibbs
8dd03776d3
feat(stats): add new feature LinuxGSM stat ( #2590 )
6 years ago
Daniel Gibbs
3bfaad9ca9
changed status to gameserverpid
6 years ago
Daniel Gibbs
414658410c
removed ts3 if
6 years ago
Daniel Gibbs
7059d9a6cf
feat(linuxgsm): various ui improvements ( #2554 )
* added column to debug
* added colour to header
* colourised LinuxGSM header text
* updated donate message
* ascii logo
* warn colour and altered header
6 years ago
Frisasky
7a3fa84fa6
feat(newserver): Medal of Honor: Allied Assault ( #2539 )
6 years ago
Daniel Gibbs
7396f1e93a
feat(newserver): Warfork ( #2535 )
* feat(newserver): warfork (#2475 )
* feat(newserver): warfork (#2508 )
* fixing player numbers bug
* gamepid bug
* add qfustion engine
* Update info_messages.sh
* Added missing slack settings
* removed tab
6 years ago
Daniel Gibbs
11336dc7dd
feat(details): Add game server resource usage and details refactor ( #2527 )
* Add game server memory usage in details
* add network details
* added link speed
6 years ago
Daniel Gibbs
1d41bc66d3
feat(refactor): general refactor of if statements ( #2492 )
* Codacy recommendation fixes
6 years ago
Daniel Gibbs
81c9e51846
fix(details): master server will now only show if set to true ( #2488 )
6 years ago
Daniel Gibbs
e0acffad80
feat: Refactor comments to follow standards ( #2389 )
6 years ago
Daniel Gibbs
5901f19d07
feat(alerts): add displayip variable ( #2310 )
6 years ago
Daniel Gibbs
389cbe7275
feat(details): add steam master server setting ( #2385 )
This new feature will confirm if supported game servers are listed on the steam master server.
6 years ago
Daniel Gibbs
c4ff9c80fa
feat(glibc): migrate glibc info to _default.cfg ( #2379 )
6 years ago
Daniel Gibbs
a79feaf34c
feat(update): Update command refactor
* Update update_factorio.sh
* feat(core): add error eol message
* fix(alert): resolve typo with script messages
* fix(check): add debug to executable check
* fix(general): correct commandname
* fix(general): change to lowercase
* fix(general): remove not required exitcodes
* fix(general): remove not required exitcodes
fix(general): remove not required exitcodes
* fix(check): a minor refactor
* feat(linuxgsm): Clear tmp directory
added script log
* feat(update: Factorio update now checks current build from executable
* feat(update: Factorio update now checks current build from executable
sqush
* moved executable dir
* feat(update): refactor of fctrserver updater
* changed to directory
squash
* corrected build details in log file
* corrected build details in log file
* more changes to logging
* altered log messages
* Re-worded current>local latest>remote
* Re-worded current>local latest>remote
* corrected logging
* corrected fn_script_log_fatal
* altered message to error from fatal
* improves messages
* minor tidy
* correct script log message
* code tidy
* feat(mumble): refactor mumble updater
* feat(mtaserver): refactor mtaserver updater
* feat(mcserver): refactor mcserver updater
* feat(fctrserver): refactor fctrserver updater
* tidy up script wording
* corrected function name
* bug fixes for mcserver updater
* add sleep to allow mcserver time to generate log file
* increase timer to 30 seconds
* increased to 60 seconds
* changed back to red
* add check for log file delay to allow time to generate
* further refactor improvements
* mtaserver: curl now uses to get info from version.h
* minor tidy
* refactor ts3 updater
* corrected server arch
* refactor
* refactor updaters
* refactor updaters
* removed app_info_print
6 years ago
Daniel Gibbs
7e23279b48
feat(details): add CPU info to details ( #2172 )
* feat(details): add CPU info to details
* fix(docs): further improvements to templates
6 years ago
Daniel Gibbs
1127c0b202
Fixed extip variable
7 years ago
Daniel Gibbs
c8d88c718c
restored legacy free command so older distros can use it if numfmt is unavailable
7 years ago
BourneID
bb15be9e80
Fix for #2005 to look for MemAvailable, use if exists otherwise calculate it
7 years ago
BourneID
bd50f74b37
Add check for MemAvailable and calculations if it does not exist.
7 years ago
Daniel Gibbs
c05d51fec3
Dependency checking can run as root ( #2032 )
* Only dependency checks will run as root user when starting the installer e.g `./csgoserver install`
* If running dep check as root LinuxGSM will remove any files in `lgsm` that belong to root
* Master server check will not run if jq missing
7 years ago
Daniel Gibbs
1c554a8be1
Details will now list if game server is on the Steam Master server ( #1986 )
Details will list if game server is on the Steam Master server
fixes #1847
7 years ago
Max Staff
69efb4363f
Use /proc/meminfo instead of free -m ( #1971 )
* Use /proc/meminfo instead of free -m
Also uses numfmt which is included in coreutils since version 8.24.
7 years ago
Daniel Gibbs
16f46a0cb3
missing quotes
7 years ago
Daniel Gibbs
6848c9dbf7
Revert " SC2168: 'local' is only valid in functions."
This reverts commit 062ca4236c
.
7 years ago
Daniel Gibbs
05b5705c3f
corrected distroid
7 years ago
Daniel Gibbs
062ca4236c
SC2168: 'local' is only valid in functions.
7 years ago
Daniel Gibbs
67436b1016
Distro info is now a loop that fills in missing gaps
7 years ago
Daniel Gibbs
4ae143afba
corrected cache details
7 years ago
Daniel Gibbs
72771776e6
Cached details to be removed from older version of free as confusing
7 years ago
Daniel Gibbs
acd39bfbcd
added physicalmemavailable n/a for older distros
7 years ago
Daniel Gibbs
8f48818e01
corrected if
7 years ago
Daniel Gibbs
7dc37b5e4d
Updated RAM usage to work with changes to free command
7 years ago