Skip to content

Docker image for running a ET: Legacy dedicated server.

License

Notifications You must be signed in to change notification settings

sebdanielsson/docker-etlegacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-etlegacy

Docker image for running a ET: Legacy 64-bit dedicated server.

GitHub GitHub stars GitHub issues GitHub forks GitHub license GitHub Workflow Status

Docker Docker Stars Docker Pulls

buymeacoffee_img

Changelog

A changelog is provided with each release.

Usage

Documentation for some of the commands are available at the projects wiki.

Sample config and pak-files

  1. Clone the repo: git clone https://github.com/sebdanielsson/docker-etlegacy.git
  2. Move to repo: cd docker-etlegacy
  3. Download game data packs: curl -O --output-dir ./data/etmain "https://mirror.etlegacy.com/etmain/pak[0-2].pk3"
  4. Configure etl_server.cfg and mapvotecycle.cfg in ./data/etmain before starting the server.
  5. Start the container.

docker run

docker run --name etlegacy \
-p 27960:27960/udp \
-v ./data/etmain:/etlegacy/etmain \
sebdanielsson/etlegacy:latest

compose.yaml

services:
  etlegacy:
    container_name: etlegacy
    image: sebdanielsson/etlegacy:latest
    command: +set fs_game legacy +set fs_homepath etmain +set g_protect 1 +exec etl_server.cfg
    ports:
      - "27960:27960/udp"
    volumes:
      - ./data/etmain:/etlegacy/etmain
    restart: unless-stopped

Nitmod

The following instruction assumes that you're deploying with docker compose.

1. Download Nitmod

mkdir data/nitmod
curl http://etmods.net/downloads/nitmod_2.3.5.zip -o nitmod_2.3.5.zip && unzip -d data/nitmod nitmod_2.3.5.zip nitmod_2.3.5.pk3 qagame.mp.x86_64.so && rm nitmod_2.3.5.zip

2. Configure container

Add the following bind mount under volumes: in your compose.yml to make your nitmod directory accessible to the container.

- ./data/nitmod:/etlegacy/nitmod

Replace the launch options in your compose.yaml.

command: +set fs_game nitmod +set fs_homepath /etlegacy +set g_protect 1 +exec nitmod.cfg

3. Add Nitmod config

Add nitmod.cfg (Required), levels.db (Recommended), commands.db, votes.db

Some documentation can be found on these websites:

Donate

Buy Me A Coffee

Contribute

All contributions are appreciated.

License

MIT