Skip to content

LacledesLAN/gamesvr-csgo-tourney

Repository files navigation

Laclede's LAN CSGO Tournament Server in Docker

thumb-csgo-tourney

This repository is maintained by Laclede's LAN. Its contents are heavily tailored and tweaked for use at our charity LAN-Parties. For third-parties we recommend using this repo only as a reference example and then building your own using gamesvr-csgo as the base image for your customized server.

Table of Content

Tags

Tag Description Purpose
base LL tournament rules. n/a
base-overtime LL tournament rules, but the server starts in overtime mode. TESTING
get5 Built from base, but includes metamod, sourcemod, and get5. PRODUCTION
latest Alias for the default LL tournament server, currently base-get5. PRODUCTION
hasty From latest, configurations tweak for shorter play and testing. TESTING
warmod From base, uses Warmod instead of get5. EMERGENCY

Build Hierarchy

                                        ┌─────────────────────┐
                                        │ gamesvr-csgo:latest │
                                        └──────────┬──────────┘
                                                   │
                                     ┌─────────────▼─────────────┐
                                     │ gamesvr-csgo-tourney:base │
                                     └─────┬───────┬──────┬──────┘
                   ┌───────────────────────┘       │      └─────────────────────────────┐
┌──────────────────▼─────────────────┐   ┌─────────▼─────────────────┐   ┌──────────────▼──────────────┐
│ gamesvr-csgo-tourney:base-overtime │   │ gamesvr-csgo-tourney:get5 │   │ gamesvr-csgo-tourney:warmod │
└────────────────────────────────────┘   └───────────────────────────┘   └─────────────────────────────┘
┌─────────────────────────────┐        ┌────────────────────────────┐
│ gamesvr-csgo-tourney:latest ├────────► gamesvr-csgo-tourney:hasty │
└─────────────────────────────┘        └────────────────────────────┘

Third Party Content

This repo includes content from other projects, including Metamod:Source, SourceMod, and SourceMod get5 plugin. For details see [./dist/README.md](./dist/README.md).

Linux

Get5

get5 is derived from base but includes the MetaMod plugin get5 and its prerequisites Metamod:Source and SourceMod.

Download

docker pull lacledeslan/gamesvr-csgo-tourney:get5;

Run Self-Tests

docker run --rm lacledeslan/gamesvr-csgo-tourney:get5 ./ll-tests/gamesvr-csgo-tourney-get5.sh;

Base-Overtime

The base-overtime image is mod-free, containing LL tournament configs that have been tweaked to start the server in overtime mode.

Start Overtime Server

TODO!

Hasty

The hasty image is built from latest and is meant only for testing. Its configs have been tweaked to drastically shorten game time.

Useful Commands

Extract Log Files

docker ps -a | grep lacledeslan/gamesvr-csgo-tourney | awk '{ print $14 }' | while read containerName; do
    echo Extracting for $containerName
    docker cp $containerName:/app/csgo/logs ~/$containerName/
    rm -f ~/$containerName/*.txt
    docker cp $containerName:/app/csgo/addons/sourcemod/logs ~/$containerName/sourcemod/
    rm -f ~/$containerName/sourcemod/accelerator.log
    rm -f ~/$containerName/sourcemod/*.txt
done