Skip to content

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:

Deploying Red Eclipse 2 on Klutch.sh

    Create Your Dockerfile

    Create a Dockerfile in your repository:

    FROM ubuntu:22.04
    # Install dependencies
    RUN 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 2
    WORKDIR /opt
    RUN 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 configuration
    COPY servinit.cfg /opt/redeclipse/config/servinit.cfg
    # Expose game ports
    EXPOSE 28801/udp
    EXPOSE 28802/udp
    # Volume for configuration and data
    VOLUME /opt/redeclipse/config
    # Start the server
    CMD ["./redeclipse_server.sh"]

    Create Server Configuration

    Create a servinit.cfg file:

    // Red Eclipse 2 Server Configuration
    // Server name shown in server browser
    sv_servername "My Klutch.sh Server"
    // Server description
    sv_serverdesc "Hosted on Klutch.sh"
    // Admin password
    sv_adminpass "your-admin-password"
    // Maximum players
    sv_maxplayers 16
    // Default game mode (0=editing, 1=deathmatch, etc.)
    sv_defaultmode 1
    // Default map
    sv_defaultmap "fortitude"
    // Enable bots
    sv_botbalance 4

    Push 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:

    • Select UDP as the traffic type
    • Set the internal port to 28801

    Set Environment Variables

    Configure the following environment variables:

    VariableValue
    SERVER_NAMEYour server name
    ADMIN_PASSAdmin password
    MAX_PLAYERSMaximum player count

    Attach Persistent Volumes

    Add persistent storage:

    Mount PathRecommended SizePurpose
    /opt/redeclipse/config1 GBServer configuration

    Deploy Your Application

    Click Deploy to build and start your Red Eclipse 2 server.

    Connect to Your Server

    Players can connect by:

    1. Opening Red Eclipse 2 client
    2. Going to Multiplayer > Connect
    3. Entering your server address

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

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.