|
@@ -23,6 +23,7 @@ cmd_test_alert=( "ta;test-alert" "command_test_alert.sh" "Send a test alert." )
|
|
|
cmd_monitor=( "m;monitor" "command_monitor.sh" "Check server status and restart if crashed." )
|
|
cmd_monitor=( "m;monitor" "command_monitor.sh" "Check server status and restart if crashed." )
|
|
|
cmd_skeleton=( "sk;skeleton" "command_skeleton.sh" "Create a skeleton directory." )
|
|
cmd_skeleton=( "sk;skeleton" "command_skeleton.sh" "Create a skeleton directory." )
|
|
|
cmd_donate=( "do;donate" "command_donate.sh" "Donation options." )
|
|
cmd_donate=( "do;donate" "command_donate.sh" "Donation options." )
|
|
|
|
|
+cmd_send=( "sd;send" "command_send.sh" "Send command to game server console." )
|
|
|
# Console servers only.
|
|
# Console servers only.
|
|
|
cmd_console=( "c;console" "command_console.sh" "Access server console." )
|
|
cmd_console=( "c;console" "command_console.sh" "Access server console." )
|
|
|
cmd_debug=( "d;debug" "command_debug.sh" "Start server directly in your terminal." )
|
|
cmd_debug=( "d;debug" "command_debug.sh" "Start server directly in your terminal." )
|
|
@@ -82,9 +83,14 @@ fi
|
|
|
# Backup.
|
|
# Backup.
|
|
|
currentopt+=( "${cmd_backup[@]}" )
|
|
currentopt+=( "${cmd_backup[@]}" )
|
|
|
|
|
|
|
|
-# Console & Debug
|
|
|
|
|
|
|
+# Console & Debug.
|
|
|
currentopt+=( "${cmd_console[@]}" "${cmd_debug[@]}" )
|
|
currentopt+=( "${cmd_console[@]}" "${cmd_debug[@]}" )
|
|
|
|
|
|
|
|
|
|
+# Console send.
|
|
|
|
|
+if [ "${consoleinteract}" == "yes" ]; then
|
|
|
|
|
+ currentopt+=( "${cmd_send[@]}" )
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
## Game server exclusive commands.
|
|
## Game server exclusive commands.
|
|
|
|
|
|
|
|
# FastDL command.
|
|
# FastDL command.
|