Added commands to whitelist

This commit is contained in:
Shoghi Cervantes Pueyo
2013-04-05 15:14:32 +02:00
parent 82a789687c
commit f7de979de1
2 changed files with 4 additions and 0 deletions

View File

@@ -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){