فهرست منبع

Added info on available output and input in the console

Servers like Rust done output anything in the console and dont allow input. This confuses many users. Added an if statement to display details about this. Other servers will also benefit from this. However I dont know which servers these messages apply to currently.
Daniel Gibbs 9 سال پیش
والد
کامیت
910024ec2c
1فایلهای تغییر یافته به همراه7 افزوده شده و 0 حذف شده
  1. 7 0
      lgsm/functions/command_console.sh

+ 7 - 0
lgsm/functions/command_console.sh

@@ -10,8 +10,15 @@ local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
 
 
 check.sh
 check.sh
 fn_print_header
 fn_print_header
+if [ "${gamename}" == "Rust" ]; then
+	fn_print_information_nl "${gamename} does not produce a verbose output to the console"
+fi
+if [ "${gamename}" == "Rust" ]; then
+	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_information_nl "Press \"CTRL+b\" then \"d\" to exit console."
 fn_print_warning_nl "Do NOT press CTRL+c to exit."
 fn_print_warning_nl "Do NOT press CTRL+c to exit."
+echo "	* https://github.com/GameServerManagers/LinuxGSM/wiki/Console"
 echo ""
 echo ""
 if ! fn_prompt_yn "Continue?" Y; then
 if ! fn_prompt_yn "Continue?" Y; then
 	echo Exiting; return
 	echo Exiting; return