Ask or search…
K
Links
Comment on page

Workshop

Many Steam games support the steam workshop. It is an easy way to share community maps and addons and is very useful for custom servers, without needing to worry about setting up FastDL. LinuxGSM adds workshop pre-configuration to game server scripts when available.
You will need a Steam API key, a collection to subscribe to (you can create one), and some config parameters in your LinuxGSM config.

Supported Games Servers

This is a list of game servers that are known to support Workshop
  • Ark: Survival Evolved
  • ARMA 3
  • Day of Infamy
  • Counter-Strike: Global Offensive
  • Garrys Mod
  • Hurtworld
  • Insurgency: Sandstorm
  • Killing Floor 2
  • Natural Selection 2
  • Starbound

Getting a Steam API Key

Simply go to https://steamcommunity.com/dev/apikey and follow the instructions.
Do not share this key.

Creating a collection and get the collection ID

Go browse collections for your desired game, and click "Create a collection".
Add some addons to the collection, then publish the completed collection. Then get the collection page id which can be found on the page URL. For example:
https://steamcommunity.com/sharedfiles/filedetails/?id=274397080
The collection id would be 274397080.

Server Configurations

Garry's Mod

Garry's Mod doesn't need an API Key anymore.
For Garry's Mod, edit these lines in your LinuxGSM config
wscollectionid="YOUR_COLLECTION_ID"
Setting the workshop collection ID only adds content to the server, and players will only download maps from the collection. This is because workshop files must be set in the workshop.lua file in:
/home/gmod/serverfiles/garrysmod/lua/autorun/server/
Example line:
resource.AddWorkshop( "workshop_ID_#_here" ) --comment
resource.AddWorkshop( "1728099077" ) --Rick Roll SENT
I do not recommend putting a collection ID in this file if you are hosting a server with a large map list, this will cause players to download every map on their first connection. Instead, it is recommended to put every individual workshop item except maps in this file.

Counter-Strike Global Offensive

For CSGO, edit these lines in your LinuxGSM config
wsapikey="YOUR_STEAM_API_KEY"
wscollectionid="YOUR_COLLECTION_ID"
wsstartmap="

Killing Floor 2

For KF2 Server using LinuxGSM, workshop content is added in LinuxServer-KFEngine.ini under:
/home/user/serverfiles/KFGame/Config/kf2server
While following the guide, remember PCServer-KFEngine.ini is instead LinuxServer-KFEngine.ini