Skip to main content

A user-friendly CLI alternative to LinuxGSM for game server management

Project description

CLIGSM

CLIGSM is a user-friendly CLI alternative to LinuxGSM for game server management. It provides an intuitive interface for managing game servers without requiring extensive command-line knowledge.

Installation

There are several ways to install CLIGSM:

Using pipx (Recommended)

# Install pipx if you haven't already
python3 -m pip install --user pipx
python3 -m pipx ensurepath

# Reload your shell's PATH (or restart your terminal)
source ~/.bashrc  # or source ~/.profile

# Install CLIGSM with all dependencies
pipx uninstall cligsm  # Remove any existing installation
pipx install cligsm --include-deps

# Verify installation
cligsm --version

Using pip

# Install globally with all dependencies
pip3 install cligsm[all]

# Or install for current user only
pip3 install --user cligsm[all]

System Dependencies (Linux)

On Linux systems, you'll need to install some additional dependencies for SteamCMD:

# Enable 32-bit architecture
sudo dpkg --add-architecture i386

# Update package lists
sudo apt-get update

# Install required packages
sudo apt-get install -y lib32gcc-s1 lib32stdc++6 lib32gcc1 libsdl2-2.0-0:i386 libtinfo5:i386

Running as Root

If you're running CLIGSM as root (not recommended for production), you'll need to install it globally:

# Install pipx globally for root
sudo pip3 install pipx
sudo pipx ensurepath

# Install CLIGSM
sudo pipx install cligsm --include-deps

# Or using pip directly
sudo pip3 install cligsm[all]

Troubleshooting Installation

If you get "command not found" after installation:

  1. Make sure your PATH includes Python's bin directory:
echo $PATH
  1. Find where the package is installed:
pip3 show cligsm
  1. Add the bin directory to your PATH if needed:
export PATH="$HOME/.local/bin:$PATH"  # Add to your ~/.bashrc or ~/.profile
  1. If you get dependency errors:
# Try reinstalling with all dependencies
pipx uninstall cligsm
pipx install cligsm --include-deps

# Or install missing dependencies manually
pip3 install requests psutil rich click
  1. If SteamCMD fails to install:
# Make sure you have all system dependencies
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y lib32gcc-s1 lib32stdc++6 lib32gcc1 libsdl2-2.0-0:i386 libtinfo5:i386

Features

  • Easy-to-use command-line interface
  • Game server management without complex CLI knowledge
  • Support for popular game servers
  • Simplified installation and configuration process

Usage

# Basic command structure
cligsm [command] [options]

# Arma 3 Server Management
cligsm arma3 create myserver  # Create a new Arma 3 server
cligsm arma3 start myserver   # Start the server
cligsm arma3 stop myserver    # Stop the server
cligsm arma3 status myserver  # Check server status

# Mission Management
cligsm arma3 mission install myserver path/to/mission.pbo
cligsm arma3 mission list myserver

# Backup Management
cligsm arma3 backup create myserver
cligsm arma3 backup list myserver

Server Requirements

System Requirements

  • Python 3.8 or higher
  • Required Python packages:
    • click
    • rich
    • psutil
    • requests
  • For Linux systems:
    • 32-bit architecture support
    • Required system libraries (see System Dependencies section)

Arma 3 Server Requirements

  • Minimum 4GB RAM (8GB recommended)
  • 20GB free disk space
  • Linux, Windows, or macOS
  • SteamCMD (automatically installed)
  • Proper firewall configuration:
    • Default ports: 2302-2305 TCP/UDP
    • Steam query port: 27016 TCP/UDP

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cligsm-0.1.4.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cligsm-0.1.4-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file cligsm-0.1.4.tar.gz.

File metadata

  • Download URL: cligsm-0.1.4.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for cligsm-0.1.4.tar.gz
Algorithm Hash digest
SHA256 bcce7c770a3e0e282c20f5e97e1a84612874800be60e4db0e0dfb3a97d06f159
MD5 568469691765752eb5439cade99c6395
BLAKE2b-256 d0c749e57c0c5982c31ef9cb8c19481eb2b4fd308643f811e255f11e3711e7e7

See more details on using hashes here.

File details

Details for the file cligsm-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: cligsm-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for cligsm-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 676a2737e8abb6a5737d39b4559b00286c51cc463a23df89ee8d0b783a1c928b
MD5 8d5d42d82d77a1525aea7c58d715b9c3
BLAKE2b-256 b95126a20962ac40b878aa21847d34d3c505c741b09af2605c65847a9898da43

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page