The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
Go to file
Daniel Gibbs 5f0f12a9b2
feat(vint): migrate to dotnet from mono (#4304)
* adde dotnet repo

* feat: update package dependencies for Ubuntu 16.04, 18.04, and 20.04

- Updated the package dependency for "vints" from "mono-complete" to "aspnetcore-runtime-7.0" in the Ubuntu 16.04, 18.04, and 20.04 CSV files.
- Also updated the package dependency for "vpmc" from "openjdk-8-jre" to "openjdk-11-jre" in the Ubuntu 18.04 and 20.04 CSV files.

This commit ensures that the correct package dependencies are specified for these Ubuntu versions, improving compatibility and functionality of the codebase.

* refactor: update dependency check for ASP.NET Core runtime

The code has been refactored to update the dependency check for the ASP.NET Core runtime. The condition that checks for the presence of "dotnet-runtime-7.0" has been changed to "aspnetcore-runtime-7.0". This ensures that the correct dependency is being checked and improves accuracy in determining if the required runtime is installed.

* fix: fix conditional statement in check_deps.sh

The commit fixes a bug in the conditional statement of the check_deps.sh script. Previously, it incorrectly checked if dotnetversion was empty instead of checking if it was not empty. This caused an incorrect value to be assigned to depstatus and dotnetinstalled variables. The bug has been fixed by correcting the conditional statement.

* refactor: simplify install_config.sh

This commit simplifies the `install_config.sh` file by removing unnecessary code for the "vints" configuration. The configuration is now generated on first run, and the list of config locations is still provided.

* refactor: improve error handling and display in core_exit.sh and install_config.sh

- In core_exit.sh, added a check to set exit code to 4 if it is not already set.
- In install_config.sh, improved the display of missing config file by highlighting the file path.

These changes aim to enhance the error handling and provide clearer information to users.

* feat: add exitcode handling to command_install.sh

The commit adds a check for the exitcode variable in command_install.sh. If it is empty, it sets it to 0. This change ensures proper handling of the exitcode in the script.

* refactor: improve installation process

The code changes in this commit refactor the installation process. The `command_install.sh` file has been modified to remove unnecessary code. Additionally, the `install_complete.sh` file has been updated to provide more informative messages based on the exit code. This improves the overall clarity and user experience during installation.

Co-authored-by: AI Assistant <assistant@example.com>

* refactor: remove redundant code in install_config.sh

The commit removes a redundant function call in the install_config.sh file. The "fn_list_config_locations" function is no longer needed for the "vints" configuration.

* a

* refactor: improve logging in command_stop.sh

- Changed `fn_script_log_error` to `fn_script_log_info` for consistency
- Removed unnecessary empty line

* refactor: dont try to stop a server that is already stopped

* refactor: remove redundant code and improve socket name generation

The commit refactors the code in `command_start.sh` and `linuxgsm.sh` to remove redundant code related to generating a unique tmux socket name. The code now creates a uid file if it doesn't exist, stops the running server, generates a uid using the current timestamp, and updates the socketname accordingly. This change improves the efficiency and reliability of socket name generation.

* refactor: remove unnecessary command_stop.sh call

The code change removes the unnecessary call to `command_stop.sh` in the `linuxgsm.sh` file. This improves efficiency and prevents lingering tmux sessions.

* refactor: remove duplicate code for creating unique tmux socket name

The code changes in `command_start.sh` and `linuxgsm.sh` refactor the creation of a unique tmux socket name. The duplicate code in `linuxgsm.sh` has been removed, resulting in cleaner and more efficient code.

* refactor: improve socketname assignment

The code change refactors the socketname assignment in the linuxgsm.sh script. Instead of directly assigning it to "${sessionname}-$(cat "${datadir}/${selfname}.uid")", it now checks if the file "${datadir}/${selfname}.uid" exists before assigning the value. This improves error handling and prevents potential issues when the file doesn't exist.
2023-09-04 21:24:27 +01:00
.github Update update_vintagestory.sh (#4286) 2023-08-27 22:03:44 +01:00
.vscode chore: fix issue with vscode prettier 2023-04-06 21:57:05 +01:00
lgsm feat(vint): migrate to dotnet from mono (#4304) 2023-09-04 21:24:27 +01:00
tests Release v23.4.0 2023-07-21 00:54:39 +01:00
.editorconfig update .editorconfig 2022-06-22 23:20:56 +01:00
.gitattributes chore: use prettier for code tidy (#3901) 2022-06-22 23:29:49 +01:00
.gitignore Release v23.3.3 2023-06-09 16:38:39 +01:00
.prettierrc chore: fix issue with vscode prettier 2023-04-06 21:57:05 +01:00
CODE_OF_CONDUCT.md chore: use prettier for code tidy (#3901) 2022-06-22 23:29:49 +01:00
CONTRIBUTING.md chore: use prettier for code tidy (#3901) 2022-06-22 23:29:49 +01:00
LICENSE.md Rename LICENSE to LICENSE.md 2023-01-14 00:37:13 +00:00
linuxgsm.sh feat(vint): migrate to dotnet from mono (#4304) 2023-09-04 21:24:27 +01:00
package-lock.json feat(details): refactor of game info (#4174) 2023-05-16 20:56:58 +01:00
package.json feat(details): refactor of game info (#4174) 2023-05-16 20:56:58 +01:00
README.md fix: broken bitbucket button 2023-04-02 16:26:22 +01:00

LinuxGSM Codacy grade GitHub Workflow Status Discord SteamCMD MIT License

LinuxGSM is the command-line tool for quick, simple deployment and management of Linux dedicated game servers.

Hassle-Free Dedicated Game Servers

Traditionally game servers are not easy to manage yourself. Admins often have to spend hours messing around trying to get their server working. LinuxGSM is a command-line tool designed to be as simple as possible, allowing admins to spend less time on management and more time gaming.

Main features

100+ game servers supported

  • 🚚 Installer
  • 🔍 Monitor
  • ☎️ Alerts
  • ☁️ Updater
  • 📘 Server Details
  • 💾 Backup
  • 💻 Console

🐧 Compatibility

LinuxGSM will run on popular distros as long as the minimum requirements are met.

  • Ubuntu
  • Debian
  • CentOS

Other distros are likely to work but are not fully tested.

🔧 Requirements

Each game server has specific dependency requirements. Visit a specific game server installation page on the LinuxGSM website to check dependency requirements for the game server you want to install.

📘 Documentation

Documentation is found at linuxgsm.com and docs.linuxgsm.com.

Support

There are various ways to get support, check out the support page to the right support.

❤️ Sponsor

If you would like to sponsor to the project there are several ways you can, via GitHub Sponsors and PayPal. I would like to thank everyone who sponsors me. Since 2012 LinuxGSM has been steadily growing with new servers, features and improvements added regularly.

Contributors

A big thank you goes to all the wonderful people who contribute ideas, code, docs and support to this project.