Skip to content

Commit e6b22b2

Browse files
dgibbs64gitbook-bot
authored andcommitted
GITBOOK-349: change request with no subject merged in GitBook
1 parent 9e784cf commit e6b22b2

File tree

3 files changed

+31
-42
lines changed

3 files changed

+31
-42
lines changed

SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
* [ARK: Survival Evolved](game-servers/ark-survival-evolved.md)
3737
* [Call of Duty 4](game-servers/call-of-duty-4.md)
3838
* [Dont Starve Together](game-servers/dont-starve-together.md)
39+
* [Counter-Strike 2](game-servers/counter-strike-2.md)
3940
* [Counter-Strike: Global Offensive](game-servers/counter-strike-global-offensive.md)
4041
* [Factorio](game-servers/factorio.md)
4142
* [Garrys Mod](game-servers/garrys-mod/README.md)
@@ -51,7 +52,6 @@
5152
* [Unreal Tournament 2004](game-servers/unreal-tournament-2004.md)
5253
* [Unreal Tournament 3](game-servers/unreal-tournament-3.md)
5354
* [Valheim](game-servers/valheim.md)
54-
* [Counter-Strike 2](game-servers/counter-strike-2.md)
5555
* [The Front \[WIP\]](game-servers/the-front-wip.md)
5656
* [Networking](networking/README.md)
5757
* [IP Address](networking/ip-address.md)

game-servers/counter-strike-2.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,22 @@ If players are respawning in random locations on custom maps, set `mp_randomspaw
4040

4141
If players are being banned for dying too much, such as on minigames maps, as a workaround set `mp_autokick` to 0. **Warning, this disables AFK and Teamkilling kicks as well.**
4242

43-
## **Server Guides**
43+
## Workshop
4444

45-
[Install Sourcemod on CS:GO Server](../guides/sourcemod-csgo-server.md)
45+
it is possible to add a single or collection of workshop maps to a Counter-Strike 2 server.
4646

47-
## **Setting for a 128 Tick Server**
47+
### Workshop ID
4848

49-
Add to the following to the config `lgsm/config-lgsm/csgoserver/csgoserver.cfg` :
50-
51-
`tickrate="128"`
52-
53-
AS well it is needed to add a few options to the game config (default in: `serverfiles/csgo/cfg/csgoserver.cfg` )
49+
First, gather the map or collection ID. To do this find to the workshop map or collection you want to use on the [CS2 steam workshop](https://steamcommunity.com/app/730/workshop/) and look at the URL; it will contain the required ID number. In the example below the ID is `3075706807`.
5450

5551
```
56-
sv_mincmdrate 128
57-
sv_minupdaterate 128
52+
https://steamcommunity.com/sharedfiles/filedetails/?id=3075706807
5853
```
5954

60-
This will as well force the client to use the 128 tickrate
55+
### Create a Collection
56+
57+
58+
59+
### Auth Key
60+
61+
If you are using a collection you will need to get an auth key from [here](https://steamcommunity.com/dev/apikey).

steamcmd/workshop.md

Lines changed: 18 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,63 @@
11
# Workshop
22

3-
Many Steam games support the steam [workshop](https://steamcommunity.com/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](../commands/fastdl.md). LinuxGSM adds workshop pre-configuration to game server scripts when available.
3+
Many Steam games support the Steam [workshop](https://steamcommunity.com/workshop). It is an easy way to share community maps and is very useful for custom servers, without needing to worry about setting up [FastDL](../commands/fastdl.md). LinuxGSM adds workshop pre-configuration to game server scripts when available.
44

55
You will need a Steam API key, a collection to subscribe to (you can create one), and some config parameters in your [LinuxGSM config](../configuration/linuxgsm-config.md).
66

7-
## Supported Games Servers 
7+
## Supported Games Servers
88

99
This is a list of game servers that are known to support Workshop
1010

1111
* Ark: Survival Evolved
1212
* ARMA 3
1313
* Day of Infamy
14-
* Counter-Strike: Global Offensive
14+
* Counter-Strike 2
1515
* Garrys Mod
1616
* Hurtworld
1717
* Insurgency: Sandstorm
1818
* Killing Floor 2
1919
* Natural Selection 2
2020
* Starbound
2121

22-
## Getting a Steam API Key
23-
24-
Simply go to [https://steamcommunity.com/dev/apikey](https://steamcommunity.com/dev/apikey) and follow the instructions.
22+
## Getting a Steam API/AUTH Key
2523

2624
{% hint style="danger" %}
2725
Do not share this key.
2826
{% endhint %}
2927

30-
## Creating a collection and get the collection ID
28+
Go to [https://steamcommunity.com/dev/apikey](https://steamcommunity.com/dev/apikey) and follow the instructions to get an API/AUTH key.
29+
30+
## Create a Collection and get the Collection ID
31+
32+
{% hint style="info" %}
33+
It is possible to use an existing collection or create your own
34+
{% endhint %}
3135

32-
Go browse collections for your desired game, and click "Create a collection".
36+
Go browse collections for your desired game, and click "Create a Collection".
3337

34-
* CS:GO: [https://steamcommunity.com/workshop/browse/?section=collections\&appid=730](https://steamcommunity.com/workshop/browse/?section=collections\&appid=730)
38+
* Counter-Strike 2: [https://steamcommunity.com/workshop/browse/?section=collections\&appid=730](https://steamcommunity.com/workshop/browse/?section=collections\&appid=730)
3539
* Garry's Mod: [https://steamcommunity.com/workshop/browse/?section=collections\&appid=4000](https://steamcommunity.com/workshop/browse/?section=collections\&appid=4000)
3640

37-
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:
41+
Add any maps to the collection, then publish the completed collection. Then get the collection ID which can be found on the page URL. The collection id would be `157384458`.
3842

3943
```
40-
https://steamcommunity.com/sharedfiles/filedetails/?id=274397080
44+
https://steamcommunity.com/sharedfiles/filedetails/?id=157384458
4145
```
4246

43-
The collection id would be `274397080`.
44-
4547
## Server Configurations
4648

4749
### Garry's Mod
4850

49-
{% hint style="info" %}
51+
{% hint style="warning" %}
5052
Garry's Mod doesn't need an API Key anymore.
5153
{% endhint %}
5254

53-
For Garry's Mod, edit these lines in your [LinuxGSM config](../configuration/linuxgsm-config.md)
54-
55-
```
56-
wscollectionid="YOUR_COLLECTION_ID"
57-
```
58-
59-
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:
60-
61-
`/home/gmod/serverfiles/garrysmod/lua/autorun/server/`
62-
63-
Example line:
55+
For Garry's Mod, add the collection ID in [LinuxGSM config](../configuration/linuxgsm-config.md) using `wscollectionid` setting. This will download the collection when the server starts.
6456

6557
```
66-
resource.AddWorkshop( "workshop_ID_#_here" ) --comment
67-
resource.AddWorkshop( "1728099077" ) --Rick Roll SENT
58+
wscollectionid="157384458"
6859
```
6960

70-
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.
71-
7261
### Counter-Strike Global Offensive
7362

7463
For CSGO, edit these lines in your [LinuxGSM config](../configuration/linuxgsm-config.md)
@@ -90,4 +79,3 @@ For KF2 Server using LinuxGSM, workshop content is added in `LinuxServer-KFEngin
9079
While following the guide, remember `PCServer-KFEngine.ini` is instead `LinuxServer-KFEngine.ini`
9180

9281
[Killing Floor 2 has a known workshop problem.](../game-servers/killing-floor-2.md)
93-

0 commit comments

Comments
 (0)