1 changed files with 20 additions and 25 deletions
@ -8,7 +8,7 @@ |
|||||
|
|
||||
#### Game Server Settings #### |
#### Game Server Settings #### |
||||
|
|
||||
## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters |
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters |
||||
|
|
||||
# Name of the server, as shown in steam server list |
# Name of the server, as shown in steam server list |
||||
name="Valheim Server" |
name="Valheim Server" |
||||
@ -21,10 +21,8 @@ world="World" |
|||||
# 1 is true, 0 is false, whether server is public |
# 1 is true, 0 is false, whether server is public |
||||
public="1" |
public="1" |
||||
|
|
||||
## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters |
||||
fn_parms(){ |
startparameters="-name ${name} -password ${password} -port ${port} -world ${world} -public ${public} > /dev/null" |
||||
parms="-name ${name} -password ${password} -port ${port} -world ${world} -public ${public} > /dev/null" |
|
||||
} |
|
||||
|
|
||||
#### LinuxGSM Settings #### |
#### LinuxGSM Settings #### |
||||
|
|
||||
@ -42,8 +40,6 @@ displayip="" |
|||||
|
|
||||
# More info | https://docs.linuxgsm.com/alerts#more-info |
# More info | https://docs.linuxgsm.com/alerts#more-info |
||||
postalert="off" |
postalert="off" |
||||
postdays="7" |
|
||||
posttarget="https://termbin.com" |
|
||||
|
|
||||
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord |
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord |
||||
discordalert="off" |
discordalert="off" |
||||
@ -61,6 +57,7 @@ iftttevent="linuxgsm_alert" |
|||||
|
|
||||
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun |
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun |
||||
mailgunalert="off" |
mailgunalert="off" |
||||
|
mailgunapiregion="us" |
||||
mailguntoken="accesstoken" |
mailguntoken="accesstoken" |
||||
mailgundomain="example.com" |
mailgundomain="example.com" |
||||
mailgunemailfrom="[email protected]" |
mailgunemailfrom="[email protected]" |
||||
@ -74,8 +71,9 @@ channeltag="" |
|||||
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover |
# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover |
||||
pushoveralert="off" |
pushoveralert="off" |
||||
pushovertoken="accesstoken" |
pushovertoken="accesstoken" |
||||
|
pushoveruserkey="userkey" |
||||
|
|
||||
# Rocketchat Alerts |
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat |
||||
rocketchatalert="off" |
rocketchatalert="off" |
||||
rocketchatwebhook="webhook" |
rocketchatwebhook="webhook" |
||||
rocketchattoken="" |
rocketchattoken="" |
||||
@ -85,9 +83,8 @@ slackalert="off" |
|||||
slackwebhook="webhook" |
slackwebhook="webhook" |
||||
|
|
||||
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram |
# Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram |
||||
# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring". |
# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring". |
||||
# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need |
# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help". |
||||
# any custom string in curl - simple ignore this parameter. |
|
||||
telegramalert="off" |
telegramalert="off" |
||||
telegramtoken="accesstoken" |
telegramtoken="accesstoken" |
||||
telegramchatid="" |
telegramchatid="" |
||||
@ -99,7 +96,7 @@ updateonstart="off" |
|||||
## Backup | https://docs.linuxgsm.com/commands/backup |
## Backup | https://docs.linuxgsm.com/commands/backup |
||||
maxbackups="4" |
maxbackups="4" |
||||
maxbackupdays="30" |
maxbackupdays="30" |
||||
stoponbackup="off" |
stoponbackup="on" |
||||
|
|
||||
## Logging | https://docs.linuxgsm.com/features/logging |
## Logging | https://docs.linuxgsm.com/features/logging |
||||
consolelogging="on" |
consolelogging="on" |
||||
@ -120,20 +117,13 @@ sleeptime="0.5" |
|||||
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd |
## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd |
||||
# Server appid |
# Server appid |
||||
appid="896660" |
appid="896660" |
||||
|
steamcmdforcewindows="no" |
||||
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch |
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch |
||||
branch="" |
branch="" |
||||
branchpassword="" |
betapassword="" |
||||
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server |
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server |
||||
steammaster="false" |
steammaster="false" |
||||
|
|
||||
## Important! Valheim is a game that requires ownership of the game, which will require |
|
||||
## the logging in with steamcmd. I suggest logging in ahead of time, and then add in the |
|
||||
## common.cfg file add: steamuser="<username>" , along with using email verification with |
|
||||
## steamguard, you'll authorise the server for logging in. The first time logging in to steamcmd |
|
||||
## will require a verification code that you recieve per email. This is why it should be done |
|
||||
## before installing the server. Otherwise, it will try installing the server anonymously, |
|
||||
## which will not be possible. |
|
||||
|
|
||||
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode |
## Stop Mode | https://docs.linuxgsm.com/features/stop-mode |
||||
# 1: tmux kill |
# 1: tmux kill |
||||
# 2: CTRL+c |
# 2: CTRL+c |
||||
@ -145,17 +135,22 @@ steammaster="false" |
|||||
# 8: 7 Days to Die |
# 8: 7 Days to Die |
||||
# 9: GoldSrc |
# 9: GoldSrc |
||||
# 10: Avorion |
# 10: Avorion |
||||
# 11: Valheim |
# 11: end |
||||
stopmode="11" |
# 12: Valheim |
||||
|
stopmode="12" |
||||
|
|
||||
## Query mode |
## Query mode |
||||
# 1: session only |
# 1: session only |
||||
# 2: gamedig + gsquery |
# 2: gamedig (gsquery fallback) |
||||
# 3: gamedig |
# 3: gamedig |
||||
# 4: gsquery |
# 4: gsquery |
||||
# 5: tcp |
# 5: tcp |
||||
querymode="1" |
querymode="1" |
||||
#querytype="protocol-valve" |
querytype="protocol-valve" |
||||
|
|
||||
|
## Console type |
||||
|
consoleverbose="yes" |
||||
|
consoleinteract="yes" |
||||
|
|
||||
## Game Server Details |
## Game Server Details |
||||
# Do not edit |
# Do not edit |
||||
|
Loading…
Reference in new issue