Branch:
feature/dst-changes
develop
feature/4117-steamcmfauth
feature/4426-tf-fixes
feature/4738-humanitz
feature/786-online-players-check
feature/786-playersonline
feature/alerts-refactor
feature/dst-changes
feature/git-branch-check
feature/sendgrid
feature/ubuntu24
gmod-content-mounting
hotfix/v24.2.4
hotfix/v24.3.3
hotfix/v25.1.1
hotfix/v25.1.2
hotfix/v25.1.3
hotfix/v25.1.4
master
server-instances
161030
161113
161113.1
161113.2
161118
161125
161221
161224
170110
170110.1
170110.2
170128
170128.1
170212
170219
170219.1
170305
170305.1
170430
170501
170619
170710
170710.1
170710.2
170803
170803.1
170803.2
170926
170926.1
171014
171216
171216.1
180313
180318
180318.1
180318.2
180318.3
180409
180409.1
180409.2
180409.3
180409.4
180409.5
180709.6
180718
180718.1
180718.2
180908
180908.1
180908.2
180908.3
181027
181027.1
181124
181216
181216.1
190106
190202
190217
190217.1
190401
190401.1
190401.2
190422
v19.10.0
v19.10.1
v19.10.2
v19.11.0
v19.12.0
v19.12.1
v19.12.2
v19.12.3
v19.12.4
v19.12.5
v19.5.3
v19.6.0
v19.7.0
v19.8.0
v19.8.1
v19.8.2
v19.8.3
v19.8.4
v19.9.0
v20.1.0
v20.1.1
v20.1.2
v20.1.3
v20.1.4
v20.1.5
v20.2.0
v20.2.1
v20.3.0
v20.3.1
v20.3.2
v20.3.3
v20.4.0
v20.4.1
v20.5.0
v20.5.1
v20.6.0
v20.6.1
v20.6.2
v21.1.0
v21.1.1
v21.1.2
v21.1.3
v21.2.0
v21.2.1
v21.2.2
v21.2.3
v21.2.4
v21.2.5
v21.3.0
v21.3.1
v21.3.2
v21.3.3
v21.4.0
v21.4.1
v21.5.0
v21.5.1
v22.1.0
v22.2.0
v22.2.1
v23.1.0
v23.2.0
v23.2.1
v23.2.2
v23.2.3
v23.3.0
v23.3.1
v23.3.2
v23.3.3
v23.3.4
v23.3.5
v23.3.6
v23.4.0
v23.5.0
v23.5.1
v23.5.2
v23.5.3
v23.6.0
v23.6.1
v23.6.2
v23.7.0
v23.7.1
v24.1.0
v24.1.1
v24.1.2
v24.1.3
v24.1.4
v24.1.5
v24.2.0
v24.2.1
v24.2.2
v24.2.3
v24.2.4
v24.3.0
v24.3.1
v24.3.2
v24.3.3
v24.3.4
v25.1.0
v25.1.1
v25.1.2
v25.1.3
v25.1.4
v25.1.5
${ noResults }
5 Commits (feature/dst-changes)
Author | SHA1 | Message | Date |
---|---|---|---|
|
0de015177a |
standardise exitcode
|
4 months ago |
|
f5369ca901
|
fix: Change http to https in comment
|
7 months ago |
|
e0b77391bc
|
feat: various UI changes (#4326)
* refactor: remove unnecessary comments in default server configurations The commit removes unnecessary comments from the default server configurations. The comments were providing instructions to edit the configuration files with care, but they are not needed and can be safely removed. * refactor: update server names in default configuration files - Updated the servername value in multiple default configuration files to "LinuxGSM" for consistency. - Refactored the code to reflect the changes made. * refactor: rename fn_script_log_fatal to fn_script_log_faail to create more consistency with naming * feat: improve console output formatting - Added separator function to improve readability of console output. - Replaced multiple instances of manual separators with the new function. - Updated commit message to follow conventional commit standard. * refactor: remove unnecessary fn_sleep_time calls This commit removes the fn_sleep_time function calls that are no longer needed in multiple modules. The fn_sleep_time function was used to introduce a delay, but it is no longer necessary for the current implementation. * better standardise random * removed bold where not required |
2 years ago |
|
eb5c8338ab
|
refactor: renamed fatal to fail to improve consistency
- Updated the log level from "fatal" to "fail" in the alert scripts. |
2 years ago |
|
4ddd8ee184
|
feat: tmux uniqueness (#4296)
* refactor: refactor tmux session handling - Updated the code to use the variable `socketname` instead of `sessionname` when interacting with tmux sessions. - Added logic to create a unique socket name using a UID if it doesn't already exist. - Refactored multiple functions (`fn_start_jk2`, `fn_start_tmux`, `fn_stop_graceful_ctrlc`, `fn_stop_graceful_cmd`, `fn_stop_graceful_goldsrc`, `fn_stop_graceful_avorion`, and `fn_stop_tmux`) to use the new socket name for tmux commands. This commit improves the readability and maintainability of the code by separating the concept of session names from socket names, allowing for more flexibility in managing tmux sessions. * feat: stop server when generating uid this should prevent issues when migrating to using uid * refactor: lockfile handling - Removed unnecessary function fn_start_jk2() - Removed unused variable startparameters in fn_start_tmux() - Added comments to clarify code functionality - Renamed lockfile from "${lockdir}/${selfname}.lock" to "${lockdir}/${selfname}-start.lock" - Updated log messages and log file names to include timestamp * refactor: improve backup and update monitoring The code in `command_monitor.sh` has been refactored to enhance the monitoring of backups and updates. The conditions for checking if a backup or update is running have been modified to include additional checks using `pgrep`. This change improves the accuracy of the monitoring process. * refactor: improve logging in core_exit.sh - Changed the grep command to include the -a flag to handle non-text files - Updated sed command to remove "modulefile=" from the output and redirect it to dev-debug-module-order.log * refactor: improve code readability and remove redundant code - Refactored the `fn_monitor_check_starting` function to check for stale lockfiles and print appropriate messages. - Refactored the `fn_monitor_check_stopping` function to check for stale lockfiles and print appropriate messages. - Removed redundant code that deletes the update lockfile in `command_update.sh` and `command_validate.sh`. - Improved code readability by removing unnecessary comments. * feat: add exitbypass flag to prevent lingering tmux sessions The code changes in `command_start.sh` include adding an `exitbypass` flag to prevent lingering tmux sessions. This flag is used to stop the running server before creating a unique uid for the tmux socket name. * refactor: Refactor lockfile names for consistency and clarity - Renamed "${lockdir}/${selfname}-laststart.lock" to "${lockdir}/${selfname}-last-started.lock" - Renamed "${lockdir}/backup.lock" to "${lockdir}/stopping.lock" - Renamed "${lockdir}/${selfname}-start.lock" to "${lockdir}/${selfname}-started.lock" - Renamed "${lockdir}/${selfname}-starting.lock" to "${lockdir}/${selfname}-stopping.lock" This commit refactors the lockfile names in the codebase for better consistency and clarity. The changes make it easier to understand the purpose of each lockfile and improve readability. * refactor: refactor check_last_update.sh, command_backup.sh, command_debug.sh, command_mods_remove.sh, command_monitor.sh, command_start.sh, command_stop.sh, command_ts3_server_pass.sh and core_steamcmd.sh - Refactored code to improve readability and maintainability. - Renamed variables for clarity. - Removed unnecessary comments and unused code. - Fixed typos and formatting issues. * refactor: update lock file path in core_steamcmd.sh The lock file path in the core_steamcmd.sh script has been updated to use the correct variable. This change ensures that the lock file is created in the correct directory. * refactor: improve file deletion in command_stop.sh The code change refactors the file deletion process in the command_stop.sh script. Instead of using an empty redirect, it now directly removes the specified lock file. This improves clarity and ensures proper cleanup when stopping a command. * refactor: update lockfile name in command_monitor.sh The lockfile name has been changed from "${selfname}-started.lock" to "${selfname}-monitoring.lock" in the fn_monitor_check_lockfile function. The code has also been refactored to remove unnecessary checks and fixes for the lockfile. * refactor: simplify start and stop command checks The code in `command_start.sh` and `command_stop.sh` has been refactored to simplify the checks for the start and stop commands. Instead of checking if `exitbypass` is empty, it now directly checks if `firstcommandname` matches specific values ("START", "RESTART" for start command, and "STOP" for stop command). This change improves readability and reduces unnecessary conditions. * refactor: simplify lockfile names and remove duplicate code - Renamed lockfiles from "${selfname}-started.lock" to "started.lock", "${selfname}-starting.lock" to "starting.lock", "${selfname}-stopping.lock" to "stopping.lock", and "${selfname}-update.lock" to "update.lock". - Removed duplicate code for removing stale lockfiles in fn_monitor_check_starting(), fn_monitor_check_stopping(), fn_monitor_check_backup(), fn_monitor_check_update(), update_factorio.sh, update_jediknight2.sh, update_minecraft.sh, update_minecraft_bedrock.sh, update_mta.sh, update_papermc.sh, update_ts3.sh, update_ut99.sh, and update_vintagestory.sh. - Updated references to the renamed lockfiles in the respective functions. * fix: corrected commandname * fix: commandname skeleton * refactor: improve file path handling in check_last_update.sh The code changes refactor the file path handling in check_last_update.sh to use the correct lock directory. This ensures that the last update time is correctly retrieved and compared with the last start time. * feat: add update lock file Add functionality to create an update lock file when validating and updating SteamCMD. This prevents potential conflicts with customised files. - Create a lock file with the current timestamp in the "command_validate.sh" script - Create a lock file with the current timestamp in the "update_steamcmd.sh" script * refactor: rename libgcc_s.so.1 backup file The code has been refactored to improve clarity and readability. The variable `libgccc_so` has been renamed to `libgccc_so.bak` for better understanding of its purpose. This change ensures that the backup file for libgcc_s.so.1 is correctly named and easily identifiable. * refactor: improve logging and error handling in command_monitor.sh - Added error handling for PIDs with identical tmux sessions running, killing them and restarting the server. - Added error handling for PIDs with the same tmux session and socket names running, killing them and restarting the server. |
2 years ago |
|
0bec0ca218
|
feat: convert functions dir to modules dir (#4169)
* functions dir will be deleted after 14 days |
2 years ago |
|
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 |
|
852feec520 |
fix: standardise and refactor comment headers (#3198)
|
4 years ago |
|
8ab3dccb71 |
feat(skeleton): New command skeleton (#3152)
* initial commit of skel * getopt * getopt * getopt * cpio * adding messages * exit * message * shellcheck * truncate netstat for colserver * added cpio dependency * tabs |
4 years ago |