Deploying Red Eclipse 2
Introduction
Red Eclipse 2 is a free, open-source arena shooter featuring fast-paced multiplayer combat with unique parkour-style movement mechanics. Players can wall-run, impulse boost, and perform acrobatic maneuvers while engaging in classic arena shooter gameplay.
Key features of Red Eclipse 2 include:
- Parkour Movement: Wall-running, sliding, and impulse jumps
- Multiple Game Modes: Deathmatch, CTF, Defend and Control, and more
- Varied Weapons: Classic arena shooter arsenal
- Map Editor: Built-in level editing tools
- Bots: AI players for practice or filling servers
- Cross-Platform: Windows, Linux, and macOS clients
- Modding Support: Customizable gameplay and content
- Active Community: Regular updates and community maps
This guide walks through deploying a Red Eclipse 2 game server on Klutch.sh using Docker.
Prerequisites
Before deploying Red Eclipse 2 on Klutch.sh, ensure you have:
- A Klutch.sh account
- A GitHub account with a repository for your Red Eclipse 2 configuration
- Basic familiarity with Docker and game server administration
Deploying Red Eclipse 2 on Klutch.sh
- Select UDP as the traffic type
- Set the internal port to 28801
- Opening Red Eclipse 2 client
- Going to Multiplayer > Connect
- Entering your server address
Create Your Dockerfile
Create a Dockerfile in your repository:
FROM ubuntu:22.04
# Install dependenciesRUN apt-get update && apt-get install -y \ wget \ unzip \ libgl1-mesa-glx \ libsdl2-2.0-0 \ libsdl2-image-2.0-0 \ libsdl2-mixer-2.0-0 \ && rm -rf /var/lib/apt/lists/*
# Download and install Red Eclipse 2WORKDIR /optRUN wget -q https://github.com/redeclipse/base/releases/download/v2.0.0/redeclipse_2.0.0_linux.tar.bz2 \ && tar -xjf redeclipse_2.0.0_linux.tar.bz2 \ && rm redeclipse_2.0.0_linux.tar.bz2 \ && mv redeclipse-* redeclipse
WORKDIR /opt/redeclipse
# Copy server configurationCOPY servinit.cfg /opt/redeclipse/config/servinit.cfg
# Expose game portsEXPOSE 28801/udpEXPOSE 28802/udp
# Volume for configuration and dataVOLUME /opt/redeclipse/config
# Start the serverCMD ["./redeclipse_server.sh"]Create Server Configuration
Create a servinit.cfg file:
// Red Eclipse 2 Server Configuration
// Server name shown in server browsersv_servername "My Klutch.sh Server"
// Server descriptionsv_serverdesc "Hosted on Klutch.sh"
// Admin passwordsv_adminpass "your-admin-password"
// Maximum playerssv_maxplayers 16
// Default game mode (0=editing, 1=deathmatch, etc.)sv_defaultmode 1
// Default mapsv_defaultmap "fortitude"
// Enable botssv_botbalance 4Push Your Repository to GitHub
Commit and push your files to your GitHub repository.
Create a New Project on Klutch.sh
Navigate to the Klutch.sh dashboard and create a new project named “red-eclipse-2”.
Create a New App
Create a new app within your project and connect your GitHub repository.
Configure UDP Traffic
Red Eclipse 2 uses UDP for game traffic:
Set Environment Variables
Configure the following environment variables:
| Variable | Value |
|---|---|
SERVER_NAME | Your server name |
ADMIN_PASS | Admin password |
MAX_PLAYERS | Maximum player count |
Attach Persistent Volumes
Add persistent storage:
| Mount Path | Recommended Size | Purpose |
|---|---|---|
/opt/redeclipse/config | 1 GB | Server configuration |
Deploy Your Application
Click Deploy to build and start your Red Eclipse 2 server.
Connect to Your Server
Players can connect by:
Game Modes
Red Eclipse 2 supports various game modes:
- Deathmatch: Free-for-all combat
- Team Deathmatch: Team-based combat
- Capture the Flag: Classic CTF gameplay
- Defend and Control: Territory control
- Bomber Ball: Football-style objective mode
- Race: Parkour racing courses
Additional Resources
- Official Red Eclipse Website
- Red Eclipse GitHub Repository
- Red Eclipse Documentation
- Klutch.sh Persistent Volumes
Conclusion
Deploying Red Eclipse 2 on Klutch.sh provides a reliable game server with automatic builds, persistent storage, and always-on availability. Host multiplayer matches and enjoy parkour-style arena combat with friends and the community.