Beispiel #1
0
 public function __construct(EconomyAPI $plugin, $cmd = "setlang")
 {
     parent::__construct($plugin, $cmd);
     $this->setUsage("/{$cmd} <lang>");
     $this->setPermission("economyapi.command.setlang");
     $this->setDescription("Sets language resource");
 }
Beispiel #2
0
 public function __construct(EconomyAPI $plugin, $cmd = "pay")
 {
     parent::__construct($plugin, $cmd);
     $this->setUsage("/{$cmd} <player> <amount>");
     $this->setPermission("economyapi.command.pay");
     $this->setDescription("Pay or give the money to the others");
 }
Beispiel #3
0
 public function __construct(EconomyAPI $plugin, $cmd = "mystatus")
 {
     parent::__construct($plugin, $cmd);
     $this->setUsage("/{$cmd}");
     $this->setDescription("Shows your money status");
     $this->setPermission("economyapi.command.mystatus");
 }
Beispiel #4
0
 public function __construct(EconomyAPI $plugin, $cmd = "topmoney")
 {
     parent::__construct($plugin, $cmd);
     $this->setUsage("/{$cmd} <page>");
     $this->setDescription("Shows top money list");
     $this->setPermission("economyapi.command.topmoney");
 }
Beispiel #5
0
 public function __construct(EconomyAPI $plugin, $cmd = "takemoney")
 {
     parent::__construct($plugin, $cmd);
     $this->setUsage("/{$cmd} <player> <amount>");
     $this->setPermission("economyapi.command.takemoney");
     $this->setDescription("Take others' money");
 }
Beispiel #6
0
 public function __construct(EconomyAPI $plugin, $cmd = "seemoney")
 {
     parent::__construct($plugin, $cmd);
     $this->setUsage("/{$cmd} <player>");
     $this->setDescription("See player's money");
     $this->setPermission("economyapi.command.seemoney");
 }
Beispiel #7
0
 public function __construct(EconomyAPI $plugin, $cmd = "givemoney")
 {
     parent::__construct($plugin, $cmd);
     $this->setUsage("/{$cmd} <player> <amount>");
     $this->setDescription("Gives money to player");
     $this->setPermission("economyapi.command.givemoney");
 }