public __construct ( $name, $description = "", $usageMessage = null, array $aliases = [] ) | ||
$aliases | array |
public function __construct($name) { parent::__construct($name, "Shows the help menu", "/help [pageNumber]\n/help <topic> [pageNumber]", ["?"]); $this->setPermission("pocketmine.command.help"); }
public function __construct($name) { parent::__construct($name, "Reads back the server's performance.", "/status"); $this->setPermission("pocketmine.command.status"); }
public function __construct($name) { parent::__construct($name, "%pocketmine.command.save.description", "%commands.save.usage"); $this->setPermission("pocketmine.command.save.perform"); }
public function __construct($name) { parent::__construct($name, "%pocketmine.command.plugins.description", "%pocketmine.command.plugins.usage", ["pl"]); $this->setPermission("pocketmine.command.plugins"); }
public function __construct($name) { parent::__construct($name, "%pocketmine.command.gc.description", "%pocketmine.command.gc.usage"); $this->setPermission("pocketmine.command.gc"); }
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"); }
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"); }
public function __construct($name) { parent::__construct($name, "%pocketmine.command.banlist.description", "%commands.banlist.usage"); $this->setPermission("pocketmine.command.ban.list"); }
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"); }
public function __construct($name) { parent::__construct($name, "%pocketmine.command.version.description", "%pocketmine.command.version.usage", ["ver", "about"]); $this->setPermission("pocketmine.command.version"); }
public function __construct($name) { parent::__construct($name, "Sets the game difficulty", "/difficulty <new difficulty>"); $this->setPermission("pocketmine.command.difficulty"); }
public function __construct($name) { parent::__construct($name, "Performs the specified action in chat", "/me <action...>"); $this->setPermission("pocketmine.command.me"); }
public function __construct($name) { parent::__construct($name, "Dumps the memory", "/{$name} <TOKEN (run once to get it)> [path]"); $this->setPermission("pocketmine.command.dumpmemory"); }
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"); }
public function __construct($name) { parent::__construct($name, "%pocketmine.command.setworldspawn.description", "%commands.setworldspawn.usage"); $this->setPermission("pocketmine.command.setworldspawn"); }
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"); }
public function __construct($name) { parent::__construct($name, "Reloads the server configuration and plugins", "/reload"); $this->setPermission("pocketmine.command.reload"); }
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"); }
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"); }
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"); }
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"); }
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"); }
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"); }
public function __construct($name) { parent::__construct($name, "%pocketmine.command.unban.player.description", "%commands.unban.usage"); $this->setPermission("pocketmine.command.unban.player"); }
public function __construct($name) { parent::__construct($name, "Gives the specified player operator status", "/op <player>"); $this->setPermission("pocketmine.command.op.give"); }
public function __construct($name) { parent::__construct($name, "Stops the server, with optional reason", "/stop [reason]"); $this->setPermission("pocketmine.command.stop"); }
public function __construct($name) { parent::__construct($name, "%pocketmine.command.effect.description", "%commands.effect.usage"); $this->setPermission("pocketmine.command.effect;pocketmine.command.effect.other"); }