Browse Source

console message

pull/3000/head
Daniel Gibbs 6 years ago
parent
commit
365b152ebf
  1. 4
      lgsm/config-default/config-lgsm/arkserver/_default.cfg
  2. 15
      lgsm/functions/command_console.sh

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

@ -138,6 +138,10 @@ stopmode="2"
querymode="2"
querytype="protocol-valve"
## Console type
consoleoutput="off"
consoleverbose="off"
## Game Server Details
# Do not edit
gamename="ARK: Survival Evolved"

15
lgsm/functions/command_console.sh

@ -10,6 +10,21 @@ local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
check.sh
fn_print_header
# Verbose output
if [ "${consoleverbose}" == "on" ]; then
fn_print_information_nl "${gamename} produces a verbose output to the console"
elif [ "${consoleverbose}" == "off" ]; then
fn_print_information_nl "${gamename} does NOT produce a verbose output to the console"
fi
# Interactive console
if [ "${consolinteractive}" == "on" ]; then
fn_print_information_nl "${gamename} DOES allow server commands to be entered in to the console"
elif [ "${consolinteractive}" == "off" ]; then
fn_print_information_nl "${gamename} does NOT allow server commands to be entered in to the console"
fi
if [ "${shortname}" == "rust" ]||[ "${shortname}" == "hw" ]||[ "${shortname}" == "ark" ]; then
fn_print_information_nl "${gamename} does not produce a verbose output to the console"
fn_print_information_nl "${gamename} does not allow server commands to be entered in to the console"

Loading…
Cancel
Save