Skip to content

Commit 38079ba

Browse files
authored
feat(new server): Quake 4 (#4398)
1 parent 746c413 commit 38079ba

27 files changed

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

lgsm/data/almalinux-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ pvr,libcxx
8989
pz,java-11-openjdk rng-tools
9090
q2
9191
q3
92+
q4
9293
ql
9394
qw
9495
ricochet

lgsm/data/almalinux-9.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ pvr,libcxx
8989
pz,java-11-openjdk rng-tools
9090
q2
9191
q3
92+
q4
9293
ql
9394
qw
9495
ricochet

lgsm/data/centos-7.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ pvr,libcxx
8989
pz,java-11-openjdk rng-tools
9090
q2
9191
q3
92+
q4
9293
ql
9394
qw
9495
ricochet

lgsm/data/centos-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ pvr,libcxx
8989
pz,java-11-openjdk rng-tools
9090
q2
9191
q3
92+
q4
9293
ql
9394
qw
9495
ricochet

lgsm/data/centos-9.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ pvr,libcxx
8989
pz,java-11-openjdk rng-tools
9090
q2
9191
q3
92+
q4
9293
ql
9394
qw
9495
ricochet

lgsm/data/debian-10.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ pvr,libc++1
8989
pz,openjdk-11-jre,rng-tools
9090
q2
9191
q3
92+
q4
9293
ql
9394
qw
9495
ricochet

lgsm/data/debian-11.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ pvr,libc++1
8989
pz,openjdk-17-jre,rng-tools
9090
q2
9191
q3
92+
q4
9293
ql
9394
qw
9495
ricochet

lgsm/data/debian-12.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ pvr,libc++1
8989
pz,openjdk-17-jre,rng-tools5
9090
q2
9191
q3
92+
q4
9293
ql
9394
qw
9495
ricochet

lgsm/data/debian-9.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ pvr,libc++1
8989
pz,openjdk-8-jre,rng-tools
9090
q2
9191
q3
92+
q4
9293
ql
9394
qw
9495
ricochet

0 commit comments

Comments
 (0)