Go to file
2019-10-15 12:38:54 +02:00
apparmor ~ temp commit, working on readme & apparmor 2019-07-29 21:55:01 +02:00
gmod ~ added / changed only commentary / log output 2019-10-15 12:38:54 +02:00
lgsm ~ added / changed only commentary / log output 2019-10-15 12:38:54 +02:00
test + test try to change details with lgsm 2019-07-29 21:54:31 +02:00
TTT + added lgsm config variables 2019-07-29 21:52:25 +02:00
.project ~ temp 2018-09-23 11:26:47 +02:00
LICENSE + prepared master merge 2018-09-28 14:53:30 +02:00
README.md - fix, readd readme 2019-07-29 22:02:56 +02:00

GMOD TTT

GMOD TTT server image, https://hub.docker.com/r/jusito/

TODO

  • sv_password not working
  • rcon not working
  • scrds doesn't like different internal / external ports (thats why no ports are exposed)
  • replacer config in other repo u2d?
  • health check -> details
  • volume for steam workshop
  • volume for other games
  • volume for gmod config
  • AppArmor Profile

Getting Started

  1. Create public workshop collection without maps, dummy ID:=123456. Use jusito/docker-ttt [...] +host_workshop_collection 123456. Create a collection with maps ID:=7891011 and add/link it to 123456. If you want the clients to automatically load the collection from the workshop when connecting without subscribing, use -e WORKSHOP_COLLECTION_ID=123456. The users loading all non-maps at startup and the map if needed, but you don't need to point them to the collection in the workshop.
  2. Do this elements need CSS, HL2, HLDM, TF2? Use -e INSTALL_CSS=true or -e INSTALL_HL2=true aso.
  3. Which ports? 27015/udp is default for game traffic x/tcp for rcon, for 27016 you would use -p 27016:27016/udp [...] jusito/docker-ttt [...] -port 27016.
  4. Set environment variables like servername -e SERVER_NAME="My Server", password -e SERVER_PASSWORD="securepw" and timezone for cron -e TZ="Europe/Berlin", default short downtime at Sunday 10 o'clock.
  5. Add options for server like startmap +map ttt_rooftops_2016_v1 and max players -maxplayers 10

run example without rcon

docker run -d \
 -e INSTALL_CSS=true \
 -p 27015:27015/udp \
 -e SERVER_NAME="My Server" \
 -e SERVER_PASSWORD="securepw" \
 -e TZ="Europe/Berlin" \
 jusito/docker-ttt:gmod_ttt_debian \
 -port 27015 \
 +map ttt_rooftops_2016_v1 \
 -maxplayers 10

run example with rcon

docker run -d \
 -e WORKSHOP_COLLECTION_ID=123456 \
 -e INSTALL_CSS=true \
 -p 27015:27015/udp -p 27015:27015/tcp \
 -e SERVER_NAME="My Server" \
 -e SERVER_PASSWORD="securepw" \
 -e TZ="Europe/Berlin" \
 jusito/docker-ttt:gmod_ttt_debian \
 -port 27015 \
 +map ttt_rooftops_2016_v1 \
 -maxplayers 10 \
 -usercon +rcon_password "yourPW"

Tags

  • lgsm_debian - Linux Game Server Manager in Debian
  • gmod_debian - Garrys Mod with Debian and LGSM
  • gmod_ttt_debian

Environment Variables

Server Properties

additional config

Internal Used (don't change please)

GMOD Parameters

LGSM Usage

docker exec -it CONTAINER ./home/steam/gmodserver console

File Locations

Volumes

Other

environment variables

If set every workshop item at the collection is added as forced, that means its automatically downloaded on connecting. Don't add collections with maps here just like weapons aso. WORKSHOP_COLLECTION_ID=

This variables are used to write the value to the server.cfg: SERVER_NAME="" SERVER_PASSWORD="" SERVER_VOICE_ENABLE="1"

If set to "true" the game is installed and mounted, most of the time you want to add the css content. INSTALL_CSS=false INSTALL_HL2=false INSTALL_HLDM=false INSTALL_TF2=false

server config

http://ttt.badking.net/config-and-commands/convars https://wiki.garrysmod.de/server.cfg

Path in container is: docker cp "your server.cfg path" CONTAINER:/home/steam/serverfiles/garrysmod/cfg/server.cfg

Additional

Debian Buster

Currently one dependency is missing: https://packages.debian.org/search?keywords=lib32tinfo5