소스 검색

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
 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_warning_nl "Do NOT press CTRL+c to exit."
+echo "	* https://github.com/GameServerManagers/LinuxGSM/wiki/Console"
 echo ""
 if ! fn_prompt_yn "Continue?" Y; then
 	echo Exiting; return