From 6bce98282bf871b78763192ccefa3dd9452ed1a8 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 4 Feb 2021 19:38:31 +0000 Subject: [PATCH] update _defauilt.cfg --- .../config-lgsm/vhserver/_default.cfg | 45 +++++++++---------- 1 file changed, 20 insertions(+), 25 deletions(-) diff --git a/lgsm/config-default/config-lgsm/vhserver/_default.cfg b/lgsm/config-default/config-lgsm/vhserver/_default.cfg index 78eab51cd..522287ba3 100644 --- a/lgsm/config-default/config-lgsm/vhserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/vhserver/_default.cfg @@ -8,7 +8,7 @@ #### 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="Valheim Server" @@ -21,10 +21,8 @@ world="World" # 1 is true, 0 is false, whether server is public public="1" -## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters -fn_parms(){ -parms="-name ${name} -password ${password} -port ${port} -world ${world} -public ${public} > /dev/null" -} +## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters +startparameters="-name ${name} -password ${password} -port ${port} -world ${world} -public ${public} > /dev/null" #### LinuxGSM Settings #### @@ -42,8 +40,6 @@ displayip="" # More info | https://docs.linuxgsm.com/alerts#more-info postalert="off" -postdays="7" -posttarget="https://termbin.com" # Discord Alerts | https://docs.linuxgsm.com/alerts/discord discordalert="off" @@ -61,6 +57,7 @@ iftttevent="linuxgsm_alert" # Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun mailgunalert="off" +mailgunapiregion="us" mailguntoken="accesstoken" mailgundomain="example.com" mailgunemailfrom="alert@example.com" @@ -74,8 +71,9 @@ channeltag="" # Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover pushoveralert="off" pushovertoken="accesstoken" +pushoveruserkey="userkey" -# Rocketchat Alerts +# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat rocketchatalert="off" rocketchatwebhook="webhook" rocketchattoken="" @@ -85,9 +83,8 @@ slackalert="off" slackwebhook="webhook" # Telegram Alerts | https://docs.linuxgsm.com/alerts/telegram -# You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring". -# like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need -# any custom string in curl - simple ignore this parameter. +# You can add a custom cURL string eg proxy (useful in Russia) in "curlcustomstring". +# For example "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help". telegramalert="off" telegramtoken="accesstoken" telegramchatid="" @@ -99,7 +96,7 @@ updateonstart="off" ## Backup | https://docs.linuxgsm.com/commands/backup maxbackups="4" maxbackupdays="30" -stoponbackup="off" +stoponbackup="on" ## Logging | https://docs.linuxgsm.com/features/logging consolelogging="on" @@ -120,20 +117,13 @@ sleeptime="0.5" ## SteamCMD Settings | https://docs.linuxgsm.com/steamcmd # Server appid appid="896660" +steamcmdforcewindows="no" # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch branch="" -branchpassword="" +betapassword="" # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server 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="" , 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 # 1: tmux kill # 2: CTRL+c @@ -145,17 +135,22 @@ steammaster="false" # 8: 7 Days to Die # 9: GoldSrc # 10: Avorion -# 11: Valheim -stopmode="11" +# 11: end +# 12: Valheim +stopmode="12" ## Query mode # 1: session only -# 2: gamedig + gsquery +# 2: gamedig (gsquery fallback) # 3: gamedig # 4: gsquery # 5: tcp querymode="1" -#querytype="protocol-valve" +querytype="protocol-valve" + +## Console type +consoleverbose="yes" +consoleinteract="yes" ## Game Server Details # Do not edit