Daniel Gibbs
f5369ca901
fix: Change http to https in comment
7 months ago
Daniel Gibbs
1150b497a0
refactor: improve variable naming and remove unnecessary code duplication
The commit refactors the code in `install_config.sh` to improve variable naming and remove unnecessary code duplication. Specifically, it renames the variables for better clarity and removes redundant lines of code.
refactor: improve installation and configuration process
- Refactored the fix_dst.sh script to keep the shard name in server.ini consistent with the LinuxGSM config.
- Updated install_config.sh to provide clearer messages during the default config download and copy processes.
refactor: update shard name in server.ini
The code has been refactored to update the shard name in the server.ini file. This change ensures that the shard name in the LinuxGSM config matches the one in server.ini.
2 years ago
Daniel Gibbs
89ec08c8f1
fix(pvr): add fix for libc
2 years ago
Daniel Gibbs
0bec0ca218
feat: convert functions dir to modules dir ( #4169 )
* functions dir will be deleted after 14 days
2 years ago
Daniel Gibbs
635f4bce52
chore: use prettier for code tidy ( #3901 )
* feat: start using prettier linter
https://prettier.io/
* feat: prettier code formatting
* feat: add super linter
3 years ago
Daniel Gibbs
852feec520
fix: standardise and refactor comment headers ( #3198 )
4 years ago
Daniel Gibbs
ee515b7786
feat(alerts): add rocket.chat and alerts refactor ( #3051 )
* update linuxgsm alert logo
* add Rocket.chat alert option
* Refactor of post details by removing pastebin and hastebin
* Improved alert standardisation
Co-authored-by: Alasdair Haig <[email protected] >
Co-authored-by: Alasdair Haig <[email protected] >
Co-authored-by: AlasdairHaig <[email protected] >
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
f76cd6b266
fix(logs): resolve modulename not showing in logs ( #2818 )
5 years ago
Daniel Gibbs
d106384e28
feat: convert commandname to modulename ( #2728 )
5 years ago
Daniel Gibbs
835fdee88e
feat(core): convert ${curlpath} to using curl and improve code standards ( #2616 )
5 years ago
Daniel Gibbs
e0acffad80
feat: Refactor comments to follow standards ( #2389 )
6 years ago
Daniel Gibbs
5058214388
fix(fix): re-add fix_tf2 and minor fix refactor ( #2279 )
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
6848c9dbf7
Revert " SC2168: 'local' is only valid in functions."
This reverts commit 062ca4236c
.
7 years ago
Daniel Gibbs
616e976251
Revert "SC2168: 'local' is only valid in functions."
This reverts commit aaa971c0ad
.
7 years ago
Daniel Gibbs
aaa971c0ad
SC2168: 'local' is only valid in functions.
7 years ago
Daniel Gibbs
062ca4236c
SC2168: 'local' is only valid in functions.
7 years ago
Daniel Gibbs
77f1f9ea23
changed to new domain linuxgsm.com
7 years ago
Daniel Gibbs
fdbc6fc73c
updated function_selfname to help with issue #1425
8 years ago
Daniel Gibbs
6fbd530633
renamed filesdir to serverfiles
makign it easier to understand by changing the var to serverfiles (the actual name of the directory
8 years ago
Daniel Gibbs
11696acf5a
Renamed LGSM to LinuxGSM
For consistant branding.
8 years ago
Marvin Lehmann
3eee2b3690
Fixed some typos and improved descriptions
These changes do not affect the functionality of the code.
9 years ago
Daniel Gibbs
46941def99
function_selfname + fixes
9 years ago
Daniel Gibbs
21512494fa
module name has been split
now named
commandname and command action
command name is used in logs
command action is used on-screen.
Also alterations to function_selfname now called just selfname
9 years ago
Daniel Gibbs
b32bb17ae4
functions_selfname is now just selfname
Also commented out any selfname that causes issues.
9 years ago
Daniel Gibbs
b8f44749a0
Ditched lgsm_version as not used
added
local modulename="Function"
local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
to all functions
9 years ago
Daniel Gibbs
bf03a08f06
Version 210516
9 years ago
Daniel Gibbs
65bc10074c
Changed http to https on LGSM links
9 years ago
Daniel Gibbs
841a65b2f7
moved functions to lgsm dir
9 years ago
Daniel Gibbs
5d6cf92630
Code tidy
9 years ago
Daniel Gibbs
995a4c584d
Optimised fixes
removed un-needed code
9 years ago
Daniel Gibbs
ece19b3355
Updated messages func names
Update al messages function names to make is easier to read
9 years ago
Daniel Gibbs
243043af90
changed to symlink
9 years ago
Daniel Gibbs
914b6c009a
fixed download
9 years ago
Daniel Gibbs
b5c549f55e
Fix for centos servers
9 years ago