Skip to content

Commit 5a3c210

Browse files
dgibbs64knoxed
andauthored
feat(newserver): Military Conflict: Vietnam
Add support for the Military Conflict: Vietnam dedicated game server. Supersedes #4594 (original WIP PR from @knoxed — completing the implementation). Changes: - Added mcvserver default configuration - Added mcv to serverlist and all distro CSV files - Added install_config handler for mcvserver - Added dependency info for all distros - Added game icons - Fixed CI workflow issues Co-authored-by: Knoxed <1338733+knoxed@users.noreply.github.com>
1 parent 445dddb commit 5a3c210

33 files changed

Lines changed: 257 additions & 15 deletions

.github/workflows/details-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
matrix: ${{ steps.set-matrix.outputs.matrix }}
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v6
2525

2626
- name: Generate matrix with generate-matrix.sh
2727
run: chmod +x .github/workflows/details-check-generate-matrix.sh; .github/workflows/details-check-generate-matrix.sh

.github/workflows/serverlist-validate.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,16 @@ on:
66
permissions:
77
contents: read
88

9+
env:
10+
datadir: lgsm/data
11+
912
jobs:
1013
serverlist-validate:
1114
if: github.repository_owner == 'GameServerManagers'
1215
runs-on: ubuntu-latest
1316
steps:
1417
- name: Checkout
15-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1619

1720
- name: Compare Versions
1821
run: chmod +x .github/workflows/serverlist-validate.sh; .github/workflows/serverlist-validate.sh

.github/workflows/update-copyright-years-in-license-file.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818
with:
1919
fetch-depth: 0
2020
- name: Action Update License Year

.github/workflows/version-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v6
1515

1616
- name: Version Check
1717
run: chmod +x .github/workflows/version-check.sh; .github/workflows/version-check.sh
Lines changed: 189 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,189 @@
1+
##################################
2+
######## Default Settings ########
3+
##################################
4+
# DO NOT EDIT, ANY CHANGES WILL BE OVERWRITTEN!
5+
# Copy settings from here and use them in either:
6+
# common.cfg - applies settings to every instance.
7+
# [instance].cfg - applies settings to a specific instance.
8+
9+
#### Game Server Settings ####
10+
11+
game_type="0"
12+
game_mode="0"
13+
ip="0.0.0.0"
14+
port="27015"
15+
clientport="27005"
16+
sourcetvport="27020"
17+
steamport="26901"
18+
defaultmap="mcv_siege"
19+
maxplayers="32"
20+
tickrate="64"
21+
22+
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
23+
startparameters="-game vietnam -usercon -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers} +game_type ${game_type} +game_mode ${game_mode} -nobreakpad"
24+
25+
#### LinuxGSM Settings ####
26+
27+
## LinuxGSM Stats
28+
# Send useful stats to LinuxGSM developers.
29+
# https://docs.linuxgsm.com/configuration/linuxgsm-stats
30+
# (on|off)
31+
stats="off"
32+
33+
## Notification Alerts
34+
# (on|off)
35+
36+
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
37+
displayip=""
38+
39+
# More info | https://docs.linuxgsm.com/alerts#more-info
40+
postalert="off"
41+
42+
# Alert on Start/Stop/Restart
43+
statusalert="off"
44+
45+
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord
46+
discordalert="off"
47+
discordwebhook="webhook"
48+
49+
# Email Alerts | https://docs.linuxgsm.com/alerts/email
50+
emailalert="off"
51+
email="email@example.com"
52+
emailfrom=""
53+
54+
# Gotify Alerts | https://docs.linuxgsm.com/alerts/gotify
55+
gotifyalert="off"
56+
gotifytoken="token"
57+
gotifywebhook="webhook"
58+
59+
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
60+
iftttalert="off"
61+
ifttttoken="accesstoken"
62+
iftttevent="linuxgsm_alert"
63+
64+
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
65+
pushbulletalert="off"
66+
pushbullettoken="accesstoken"
67+
channeltag=""
68+
69+
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
70+
pushoveralert="off"
71+
pushovertoken="accesstoken"
72+
pushoveruserkey="userkey"
73+
74+
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat
75+
rocketchatalert="off"
76+
rocketchatwebhook="webhook"
77+
78+
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack
79+
slackalert="off"
80+
slackwebhook="webhook"
81+
82+
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
83+
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring".
84+
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help".
85+
telegramapi="api.telegram.org"
86+
telegramalert="off"
87+
telegramtoken="accesstoken"
88+
telegramchatid=""
89+
curlcustomstring=""
90+
91+
## Updating | https://docs.linuxgsm.com/commands/update
92+
updateonstart="off"
93+
94+
## Backup | https://docs.linuxgsm.com/commands/backup
95+
maxbackups="4"
96+
maxbackupdays="30"
97+
stoponbackup="on"
98+
99+
## Logging | https://docs.linuxgsm.com/features/logging
100+
consolelogging="on"
101+
logdays="7"
102+
103+
## Monitor | https://docs.linuxgsm.com/commands/monitor
104+
# Query delay time
105+
querydelay="1"
106+
107+
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
108+
ansi="on"
109+
110+
#### Advanced Settings ####
111+
112+
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
113+
sleeptime="0.5"
114+
115+
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
116+
# Server appid
117+
appid="1136190"
118+
steamcmdforcewindows="no"
119+
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
120+
branch=""
121+
betapassword=""
122+
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
123+
steammaster="false"
124+
125+
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
126+
# 1: tmux kill
127+
# 2: CTRL+c
128+
# 3: quit
129+
# 4: quit 120s
130+
# 5: stop
131+
# 6: q
132+
# 7: exit
133+
# 8: 7 Days to Die
134+
# 9: GoldSrc
135+
# 10: Avorion
136+
# 11: end
137+
stopmode="3"
138+
139+
## Query mode
140+
# 1: session only
141+
# 2: gamedig (gsquery fallback)
142+
# 3: gamedig
143+
# 4: gsquery
144+
# 5: tcp
145+
querymode="2"
146+
querytype="protocol-valve"
147+
148+
## Console type
149+
consoleverbose="yes"
150+
consoleinteract="yes"
151+
152+
## Game Server Details
153+
# Do not edit
154+
gamename="Military Conflict: Vietnam"
155+
engine="source"
156+
glibc="2.15"
157+
158+
#### Directories ####
159+
# Edit with care
160+
161+
## Game Server Directories
162+
systemdir="${serverfiles}/vietnam"
163+
executabledir="${serverfiles}"
164+
executable="./srcds_run_x64"
165+
servercfgdir="${systemdir}/cfg"
166+
servercfg="${selfname}.cfg"
167+
servercfgdefault="server.cfg"
168+
servercfgfullpath="${servercfgdir}/${servercfg}"
169+
170+
## Backup Directory
171+
backupdir="${lgsmdir}/backup"
172+
173+
## Logging Directories
174+
[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log"
175+
gamelogdir="${systemdir}/logs"
176+
lgsmlogdir="${logdir}/script"
177+
consolelogdir="${logdir}/console"
178+
lgsmlog="${lgsmlogdir}/${selfname}-script.log"
179+
consolelog="${consolelogdir}/${selfname}-console.log"
180+
alertlog="${lgsmlogdir}/${selfname}-alert.log"
181+
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
182+
183+
## Logs Naming
184+
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
185+
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
186+
187+
## Log Parameters
188+
logtimestamp="off"
189+
logtimestampformat="%Y-%m-%d %H:%M:%S"

lgsm/data/almalinux-8.csv

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ l4d
6767
l4d2
6868
mc,java-21-openjdk
6969
mcb,libnsl
70+
mcv
7071
mh
7172
mohaa,compat-libstdc++-33.i686
7273
mta,ncurses-compat-libs,libxml2
@@ -82,7 +83,6 @@ opfor
8283
pc
8384
pc2
8485
pmc,java-21-openjdk
85-
ps,GConf2
8686
pvkii
8787
pvr,libcxx
8888
pw
@@ -109,12 +109,14 @@ sm,telnet,expect
109109
sof2
110110
sol
111111
squad
112+
squad44
112113
st,libxml2
113114
stn
114115
sven
115116
terraria
116117
tf
117118
tf2,libcurl.i686
119+
tf2c,libcurl.i686
118120
tfc
119121
ti
120122
ts

lgsm/data/almalinux-9.csv

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ l4d
6767
l4d2
6868
mc,java-21-openjdk
6969
mcb,libnsl
70+
mcv
7071
mh
7172
mohaa,compat-libstdc++-33.i686
7273
mta,ncurses-compat-libs,libxml2
@@ -82,7 +83,6 @@ opfor
8283
pc
8384
pc2
8485
pmc,java-21-openjdk
85-
ps,GConf2
8686
pvkii
8787
pvr,libcxx
8888
pw
@@ -109,12 +109,14 @@ sm,telnet,expect
109109
sof2
110110
sol
111111
squad
112+
squad44
112113
st,libxml2
113114
stn
114115
sven
115116
terraria
116117
tf
117118
tf2,libcurl.i686
119+
tf2c,libcurl.i686
118120
tfc
119121
ti
120122
ts

lgsm/data/centos-7.csv

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ l4d
6767
l4d2
6868
mc,java-21-openjdk
6969
mcb,libnsl
70+
mcv
7071
mh
7172
mohaa,compat-libstdc++-33.i686
7273
mta,ncurses-libs,libxml2
@@ -82,7 +83,6 @@ opfor
8283
pc
8384
pc2
8485
pmc,java-11-openjdk
85-
ps,GConf2
8686
pvkii
8787
pvr,libcxx
8888
pw
@@ -109,12 +109,14 @@ sm,telnet,expect
109109
sof2
110110
sol
111111
squad
112+
squad44
112113
st,libxml2
113114
stn
114115
sven
115116
terraria
116117
tf
117118
tf2,libcurl.i686
119+
tf2c,libcurl.i686
118120
tfc
119121
ti
120122
ts

lgsm/data/centos-8.csv

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ l4d
6767
l4d2
6868
mc,java-21-openjdk
6969
mcb,libnsl
70+
mcv
7071
mh
7172
mohaa,compat-libstdc++-33.i686
7273
mta,ncurses-compat-libs,libxml2
@@ -82,7 +83,6 @@ opfor
8283
pc
8384
pc2
8485
pmc,java-17-openjdk
85-
ps,GConf2
8686
pvkii
8787
pvr,libcxx
8888
pw
@@ -109,12 +109,14 @@ sm,telnet,expect
109109
sof2
110110
sol
111111
squad
112+
squad44
112113
st,libxml2
113114
stn
114115
sven
115116
terraria
116117
tf
117118
tf2,libcurl.i686
119+
tf2c,libcurl.i686
118120
tfc
119121
ti
120122
ts

lgsm/data/centos-9.csv

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ l4d
6767
l4d2
6868
mc,java-17-openjdk
6969
mcb,libnsl
70+
mcv
7071
mh
7172
mohaa,compat-libstdc++-33.i686
7273
mta,ncurses-compat-libs,libxml2
@@ -82,7 +83,6 @@ opfor
8283
pc
8384
pc2
8485
pmc,java-17-openjdk
85-
ps,GConf2
8686
pvkii
8787
pvr,libcxx
8888
pw
@@ -109,12 +109,14 @@ sm,telnet,expect
109109
sof2
110110
sol
111111
squad
112+
squad44
112113
st,libxml2
113114
stn
114115
sven
115116
terraria
116117
tf
117118
tf2,libcurl.i686
119+
tf2c,libcurl.i686
118120
tfc
119121
ti
120122
ts

0 commit comments

Comments
 (0)