From 5d79c23c6ad003c36b7ea18a51ae5bb443813343 Mon Sep 17 00:00:00 2001 From: Tema1d <84407490+Tema1d@users.noreply.github.com> Date: Fri, 7 Jul 2023 01:49:10 +0300 Subject: [PATCH] alias status --- src/API/ConsoleAPI.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/API/ConsoleAPI.php b/src/API/ConsoleAPI.php index e05876c2..18a036d6 100644 --- a/src/API/ConsoleAPI.php +++ b/src/API/ConsoleAPI.php @@ -22,6 +22,9 @@ class ConsoleAPI{ $this->register("difficulty", "<0|1|2|3>", [$this, "defaultCommands"]); $this->register("stop", "", [$this, "defaultCommands"]); $this->register("defaultgamemode", "", [$this, "defaultCommands"]); + + $this->server->api->console->alias("tps", "status"); + $this->cmdWhitelist("help"); $this->cmdWhitelist("status"); }