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.
Simply go to https://steamcommunity.com/dev/apikey and follow the instructions.
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:
The collection id would be
For Garry's Mod, edit these lines in your LinuxGSM config
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:
resource.AddWorkshop( "workshop_ID_#_here" ) --commentresource.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.
For CSGO, edit these lines in your LinuxGSM config
For KF2 Server using LinuxGSM, workshop content is added in
While following the guide, remember
PCServer-KFEngine.ini is instead