Skip to content

Deploying RconCli

Introduction

RconCli is a web-based RCON (Remote Console) client that provides a user-friendly interface for managing game servers. RCON is a protocol used by many game servers including Minecraft, ARK, Rust, and Source engine games to allow remote administration.

Key features of RconCli include:

  • Web Interface: Manage servers from any browser
  • Multi-Server Support: Connect to multiple game servers
  • Command History: Keep track of executed commands
  • Saved Commands: Store frequently used commands
  • Responsive Design: Works on desktop and mobile
  • Secure Access: Password-protected interface
  • Cross-Platform: Works with various RCON-compatible games

This guide walks through deploying RconCli on Klutch.sh using Docker and configuring connections to your game servers.

Prerequisites

Before deploying RconCli on Klutch.sh, ensure you have:

  • A Klutch.sh account
  • A GitHub account with a repository for your RconCli configuration
  • Game servers with RCON enabled and accessible
  • RCON passwords for your game servers
  • Basic familiarity with Docker

Deploying RconCli on Klutch.sh

    Create Your Dockerfile

    Create a Dockerfile in your repository:

    FROM node:18-alpine
    WORKDIR /app
    # Install dependencies
    RUN apk add --no-cache git
    # Clone RconCli or install from npm
    RUN npm install -g rcon-cli-web
    # Environment configuration
    ENV PORT=3000
    ENV NODE_ENV=production
    EXPOSE 3000
    CMD ["rcon-cli-web"]

    Push Your Repository to GitHub

    Commit and push your Dockerfile to your GitHub repository.

    Create a New Project on Klutch.sh

    Navigate to the Klutch.sh dashboard and create a new project named “rconcli”.

    Create a New App

    Create a new app within your project and connect your GitHub repository.

    Configure HTTP Traffic

    In the deployment settings:

    • Select HTTP as the traffic type
    • Set the internal port to 3000

    Set Environment Variables

    Configure the following environment variables:

    VariableValue
    PORT3000
    NODE_ENVproduction
    ADMIN_PASSWORDA secure admin password

    Attach Persistent Volumes

    Add persistent storage:

    Mount PathRecommended SizePurpose
    /app/data1 GBServer configurations and command history

    Deploy Your Application

    Click Deploy to build and start your RconCli instance.

    Access RconCli

    Once deployment completes, access your RconCli instance at https://your-app-name.klutch.sh.

Adding Game Servers

Server Configuration

  1. Log in to the RconCli web interface
  2. Click “Add Server”
  3. Enter server details:
    • Server Name
    • Host/IP Address
    • RCON Port
    • RCON Password
  4. Save the configuration

Supported Games

RconCli works with RCON-compatible games including:

  • Minecraft: Java Edition servers
  • ARK: Survival Evolved
  • Rust
  • Counter-Strike and other Source engine games
  • 7 Days to Die
  • Factorio

Common Commands

Minecraft

list # List online players
say Hello World # Broadcast message
kick player # Kick a player
op player # Give operator status

Source Games

status # Server status
changelevel map_name # Change map
kick player # Kick player

Additional Resources

Conclusion

Deploying RconCli on Klutch.sh provides a convenient web-based interface for managing your game servers with automatic builds, persistent storage, and secure HTTPS access. Send commands to your game servers from any device through a user-friendly interface.