One-command setup (SteamCMD + pinned, checksum-verified ReHLDS / ReGameDLL / Metamod-R / AMXX / ReAPI / ReUnion / CSDM-ReAPI / YaPB / GunGame), .env settings, ./cs menu (map, DM/GunGame mode, bots, kill counter, restart, update), own plugins (extras, rtv, mode switch), all-time kill counter, watchdog + nightly backup, docs for admins and players. Co-Authored-By: Claude Opus 5.5 <[email protected]>
34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
# cs16-dm-server settings. setup.sh copies this to .env (and asks for the important ones).
|
|
# After editing .env: docker compose up -d (or ./cs -> "apply .env")
|
|
# No double quotes inside values.
|
|
|
|
# Name in the server browser and on the scoreboard
|
|
CS_HOSTNAME=CS 1.6 Deathmatch
|
|
|
|
# Join password (empty = open server, anyone can join)
|
|
CS_PASSWORD=
|
|
|
|
CS_MAXPLAYERS=16
|
|
|
|
# Game port (UDP). Change it to run a second server on the same machine.
|
|
CS_PORT=27015
|
|
|
|
# Map the server starts on (after that it follows hlds/cstrike/mapcycle.txt)
|
|
CS_MAP=de_dust2
|
|
|
|
# Game mode on the FIRST install: dm (free-for-all deathmatch) or gg (GunGame).
|
|
# After that the mode is switched live with ./cs (or rcon esef_mode dm|gg) and remembered.
|
|
CS_MODE=dm
|
|
|
|
# YaPB bots: fill the server up to this many players (bots leave as humans join). 0 = no bots.
|
|
CS_BOTS=6
|
|
# 0 = easy .. 4 = expert
|
|
CS_BOT_DIFFICULTY=2
|
|
|
|
# Docker container name (unique per server on this machine)
|
|
CS_NAME=cs16
|
|
|
|
# User/group the server runs as (owner of this folder). setup.sh fills these in.
|
|
CS_UID=1000
|
|
CS_GID=1000
|