Пример #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");
 }
Пример #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");
 }
Пример #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");
 }
Пример #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");
 }
Пример #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");
 }
Пример #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");
 }
Пример #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");
 }