Esempio n. 1
0
 /**
  * @param BaseAPI $api
  */
 public function __construct(BaseAPI $api)
 {
     parent::__construct($api, "kill", "Kill other people", "[player]");
     $this->setPermission("essentials.kill.use");
 }
Esempio n. 2
0
 /**
  * @param BaseAPI $api
  */
 public function __construct(BaseAPI $api)
 {
     parent::__construct($api, "tell", "Send private messages to other players", "<player> <message ...>", true, ["msg", "m", "t", "whisper"]);
     $this->setPermission("essentials.msg");
 }
Esempio n. 3
0
 /**
  * @param BaseAPI $api
  */
 public function __construct(BaseAPI $api)
 {
     parent::__construct($api, "gamemode", "Change player gamemode", "<mode> [player]", true, ["gm", "gma", "gmc", "gms", "gmt", "adventure", "creative", "survival", "spectator", "viewer"]);
     $this->setPermission("essentials.gamemode");
 }