Inheritance: extends pocketmine\command\Command
Exemplo n.º 1
0
 public function __construct($name)
 {
     parent::__construct($name, "Shows the help menu", "/help [pageNumber]\n/help <topic> [pageNumber]", ["?"]);
     $this->setPermission("pocketmine.command.help");
 }
Exemplo n.º 2
0
 public function __construct($name)
 {
     parent::__construct($name, "Reads back the server's performance.", "/status");
     $this->setPermission("pocketmine.command.status");
 }
Exemplo n.º 3
0
 public function __construct($name)
 {
     parent::__construct($name, "%pocketmine.command.save.description", "%commands.save.usage");
     $this->setPermission("pocketmine.command.save.perform");
 }
Exemplo n.º 4
0
 public function __construct($name)
 {
     parent::__construct($name, "%pocketmine.command.plugins.description", "%pocketmine.command.plugins.usage", ["pl"]);
     $this->setPermission("pocketmine.command.plugins");
 }
Exemplo n.º 5
0
 public function __construct($name)
 {
     parent::__construct($name, "%pocketmine.command.gc.description", "%pocketmine.command.gc.usage");
     $this->setPermission("pocketmine.command.gc");
 }
Exemplo n.º 6
0
 public function __construct($name)
 {
     parent::__construct($name, "%pocketmine.command.help.description", "%commands.help.usage", ["?"]);
     $this->setPermission("pocketmine.command.help");
 }
 public function __construct($name)
 {
     parent::__construct($name, "%pocketmine.command.whitelist.description", "%commands.whitelist.usage");
     $this->setPermission("pocketmine.command.whitelist.reload;pocketmine.command.whitelist.enable;pocketmine.command.whitelist.disable;pocketmine.command.whitelist.list;pocketmine.command.whitelist.add;pocketmine.command.whitelist.remove");
 }
Exemplo n.º 8
0
 public function __construct($name)
 {
     parent::__construct($name, "View all players banned from this server", "/banlist [ips|players]");
     $this->setPermission("pocketmine.command.ban.list");
 }
 public function __construct($name)
 {
     parent::__construct($name, "Extracts the source code from a Phar file", "/extractphar <Phar file Name>");
     $this->setPermission("pocketmine.command.extractphar");
 }
Exemplo n.º 10
0
 public function __construct($name)
 {
     parent::__construct($name, "%pocketmine.command.banlist.description", "%commands.banlist.usage");
     $this->setPermission("pocketmine.command.ban.list");
 }
Exemplo n.º 11
0
 public function __construct($name)
 {
     parent::__construct($name, "%pocketmine.command.weather.description", "%pocketmine.command.weather.usage");
     $this->setPermission("pocketmine.command.weather.clear;pocketmine.command.weather.rain;pocketmine.command.weather.thunder");
 }
Exemplo n.º 12
0
 public function __construct($name)
 {
     parent::__construct($name, "%pocketmine.command.version.description", "%pocketmine.command.version.usage", ["ver", "about"]);
     $this->setPermission("pocketmine.command.version");
 }
Exemplo n.º 13
0
 public function __construct($name)
 {
     parent::__construct($name, "Sets the game difficulty", "/difficulty <new difficulty>");
     $this->setPermission("pocketmine.command.difficulty");
 }
Exemplo n.º 14
0
 public function __construct($name)
 {
     parent::__construct($name, "Performs the specified action in chat", "/me <action...>");
     $this->setPermission("pocketmine.command.me");
 }
Exemplo n.º 15
0
 public function __construct($name)
 {
     parent::__construct($name, "Dumps the memory", "/{$name} <TOKEN (run once to get it)> [path]");
     $this->setPermission("pocketmine.command.dumpmemory");
 }
Exemplo n.º 16
0
 public function __construct($name)
 {
     parent::__construct($name, "Sets a worlds's spawn point. If no coordinates are specified, the player's coordinates will be used.", "/setworldspawn OR /setworldspawn <x> <y> <z>");
     $this->setPermission("pocketmine.command.setworldspawn");
 }
Exemplo n.º 17
0
 public function __construct($name)
 {
     parent::__construct($name, "%pocketmine.command.setworldspawn.description", "%commands.setworldspawn.usage");
     $this->setPermission("pocketmine.command.setworldspawn");
 }
Exemplo n.º 18
0
 public function __construct($name)
 {
     parent::__construct($name, "Records timings to see performance of the server.", "/timings <reset|report|on|off|paste>");
     $this->setPermission("pocketmine.command.timings");
 }
Exemplo n.º 19
0
 public function __construct($name)
 {
     parent::__construct($name, "Reloads the server configuration and plugins", "/reload");
     $this->setPermission("pocketmine.command.reload");
 }
Exemplo n.º 20
0
 public function __construct($name)
 {
     // TO TRANSLATE
     parent::__construct($name, "Gives the specified player a certain amount of experience. Specify <amount>L to give levels instead, with a negative amount resulting in taking levels.", "/xp <amount> [player] OR /xp <amount>L [player]", []);
     $this->setPermission("pocketmine.command.xp");
 }
Exemplo n.º 21
0
 public function __construct($name)
 {
     parent::__construct($name, "Gives the specified player a certain amount of items", "/give <player> <item[:damage]> [amount]");
     $this->setPermission("pocketmine.command.give");
 }
Exemplo n.º 22
0
 public function __construct($name)
 {
     parent::__construct($name, "%pocketmine.command.time.description", "%pocketmine.command.time.usage");
     $this->setPermission("pocketmine.command.time.add;pocketmine.command.time.set;pocketmine.command.time.start;pocketmine.command.time.stop");
 }
Exemplo n.º 23
0
 public function __construct($name)
 {
     parent::__construct($name, "Gets the version of this server including any plugins in use", "/version [plugin name]", ["ver", "about"]);
     $this->setPermission("pocketmine.command.version");
 }
Exemplo n.º 24
0
 public function __construct($name)
 {
     parent::__construct($name, "%pocketmine.command.kill.description", "%pocketmine.command.kill.usage", ["suicide"]);
     $this->setPermission("pocketmine.command.kill.self;pocketmine.command.kill.other");
 }
 public function __construct($name)
 {
     parent::__construct($name, "%pocketmine.command.defaultgamemode.description", "%commands.defaultgamemode.usage");
     $this->setPermission("pocketmine.command.defaultgamemode");
 }
Exemplo n.º 26
0
 public function __construct($name)
 {
     parent::__construct($name, "Changes the time on each world", "/time set <value>\n/time add <value>");
     $this->setPermission("pocketmine.command.time.add;pocketmine.command.time.set");
 }
Exemplo n.º 27
0
 public function __construct($name)
 {
     parent::__construct($name, "%pocketmine.command.unban.player.description", "%commands.unban.usage");
     $this->setPermission("pocketmine.command.unban.player");
 }
Exemplo n.º 28
0
 public function __construct($name)
 {
     parent::__construct($name, "Gives the specified player operator status", "/op <player>");
     $this->setPermission("pocketmine.command.op.give");
 }
Exemplo n.º 29
0
 public function __construct($name)
 {
     parent::__construct($name, "Stops the server, with optional reason", "/stop [reason]");
     $this->setPermission("pocketmine.command.stop");
 }
Exemplo n.º 30
0
 public function __construct($name)
 {
     parent::__construct($name, "%pocketmine.command.effect.description", "%commands.effect.usage");
     $this->setPermission("pocketmine.command.effect;pocketmine.command.effect.other");
 }