UltimateByte 10 лет назад
Родитель
Сommit
3891f80b8e
1 измененных файлов с 13 добавлено и 7 удалено
  1. 13 7
      lgsm/functions/core_getopt.sh

+ 13 - 7
lgsm/functions/core_getopt.sh

@@ -138,20 +138,24 @@ case "${getopt}" in
 		command_stop.sh;;
 		command_stop.sh;;
 	r|restart)
 	r|restart)
 		command_restart.sh;;
 		command_restart.sh;;
+	u|update)
+		command_update.sh;;
 	uf|update-functions)
 	uf|update-functions)
 		command_update_functions.sh;;
 		command_update_functions.sh;;
 	m|monitor)
 	m|monitor)
 		command_monitor.sh;;
 		command_monitor.sh;;
 	et|test-alert)
 	et|test-alert)
 		command_test_alert.sh;;
 		command_test_alert.sh;;
+	dt|details)
+		command_details.sh;;
 	b|backup)
 	b|backup)
 		command_backup.sh;;
 		command_backup.sh;;
+	pw|change-password)
+		command_ts3_server_pass.sh;;
 	dev|dev-debug)
 	dev|dev-debug)
 		command_dev_debug.sh;;
 		command_dev_debug.sh;;
-	console)
-		command_console.sh;;
-	d|debug)
-		command_debug.sh;;
+	i|install)
+		command_install.sh;;
 	dd|depsdetect)
 	dd|depsdetect)
 		command_dev_detect_deps.sh;;
 		command_dev_detect_deps.sh;;
 	*)
 	*)
@@ -168,12 +172,14 @@ case "${getopt}" in
 		echo -e "${blue}start\t${default}st |Start the server."
 		echo -e "${blue}start\t${default}st |Start the server."
 		echo -e "${blue}stop\t${default}sp |Stop the server."
 		echo -e "${blue}stop\t${default}sp |Stop the server."
 		echo -e "${blue}restart\t${default}r  |Restart the server."
 		echo -e "${blue}restart\t${default}r  |Restart the server."
+		echo -e "${blue}update\t${default}u  |Checks and applies updates from SteamCMD."
 		echo -e "${blue}update-functions\t${default}uf |Removes all functions so latest can be downloaded."
 		echo -e "${blue}update-functions\t${default}uf |Removes all functions so latest can be downloaded."
 		echo -e "${blue}monitor\t${default}m  |Checks that the server is running."
 		echo -e "${blue}monitor\t${default}m  |Checks that the server is running."
 		echo -e "${blue}test-alert\t${default}ta |Sends test alert."
 		echo -e "${blue}test-alert\t${default}ta |Sends test alert."
+		echo -e "${blue}details\t${default}dt |Displays useful infomation about the server."
+		echo -e "${blue}change-password\t${default}pw |Changes TS3 serveradmin password."
 		echo -e "${blue}backup\t${default}b  |Create archive of the server."
 		echo -e "${blue}backup\t${default}b  |Create archive of the server."
-		echo -e "${blue}console\t${default}c  |Console allows you to access the live view of a server."
-		echo -e "${blue}debug\t${default}d  |See the output of the server directly to your terminal."
+		echo -e "${blue}install\t${default}i  |Install the server."
 	} | column -s $'\t' -t
 	} | column -s $'\t' -t
 	esac
 	esac
 }
 }
@@ -460,4 +466,4 @@ elif [ "${engine}" == "unreal" ]; then
 else
 else
 	fn_getopt_generic
 	fn_getopt_generic
 fi
 fi
-core_exit.sh
+core_exit.sh