mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Added commands to whitelist
This commit is contained in:
parent
82a789687c
commit
f7de979de1
2 changed files with 4 additions and 0 deletions
|
|
@ -41,6 +41,8 @@ class PlayerAPI{
|
|||
$this->server->api->console->register("tp", "Teleports a player to another player", array($this, "commandHandler"));
|
||||
$this->server->api->console->register("lag", "Measure your connection lag", array($this, "commandHandler"));
|
||||
$this->server->api->console->alias("suicide", "kill");
|
||||
$this->server->api->ban->cmdWhitelist("list");
|
||||
$this->server->api->ban->cmdWhitelist("lag");
|
||||
}
|
||||
|
||||
public function handle($data, $event){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue