SteamCMD is a command-line based Steam client developed by Valve that is used to remotely download game files. This is very useful for game servers, as it is significantly easier to keep them up-to-date. Any game that supports dedicated servers will have their server files available on SteamCMD. All you need is the AppID which can be found on Valve's wiki or SteamDB.
SteamCMD requires a login to download some game servers.
It is recommended that you create a new Steam username just for the server.
The majority of game servers using SteamCMD only require an anonymous login. LinuxGSM will not require any configuration if this is the case.
Some game servers require you login to SteamCMD using a steam login to allow download of the server. Some also require you to own a copy of the game on the steam account.
If this is the case LinuxGSM will prompt you on install to set a steam username and password. This can be set by editing the following settings within the LinuxGSM config.
## SteamCMD Loginsteamuser="username"steampass="password"
SteamCMD prints out passwords in plain text meaning that the Steam login password is visible to anyone on the server. LinuxGSM saves logs and the Steam login password will be view-able in the logs.
Steam Guard is an additional layer of security that can be applied to a Steam account. The first layer is the account login credentials: the Steam account username and password. With Steam Guard, a second layer of security is applied to the account, making it harder for a Steam account to fall into the wrong hands.
When Steam Guard is enabled on an account, when a login to from an unrecognized device happens an access code will be required as verification. Depending on the account Steam Guard settings, either an email with a code or a code from the Steam Mobile app on a smartphone is required.
Username and password - No Steam Guard
Username and password - Steam Guard via Email (recommended)
Username and password - Steam Guard via Smartphone (not compatible with LinuxGSM)
Username and Password - No Steam Guard
Simply requires your Steam username and password.
Username and Password - Steam Guard via Email (recommended)
Requires your Steam username and password but also you will receive and email on first login to SteamCMD and be required to enter a code. Once the code is entered your server is authorised to use the steam account you entered.
Username and Password - Steam Guard via Smartphone (not compatible with LinuxGSM)
Requires your Steam Username & Password but also requires you have the Steam app on your phone to use 2-factor Authentication
Both options 1 & 2 work with LinuxGSM.
Steam Guard via Smartphone is not compatible because it requires a code every time you login to SteamCMD. This is problematic if you want your servers to auto update.
If you have Steam Guard via email enabled the first time you start SteamCMD you will be prompted to enter a steam Guard code and you will receive an email with the code. Copy and paste the code in to the prompt and press enter. You will not need to enter a code again.
If you encounter an error like
Error! App '<app_number>' state is 0x202 after update job.
there is a good chance that you have run out of disk space.