The code changes remove the unnecessary check for the presence of a Docker environment in multiple scripts. Instead, they now only check if the current user is not root. This simplifies the logic and improves readability.
- Simplify root user check in `check.sh`, `check_deps.sh`, `check_permissions.sh`, `check_root.sh`, `command_install.sh`, `core_exit.sh`, and `linuxgsm.sh`
- Remove redundant checks for Docker environment
- Improve code readability
- Updated the operating system version for Action: Source server from ubuntu-22.04 to ubuntu-20.04
- Updated the operating system version for Arma Reforger server from ubuntu-22.04 to ubuntu-20.04
The `querymode` and `querytype` values in the btserver configuration file have been updated. The new values are `1` for `querymode` and an empty string for `querytype`. This change ensures that the correct query mode is used for server queries.
The commit updates the `querymode` to "1" and removes the value for `querytype` in the UT3 server configuration file. This change ensures that the correct query mode is used for server queries.
The query mode has been changed from "4" (gsquery) to "5" (tcp) in the solserver configuration file. Additionally, the query type has been cleared. This ensures that the server uses TCP for querying and removes any specific query type.
The commit fixes a typo in the command name "cmd_sponso" to "cmd_sponsor" in the core_getopt.sh file. This change ensures that the correct command is used for donation options.
The commit adds the libxml2-utils package to several CSV files. This change is necessary for the proper functioning of some scripts that depend on this package.
This commit improves the way server configurations are parsed by using xmllint to extract values from XML files. The eval function is also used to assign the extracted value to a variable.
This commit adds a temporary fix for upgrading Satisfactory from Update 7 to Update 8. A symlink is created between UnrealServer-Linux-Shipping and UE4Server-Linux-Shipping until the update is released.
This commit updates the name of several GitHub workflows to use proper capitalization and adds more descriptive names. The changes include:
- Add to project workflow: updated name from "Add game server requests to project" to "Add to Project"
- Details check workflow: updated name from "Details Check" to "Check LinuxGSM game server config and parameter variables"
- Git sync workflow: updated name from "Github to Bitbucket sync" to "Sync GitHub repo with backup Bitbucket repo"
- Issue labeler workflow: updated name from "Issue Labeler" to "Automatically label issues based on configuration file"
- Lock threads workflow: updated name from "Lock Threads" to "Automatically lock inactive threads after one week"
- Potential duplicates workflow: updated name from "Potential Duplicates" to "Detect potential duplicate issues and apply a label"
- Server list validation workflow: updated name from "Server list Validation" to Validate LinuxGSM serverlist.json format
- Trigger docker build workflow: added more descriptive names for each job
- Update copyright years in license file workflow: removed unnecessary dashes at the beginning, added a more concise description
- Version check workflow: added a more concise description
The code changes update the details-check.yml file to use the main branch instead of the rename branch for Game-Server-Configs. This ensures that the correct config file is downloaded for game servers.
* feat: add header to serverlist.csv
added header to serverlistto help ansible and other tools better work with the csv file
* feat: update serverlist menu
The script now skips the first line of the serverlist file when generating the list for 'list' and 'install' commands. This ensures that the header is not included in the output.
* fix: check details
* fix serverlist validate test
This commit adds a new feature to the details-check workflow by including concurrency. The group is set to the branch name and cancel-in-progress is enabled.
* fix: Removed hardcoded project name in update update_papermc.sh
Script was unable to fetch the proper builds for WaterfallMC due to it checking PaperMC instead.
Replaced the hardcoded .../paper/... project name with the already existing ${paperproject} to fix the issue
---------
Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
This commit updates the info_game.sh file by changing the servercfgfullpath variable to servercfgparse in line 96. It also modifies the fn_info_game_sb function to check if the server config file exists before parsing it, and changes the JSON keys in lines 1828-1836 from camelCase to dot notation.
The fn_info_config_ini function was renamed to fn_info_game_ini for consistency with other functions. The function arguments were also updated to match the new naming convention.
This commit adds the RCON port and password to the info_game function for Squad. The values are retrieved from the Rcon.cfg file if it exists in the server configuration directory.
The code changes modify the error message displayed when an unknown game server is entered. The new message now capitalizes the first letter of "unknown" and adds an exit status of 1 to terminate the script.
This commit adds default values of 123456789 for queryport and port3 if they are not set. This is to prevent the query from failing. Additionally, this commit unsets the ports if they are set to 123456789.
note xmllint is now required to gather details for sdtd
This commit updates the server details to include new fields such as Internet IP, Server IP, Telnet Enabled, Telnet Password and Telnet Port. It also updates the game info for 7 Days to Die to use different XML tags for retrieving values.