Skip to content

Commit c68394f

Browse files
h3o66Marcin648FliesWithWinddgibbs64
authored
feat(newserver): Arma Reforger (#3871)
* feat(newserver): Arma Reforger * feat(armarserver): Add server profile name * feat(armarserver): Add fix for create profile directory * feat(armar): limit fps for the server to fix the performance * feat(armar): add dependencys Co-authored-by: FliesWithWind <w.zydecki@gmail.com> * feat(armar): move queryport to config parser and add adminpass * feat(armar): fix dependencys * change ss command for armar * add battleeyeport * bug * tcp Co-authored-by: Marcin Jakubowski <marcin648@gmail.com> Co-authored-by: FliesWithWind <w.zydecki@gmail.com> Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
1 parent 6816d39 commit c68394f

22 files changed

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

lgsm/data/almalinux-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ahl
55
ahl2
66
ark
77
arma3
8+
armar,libcurl,openssl-libs
89
av
910
bb
1011
bb2,libcurl.i686

lgsm/data/centos-7.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ahl
55
ahl2
66
ark
77
arma3
8+
armar,libcurl,openssl11-libs
89
av
910
bb
1011
bb2,libcurl.i686

lgsm/data/centos-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ahl
55
ahl2
66
ark
77
arma3
8+
armar,libcurl,openssl-libs
89
av
910
bb
1011
bb2,libcurl.i686

lgsm/data/debian-10.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ahl
55
ahl2
66
ark
77
arma3
8+
armar,libcurl4,libssl1.1
89
av
910
bb
1011
bb2,libcurl4-gnutls-dev:i386

lgsm/data/debian-11.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ahl
55
ahl2
66
ark
77
arma3
8+
armar,libcurl4,libssl1.1
89
av
910
bb
1011
bb2,libcurl4-gnutls-dev:i386

lgsm/data/debian-9.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ahl
55
ahl2
66
ark
77
arma3
8+
armar,libcurl4,libssl1.1
89
av
910
bb
1011
bb2,libcurl4-gnutls-dev:i386

lgsm/data/rhel-7.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ahl
55
ahl2
66
ark
77
arma3
8+
armar,libcurl,openssl11-libs
89
av
910
bb
1011
bb2,libcurl.i686

lgsm/data/rhel-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ahl
55
ahl2
66
ark
77
arma3
8+
armar,libcurl,openssl-libs
89
av
910
bb
1011
bb2,libcurl.i686

lgsm/data/rocky-8.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ahl
55
ahl2
66
ark
77
arma3
8+
armar,libcurl,openssl-libs
89
av
910
bb
1011
bb2,libcurl.i686

0 commit comments

Comments
 (0)