Skip to content

Commit c87b8c7

Browse files
authored
Update cstrike.json
1 parent e2ee18b commit c87b8c7

1 file changed

Lines changed: 5 additions & 19 deletions

File tree

cstrike/cstrike.json

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
"display": "Counter Strike 1.6",
33
"type": "goldsrc",
44
"data": {
5-
"clientport": {
6-
"type": "integer",
7-
"desc": "What port to bind the clientport to",
8-
"display": "Client Port",
9-
"required": true,
10-
"value": 27005
11-
},
125
"ip": {
136
"type": "string",
147
"desc": "What IP to bind the server to",
@@ -30,13 +23,6 @@
3023
"required": true,
3124
"value": 20
3225
},
33-
"port": {
34-
"type": "integer",
35-
"desc": "What port to bind the server to",
36-
"display": "Port",
37-
"required": true,
38-
"value": 27015
39-
},
4026
"tickrate": {
4127
"type": "integer",
4228
"desc": "Server tick speed, to use this value you need to download this addon: https://github.com/daemon32/tickrate_enabler/releases/tag/0.5",
@@ -66,7 +52,7 @@
6652
],
6753
"run": {
6854
"stop": "exit",
69-
"command": "./hlds_run -game cstrike -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${tvport} +map ${loadMap} -maxplayers ${maxplayers} -tickrate ${tickrate} -norestart",
55+
"command": "./hlds_run -game cstrike -ip ${ip} -port 27015 +clientport 27005 +tv_port 27020 +map ${loadMap} -maxplayers ${maxplayers} -tickrate ${tickrate} -norestart",
7056
"pre": [],
7157
"post": [],
7258
"environmentVars": {}
@@ -82,14 +68,14 @@
8268
"type": "docker",
8369
"image": "steamcmd/steamcmd",
8470
"portBindings": [
85-
"0.0.0.0:${port}:${port}/tcp",
86-
"0.0.0.0:${clientport}:${clientport}/tcp",
87-
"0.0.0.0:${tvport}:${tvport}/tcp"
71+
"0.0.0.0:27015:27015/tcp",
72+
"0.0.0.0:27005:27005/tcp",
73+
"0.0.0.0:27020:27020/tcp"
8874
]
8975
}
9076
],
9177
"requirements": {
9278
"os": "linux",
9379
"arch": "amd64"
9480
}
95-
}
81+
}

0 commit comments

Comments
 (0)