forked from pufferpanel/templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhl2mp
94 lines (94 loc) · 2.16 KB
/
hl2mp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "hl2dm",
"display": "hl2dm",
"type": "srcds",
"install": [
{
"files": [
"https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz"
],
"type": "download"
},
{
"target": "steamcmd",
"type": "mkdir"
},
{
"commands": [
"tar --no-same-owner -xzvf steamcmd_linux.tar.gz -C steamcmd",
"steamcmd/steamcmd.sh +login anonymous +force_install_dir .. +app_update 232370 +quit",
"mkdir -p .steam/sdk32",
"cp steamcmd/linux32/steamclient.so .steam/sdk32/steamclient.so",
"rm steamcmd_linux.tar.gz"
],
"type": "command"
}
],
"run": {
"stop": "exit",
"command": "./srcds_run +port ${port} -game hl2mp -console +gamemode ${gamemode} +hostname ${hostname} +map ${map} +maxplayers ${maxplayers} -norestart",
"workingDirectory": "",
"pre": [],
"post": [],
"environmentVars": {},
"autostart": true,
"autorestart": true,
"autorecover": true
},
"data": {
"fastdownload": {
"type": "string",
"desc": "Location of fast download server",
"display": "fast download url"
},
"gamemode": {
"type": "string",
"desc": "gamemode to load",
"display": "gamemode",
"required": true,
"value": "hl2mp"
},
"hostname": {
"type": "string",
"desc": "Name of the server",
"display": "Hostname",
"required": true,
"value": ".:HoM:. .:|House of Mayhem|:."
},
"map": {
"type": "string",
"desc": "map to load",
"display": "Map",
"required": true,
"value": "dm_lockdown"
},
"maxplayers": {
"type": "integer",
"desc": "number of players",
"display": "Max Players",
"required": true,
"value": 16
},
"port": {
"type": "integer",
"desc": "What port to bind to",
"display": "Port",
"required": true,
"value": 27016
}
},
"environment": {
"type": "tty"
},
"supportedEnvironments": [
{
"type": "tty"
},
{
"image": "pufferpanel/srcds",
"networkMode": "host",
"type": "docker"
}
],
"requirements": {}
}