2019-07-21 23:04:00 +02:00
# GMOD TTT
2018-09-28 14:53:30 +02:00
GMOD TTT server image, https://hub.docker.com/r/jusito/
## TODO
- use readme template
- force cleanup of downloaded elements => removed workshop elements are otherwise used
## run example
```
2018-10-03 00:50:19 +02:00
docker run -d -p 27015:27015/tcp -p 27015:27015/udp -e WORKSHOP_COLLECTION_ID=123456 -e INSTALL_CSS=true "jusito/docker-ttt" +host_workshop_collection 123456 +map ttt_rooftops_2016_v1 -maxplayers
2018-09-28 14:53:30 +02:00
```
-d exit if entrypoint exits
2018-10-03 00:50:19 +02:00
tcp port for rcon, if you want to use it start with -usercon +rcon_password "yourPW"
2018-09-28 14:53:30 +02:00
udp port for game traffic
2018-11-02 22:24:16 +01:00
## access console
docker exec -it CONTAINER ./home/steam/gmodserver console
2018-09-28 14:53:30 +02:00
## 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=
2018-10-03 00:50:19 +02:00
This variables are used to write the value to the server.cfg:
SERVER_NAME=""
SERVER_PASSWORD=""
SERVER_VOICE_ENABLE="1"
2018-09-28 14:53:30 +02:00
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
2018-10-03 00:50:19 +02:00
https://wiki.garrysmod.de/server.cfg
2018-09-28 14:53:30 +02:00
Path in container is:
2018-10-03 00:50:19 +02:00
docker cp "your server.cfg path" CONTAINER:/home/steam/serverfiles/garrysmod/cfg/server.cfg
2018-09-28 14:53:30 +02:00
2019-07-21 23:04:00 +02:00
## Additional
### Debian Buster
Currently one dependency is missing: https://packages.debian.org/search?keywords=lib32tinfo5