You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: game-servers/counter-strike-2.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,21 +40,22 @@ If players are respawning in random locations on custom maps, set `mp_randomspaw
40
40
41
41
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.**
42
42
43
-
## **Server Guides**
43
+
## Workshop
44
44
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.
46
46
47
-
##**Setting for a 128 Tick Server**
47
+
### Workshop ID
48
48
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`.
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.
4
4
5
5
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).
6
6
7
-
## Supported Games Servers 
7
+
## Supported Games Servers
8
8
9
9
This is a list of game servers that are known to support Workshop
10
10
11
11
* Ark: Survival Evolved
12
12
* ARMA 3
13
13
* Day of Infamy
14
-
* Counter-Strike: Global Offensive
14
+
* Counter-Strike 2
15
15
* Garrys Mod
16
16
* Hurtworld
17
17
* Insurgency: Sandstorm
18
18
* Killing Floor 2
19
19
* Natural Selection 2
20
20
* Starbound
21
21
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
25
23
26
24
{% hint style="danger" %}
27
25
Do not share this key.
28
26
{% endhint %}
29
27
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 %}
31
35
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".
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`.
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:
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.
resource.AddWorkshop( "1728099077" ) --Rick Roll SENT
58
+
wscollectionid="157384458"
68
59
```
69
60
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
-
72
61
### Counter-Strike Global Offensive
73
62
74
63
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
90
79
While following the guide, remember `PCServer-KFEngine.ini` is instead `LinuxServer-KFEngine.ini`
91
80
92
81
[Killing Floor 2 has a known workshop problem.](../game-servers/killing-floor-2.md)
0 commit comments