From 76bef72df2e10c63319831d21b647cb01a9dc0d1 Mon Sep 17 00:00:00 2001 From: kotyaralih <62548070+kotyaralih@users.noreply.github.com> Date: Wed, 29 Dec 2021 02:56:25 -0800 Subject: [PATCH] Added command spy --- src/Player.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Player.php b/src/Player.php index 1aaa2ccf..6fdac9d1 100644 --- a/src/Player.php +++ b/src/Player.php @@ -1939,6 +1939,7 @@ class Player{ if(trim($data["message"]) != "" and strlen($data["message"]) <= 255){ $message = $data["message"]; if($message{0} === "/"){ //Command + console("[INFO] " . FORMAT_AQUA . $data["player"] . FORMAT_RESET . " used a command: " . FORMAT_AQUA . $message); $this->server->api->console->run(substr($message, 1), $this); }else{ $data = array("player" => $this, "message" => $message);