mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-09 04:27:35 +08:00
Added details for arkserver
This commit is contained in:
parent
7892d94c6c
commit
8c58c41fb5
@ -34,13 +34,13 @@ ProximityVoiceChat=False
|
||||
PvEStructureDecayDestructionPeriod=0.000000
|
||||
PvEStructureDecayPeriodMultiplier=1.000000
|
||||
RCONEnabled=True
|
||||
RCONPort=32330 ;Change to your servers RCONPort.
|
||||
RCONPort=32330
|
||||
ResourcesRespawnPeriodMultiplier=1.000000
|
||||
ServerAdminPassword=SERVER_ADMIN_PASSWORD_HERE
|
||||
ServerAdminPassword=adminpassword
|
||||
ServerCrosshair=False
|
||||
ServerForceNoHUD=False
|
||||
ServerHardcore=False
|
||||
ServerPassword=SERVER_PASSWORD_HERE ; If none leave blank like so:ServerPassword=
|
||||
ServerPassword=
|
||||
ServerPVE=False
|
||||
ShowMapPlayerLocation=False
|
||||
StructureDamageMultiplier=1.000000
|
||||
@ -131,5 +131,5 @@ MaxPlayers=127
|
||||
;MultiHome=True ;If MultiHome=IPv4 is filled in. If not just remove any line containing MultiHome.
|
||||
|
||||
[MessageOfTheDay]
|
||||
Message=SERVER_MESSAGE_HERE
|
||||
Duration=SERVER_MESSAGE_TIME_IN_SECONDS_HERE
|
||||
Message=Welcome to ARK Server
|
||||
Duration=5
|
||||
|
@ -655,4 +655,34 @@ elif [ "${engine}" == "unreal4" ]; then
|
||||
servername="\e[0;31mUNAVAILABLE\e[0m"
|
||||
fi
|
||||
|
||||
# server password
|
||||
if [ -f "${servercfgfullpath}" ]; then
|
||||
serverpassword=$(grep "ServerPassword=" "${servercfgfullpath}" | sed 's/ServerPassword=//g')
|
||||
if [ ! -n "${serverpassword}" ]; then
|
||||
serverpassword="NOT SET"
|
||||
fi
|
||||
else
|
||||
serverpassword="\e[0;31mUNAVAILABLE\e[0m"
|
||||
fi
|
||||
|
||||
# admin password
|
||||
if [ -f "${servercfgfullpath}" ]; then
|
||||
adminpassword=$(grep "ServerAdminPassword=" "${servercfgfullpath}" | sed 's/ServerAdminPassword=//g')
|
||||
if [ ! -n "${adminpassword}" ]; then
|
||||
adminpassword="NOT SET"
|
||||
fi
|
||||
else
|
||||
adminpassword="\e[0;31mUNAVAILABLE\e[0m"
|
||||
fi
|
||||
|
||||
# slots
|
||||
if [ -f "${servercfgfullpath}" ]; then
|
||||
slots=$(grep "MaxPlayers=" "${servercfgfullpath}" | tr -cd "[:digit:]")
|
||||
if [ ! -n "${slots}" ]; then
|
||||
slots="NOT SET"
|
||||
fi
|
||||
else
|
||||
slots="\e[0;31mUNAVAILABLE\e[0m"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user