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
- Select HTTP as the traffic type
- Set the internal port to 3000
Create Your Dockerfile
Create a Dockerfile in your repository:
FROM node:18-alpine
WORKDIR /app
# Install dependenciesRUN apk add --no-cache git
# Clone RconCli or install from npmRUN npm install -g rcon-cli-web
# Environment configurationENV PORT=3000ENV 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:
Set Environment Variables
Configure the following environment variables:
| Variable | Value |
|---|---|
PORT | 3000 |
NODE_ENV | production |
ADMIN_PASSWORD | A secure admin password |
Attach Persistent Volumes
Add persistent storage:
| Mount Path | Recommended Size | Purpose |
|---|---|---|
/app/data | 1 GB | Server 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
- Log in to the RconCli web interface
- Click “Add Server”
- Enter server details:
- Server Name
- Host/IP Address
- RCON Port
- RCON Password
- 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 playerssay Hello World # Broadcast messagekick player # Kick a playerop player # Give operator statusSource Games
status # Server statuschangelevel map_name # Change mapkick player # Kick playerAdditional 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.