alias status

This commit is contained in:
Tema1d 2023-07-07 01:49:10 +03:00 • committed by GitHub
parent 79c15cc7b9
commit 5d79c23c6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,9 @@ class ConsoleAPI{
$this->register("difficulty", "<0|1|2|3>", [$this, "defaultCommands"]);
$this->register("stop", "", [$this, "defaultCommands"]);
$this->register("defaultgamemode", "<mode>", [$this, "defaultCommands"]);
$this->server->api->console->alias("tps", "status");
$this->cmdWhitelist("help");
$this->cmdWhitelist("status");
}