forked from CubeCoders/AMPTemplates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
counter-strike-goupdates.json
126 lines (126 loc) · 5.93 KB
/
counter-strike-goupdates.json
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[
{
"UpdateStageName":"SteamCMD Server Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"SteamCMD",
"UpdateSourceData":"740",
"UpdateSourceArgs":"730"
},
{
"UpdateStageName":"Remove Old Library",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'rm -rf csgo/740/bin/libgcc_s.so.1 >/dev/null 2>&1'",
"SkipOnFailure":true
},
{
"UpdateStageName":"Server.cfg Template File Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/counter-strike-goserver.cfg",
"UpdateSourceArgs":"AMP_server.cfg",
"UpdateSourceTarget":"{{$FullRootDir}}",
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"Metamod Download",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://mms.alliedmods.net/mmsdrop/{{ModBranch}}/mmsource-{{ModBranch}}.0-git{{MetamodBuild}}-windows.zip",
"UpdateSourceTarget":"{{$FullBaseDir}}csgo",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true
},
{
"UpdateStageName":"Metamod Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://mms.alliedmods.net/mmsdrop/{{ModBranch}}/mmsource-{{ModBranch}}.0-git{{MetamodBuild}}-linux.tar.gz",
"UpdateSourceTarget":"{{$FullBaseDir}}csgo",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true
},
{
"UpdateStageName":"SourceMod Download Directory Creation",
"UpdateSourcePlatform":"All",
"UpdateSource":"CreateDirectory",
"UpdateSourceArgs":"{{$FullBaseDir}}sm"
},
{
"UpdateStageName":"SourceMod Download",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://sm.alliedmods.net/smdrop/{{ModBranch}}/sourcemod-{{ModBranch}}.0-git{{SourcemodBuild}}-windows.zip",
"UpdateSourceTarget":"{{$FullBaseDir}}sm",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true
},
{
"UpdateStageName":"SourceMod Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://sm.alliedmods.net/smdrop/{{ModBranch}}/sourcemod-{{ModBranch}}.0-git{{SourcemodBuild}}-linux.tar.gz",
"UpdateSourceTarget":"{{$FullBaseDir}}sm",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true
},
{
"UpdateStageName":"SourceMod Installation",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"Executable",
"UpdateSourceData":"powershell.exe",
"UpdateSourceArgs":"-NoProfile -Command \"Set-Location -Path 'csgo/740'; if (Test-Path 'csgo/cfg/sourcemod') { Remove-Item -Path 'sm/cfg/sourcemod' -Recurse -Force -ErrorAction SilentlyContinue | Out-Null }; if (Test-Path 'csgo/addons/sourcemod/configs') { Remove-Item -Path 'sm/addons/sourcemod/configs' -Recurse -Force -ErrorAction SilentlyContinue | Out-Null }; if (Test-Path 'csgo/addons/sourcemod/plugins') { Remove-Item -Path 'sm/addons/sourcemod/plugins' -Recurse -Force -ErrorAction SilentlyContinue | Out-Null }; Copy-Item -Path 'sm/*' -Destination 'csgo' -Recurse -Force -ErrorAction SilentlyContinue | Out-Null; Remove-Item -Path 'sm' -Recurse -Force -ErrorAction SilentlyContinue | Out-Null\"",
"SkipOnFailure":true
},
{
"UpdateStageName":"SourceMod Installation",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'cd csgo/740 && [ -d csgo/cfg/sourcemod ] && rm -rf sm/cfg/sourcemod >/dev/null 2>&1; [ -d csgo/addons/sourcemod/configs ] && rm -rf sm/addons/sourcemod/configs >/dev/null 2>&1; [ -d csgo/addons/sourcemod/plugins ] && rm -rf sm/addons/sourcemod/plugins >/dev/null 2>&1; \\cp -rf sm/* csgo/ >/dev/null 2>&1; rm -rf sm >/dev/null 2>&1'",
"SkipOnFailure":true
},
{
"UpdateStageName":"Activate Metamod and SourceMod",
"UpdateSourcePlatform":"All",
"UpdateSource":"CreateFile",
"UpdateSourceData":"\"Plugin\"\n{\n\t\"file\"\t\"../csgo/addons/metamod/bin/server\"\n}",
"UpdateSourceArgs":"{{$FullBaseDir}}csgo/addons/metamod.vdf",
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"NoLobbyReservation Plugin Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"GithubRelease",
"UpdateSourceArgs":"vanz666/NoLobbyReservation",
"UpdateSourceTarget":"{{$FullBaseDir}}csgo",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true
},
{
"UpdateStageName":"NoLobbyReservation Gamedata Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://raw.githubusercontent.com/eldoradoel/NoLobbyReservation/master/csgo/addons/sourcemod/gamedata/nolobbyreservation.games.txt",
"UpdateSourceTarget":"{{$FullBaseDir}}csgo/addons/sourcemod/gamedata",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true
},
{
"UpdateStageName":"NoLobbyReservation Scripting Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://raw.githubusercontent.com/eldoradoel/NoLobbyReservation/master/csgo/addons/sourcemod/scripting/nolobbyreservation.sp",
"UpdateSourceTarget":"{{$FullBaseDir}}csgo/addons/sourcemod/scripting",
"UnzipUpdateSource":true,
"OverwriteExistingFiles":true,
"DeleteAfterExtract":true
}
]