„README.md“ ändern

This commit is contained in:
2022-04-18 13:06:31 +02:00
parent fc8d348083
commit 28d1d521ea

View File

@@ -1,50 +1,43 @@
# SteamCMD in Docker optimized for Unraid
This Docker will download and install SteamCMD and the according game that is pulled via specifying the Tag.
This Docker will download and install SteamCMD. It will also install LambdaWars and run it.
**Please see the different Tags/Branches which games are available.**
**STEAM CREDENTIALS:** For this container you have to provide valid Steam credentials where SteamGuard is disabled and this user need to have the game in it's library (since this game is free you can simply add it to this account).
It is recommended to create a dedicated Steam account for dedicated servers so that account theft of your personal account is impossible.
## Example Env params for CS:Source
| Name | Value | Example |
| --- | --- | --- |
| STEAMCMD_DIR | Folder for SteamCMD | /serverdata/steamcmd |
| SERVER_DIR | Folder for gamefile | /serverdata/serverfiles |
| GAME_ID | The GAME_ID that the container downloads at startup. If you want to install a static or beta version of the game change the value to: '232330 -beta YOURBRANCH' (without quotes, replace YOURBRANCH with the branch or version you want to install). | 232330 |
| GAME_NAME | SRCDS gamename | cstrike |
| GAME_PARAMS | Values to start the server | -secure +maxplayers 32 +map de_dust2 |
| GAME_ID | The GAME_ID that the container downloads at startup. If you want to install a static or beta version of the game change the value to: '319060 -beta YOURBRANCH' (without quotes, replace YOURBRANCH with the branch or version you want to install). | 319060 |
| GAME_NAME | SRCDS gamename | lambdawars |
| GAME_PARAMS | Values to start the server | +maxplayers 8 +map gamelobby |
| UID | User Identifier | 99 |
| GID | Group Identifier | 100 |
| GAME_PORT | Port the server will be running on | 27015 |
| VALIDATE | Validates the game data | true |
| VALIDATE | Validates the game data | blank |
| USERNAME | Leave blank for anonymous login | blank |
| PASSWRD | Leave blank for anonymous login | blank |
**ATTENTION: You have to disable Steam Guard for games that require authentication, but not all games need Steam credentials, Steam recommends to create a seperate account for dedicated servers **
>**NOTE** GAME_ID values can be found [here](https://developer.valvesoftware.com/wiki/Dedicated_Servers_List)
> And for GAME_NAME there is no list, so a quick search should give you the result
## Run example for CS:Source
## Run example
```
docker run --name CSSource -d \
-p 27015:27015 -p 27015:27015/udp \
--env 'GAME_ID=232330' \
--env 'GAME_NAME=cstrike' \
docker run --name LambdaWars -d \
-p 27015:27015/udp -p 27005:27005/udp -p 27020:27020/udp -p 26901:26901/udp -p 27015:27015 \
--env 'GAME_ID=319060' \
--env 'GAME_NAME=lambdawars' \
--env 'GAME_PORT=27015' \
--env 'GAME_PARAMS=-secure +maxplayers 32 +map de_dust2' \
--env 'USERNAME=YOURSTEAMUSER' \
--env 'PASSWRD=YOURSTEAMPASSWORD' \
--env 'GAME_PARAMS=+maxplayers 8 +map gamelobby' \
--env 'UID=99' \
--env 'GID=100' \
--volume /mnt/user/appdata/steamcmd:/serverdata/steamcmd \
--volume /mnt/user/appdata/cstrikesource:/serverdata/serverfiles \
ich777/steamcmd:latest
--volume /path/to/steamcmd:/serverdata/steamcmd \
--volume /path/to/lambdawars:/serverdata/serverfiles \
ich777/steamcmd:lambdawars
```
>**NOTE** port 26900 is the port for vac, in case of multiple servers make sure these are not the same
This Docker was mainly edited for better use with Unraid, if you don't use Unraid you should definitely try it!
This Docker is forked from mattieserver, thank you for this wonderfull Docker.
#### Support Thread: https://forums.unraid.net/topic/79530-support-ich777-gameserver-dockers/