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.5.tar.gz (13.8 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.5-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cligsm-0.1.5.tar.gz
  • Upload date:
  • Size: 13.8 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.5.tar.gz
Algorithm Hash digest
SHA256 9ccfe1b1d92e6e8376e7b04a12af502417cb0ac1f31fff32505175cbd2a99974
MD5 0fccbd243e01ed2db1c804cf5f5ab7ce
BLAKE2b-256 8b685b7a4f8bb24c873b909172fe10354bad3bc07966e98352f36c0ac669ec1f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cligsm-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 16.4 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 797c7bead96a5a300c5fd2d91bb4af1e8a4642f890cee4b5b6965b743afe250a
MD5 029d7794cc412a4f99b0a7f0e4a74f03
BLAKE2b-256 31ff96e231a03542df82f7dffaf587e249a5b0fcd0f60925742048dbabf1d05b

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