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.6.tar.gz (14.0 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.6-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cligsm-0.1.6.tar.gz
  • Upload date:
  • Size: 14.0 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.6.tar.gz
Algorithm Hash digest
SHA256 04e3a0baf9a5ebf66633c09662e2e7d3fc37db5544e4b96eee6b13ba257c289a
MD5 e093b480e3edeb537ee9a6e3634473b4
BLAKE2b-256 79c04cbe0a1867a5907f9a8d58d7038ba0d1e266c68224621ac6b60d422bca6f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cligsm-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 16.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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 44e7b9ba11474c88a35acc54a030b77e6c5325ff845998eac7653423154f557f
MD5 307468c57c02dbe911ab7d6a75a589ee
BLAKE2b-256 52c832cf9b46727da72c25f4b883a7941d0078506409cd01d04e906c11c5df07

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