|
|
@ -10,13 +10,28 @@ 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" |
|
|
|
fi |
|
|
|
fn_print_information_nl "Press \"CTRL+b\" then \"d\" to exit console." |
|
|
|
fn_print_warning_nl "Do NOT press CTRL+c to exit." |
|
|
|
echo -e " * https://docs.linuxgsm.com/commands/console" |
|
|
|
echo -e "* https://docs.linuxgsm.com/commands/console" |
|
|
|
echo -e "" |
|
|
|
if ! fn_prompt_yn "Continue?" Y; then |
|
|
|
return |
|
|
|