Skip to content

Commit 2f9800e

Browse files
h3o66dgibbs64
andauthored
feat(newserver): Avorion (#2476)
Co-authored-by: Daniel Gibbs <[email protected]>
1 parent 7ef53a5 commit 2f9800e

File tree

118 files changed

+465
-176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+465
-176
lines changed

lgsm/config-default/config-lgsm/acserver/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ branch=""
121121
# 7: exit
122122
# 8: 7 Days to Die
123123
# 9: GoldSrc
124-
# 10: Teamspeak 3
124+
# 10: Avorion
125125
stopmode="2"
126126

127127
## Query mode

lgsm/config-default/config-lgsm/ahl2server/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ sleeptime="0.5"
121121
# 7: exit
122122
# 8: 7 Days to Die
123123
# 9: GoldSrc
124-
# 10: Teamspeak 3
124+
# 10: Avorion
125125
stopmode="3"
126126

127127
## Query mode

lgsm/config-default/config-lgsm/ahlserver/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ steammaster="true"
125125
# 7: exit
126126
# 8: 7 Days to Die
127127
# 9: GoldSrc
128-
# 10: Teamspeak 3
128+
# 10: Avorion
129129
stopmode="9"
130130

131131
## Query mode

lgsm/config-default/config-lgsm/arkserver/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ steammaster="true"
126126
# 7: exit
127127
# 8: 7 Days to Die
128128
# 9: GoldSrc
129-
# 10: Teamspeak 3
129+
# 10: Avorion
130130
stopmode="2"
131131

132132
## Query mode

lgsm/config-default/config-lgsm/arma3server/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ steammaster="false"
140140
# 7: exit
141141
# 8: 7 Days to Die
142142
# 9: GoldSrc
143-
# 10: Teamspeak 3
143+
# 10: Avorion
144144
stopmode="2"
145145

146146
## Query mode
Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
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+
## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
11+
port="27000"
12+
# https://steamidfinder.com
13+
adminsteamid=""
14+
avgalaxy="avgalaxy"
15+
16+
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
17+
fn_parms(){
18+
if [ ! -z "${adminsteamid}" ]; then
19+
admincmd="--admin ${adminsteamid}"
20+
fi
21+
parms="--galaxy-name ${avgalaxy} --ip ${ip} --datapath ${avdatapath} ${admincmd}"
22+
}
23+
24+
#### LinuxGSM Settings ####
25+
26+
## LinuxGSM Stats
27+
# Send useful stats to LinuxGSM developers.
28+
# https://docs.linuxgsm.com/configuration/linuxgsm-stats
29+
# (on|off)
30+
stats="off"
31+
## Notification Alerts
32+
# (on|off)
33+
34+
# Display IP | https://docs.linuxgsm.com/alerts#display-ip
35+
displayip=""
36+
37+
# More info | https://docs.linuxgsm.com/alerts#more-info
38+
postalert="off"
39+
postdays="7"
40+
posttarget="https://termbin.com"
41+
42+
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord
43+
discordalert="off"
44+
discordwebhook="webhook"
45+
46+
# Email Alerts | https://docs.linuxgsm.com/alerts/email
47+
emailalert="off"
48+
49+
emailfrom=""
50+
51+
# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
52+
iftttalert="off"
53+
ifttttoken="accesstoken"
54+
iftttevent="linuxgsm_alert"
55+
56+
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
57+
mailgunalert="off"
58+
mailguntoken="accesstoken"
59+
mailgundomain="example.com"
60+
mailgunemailfrom="[email protected]"
61+
mailgunemail="[email protected]"
62+
63+
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
64+
pushbulletalert="off"
65+
pushbullettoken="accesstoken"
66+
channeltag=""
67+
68+
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
69+
pushoveralert="off"
70+
pushovertoken="accesstoken"
71+
72+
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack
73+
slackalert="off"
74+
slackwebhook="webhook"
75+
76+
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram
77+
# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring".
78+
# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need
79+
# any custom string in curl - simple ignore this parameter.
80+
telegramalert="off"
81+
telegramtoken="accesstoken"
82+
telegramchatid=""
83+
curlcustomstring=""
84+
85+
## Updating | https://docs.linuxgsm.com/commands/update
86+
updateonstart="off"
87+
88+
## Backup | https://docs.linuxgsm.com/commands/backup
89+
maxbackups="4"
90+
maxbackupdays="30"
91+
stoponbackup="on"
92+
93+
## Logging | https://docs.linuxgsm.com/features/logging
94+
consolelogging="on"
95+
logdays="7"
96+
97+
## Monitor | https://docs.linuxgsm.com/commands/monitor
98+
# Query delay time
99+
querydelay="1"
100+
101+
## ANSI Colors | https://docs.linuxgsm.com/features/ansi-colors
102+
ansi="on"
103+
104+
#### Advanced Settings ####
105+
106+
## Message Display Time | https://docs.linuxgsm.com/features/message-display-time
107+
sleeptime="0.5"
108+
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd
109+
# Server appid
110+
appid="565060"
111+
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
112+
branch=""
113+
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
114+
steammaster="false"
115+
116+
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode
117+
# 1: tmux kill
118+
# 2: CTRL+c
119+
# 3: quit
120+
# 4: quit 120s
121+
# 5: stop
122+
# 6: q
123+
# 7: exit
124+
# 8: 7 Days to Die
125+
# 9: GoldSrc
126+
# 10: Avorion
127+
stopmode="10"
128+
129+
## Query mode
130+
# 1: session only
131+
# 2: gamedig + gsquery
132+
# 3: gamedig
133+
# 4: gsquery
134+
# 5: tcp
135+
querymode="5"
136+
querytype=""
137+
138+
## Game Server Details
139+
# Do not edit
140+
gamename="Avorion"
141+
engine="avorion"
142+
glibc="2.15"
143+
144+
#### Directories ####
145+
# Edit with care
146+
147+
## Game Server Directories
148+
avdatapath="${serverfiles}/galaxy"
149+
avgalaxypath="${avdatapath}/${avgalaxy}"
150+
systemdir="${serverfiles}"
151+
executabledir="${systemdir}"
152+
executable="./server.sh"
153+
servercfgdir="${avgalaxypath}"
154+
servercfg="server.ini"
155+
servercfgdefault="server.ini"
156+
servercfgfullpath="${servercfgdir}/${servercfg}"
157+
158+
## Backup Directory
159+
backupdir="${lgsmdir}/backup"
160+
161+
## Logging Directories
162+
logdir="${rootdir}/log"
163+
gamelogdir="${systemdir}/ServerLogs"
164+
lgsmlogdir="${logdir}/script"
165+
consolelogdir="${logdir}/console"
166+
lgsmlog="${lgsmlogdir}/${selfname}-script.log"
167+
consolelog="${consolelogdir}/${selfname}-console.log"
168+
alertlog="${lgsmlogdir}/${selfname}-alert.log"
169+
postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log"
170+
171+
## Logs Naming
172+
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
173+
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"

lgsm/config-default/config-lgsm/bb2server/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ steammaster="true"
130130
# 7: exit
131131
# 8: 7 Days to Die
132132
# 9: GoldSrc
133-
# 10: Teamspeak 3
133+
# 10: Avorion
134134
stopmode="3"
135135

136136
## Query mode

lgsm/config-default/config-lgsm/bbserver/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ steammaster="true"
125125
# 7: exit
126126
# 8: 7 Days to Die
127127
# 9: GoldSrc
128-
# 10: Teamspeak 3
128+
# 10: Avorion
129129
stopmode="9"
130130

131131
## Query mode

lgsm/config-default/config-lgsm/bdserver/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ steammaster="true"
124124
# 7: exit
125125
# 8: 7 Days to Die
126126
# 9: GoldSrc
127-
# 10: Teamspeak 3
127+
# 10: Avorion
128128
stopmode="9"
129129

130130
## Query mode

lgsm/config-default/config-lgsm/bf1942server/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ sleeptime="0.5"
109109
# 7: exit
110110
# 8: 7 Days to Die
111111
# 9: GoldSrc
112-
# 10: Teamspeak 3
112+
# 10: Avorion
113113
stopmode="2"
114114

115115
## Query mode

0 commit comments

Comments
 (0)