コード例 #1
0
ファイル: PurePerms.php プロジェクト: mad-hon/PurePerms
 public function reload()
 {
     $this->reloadConfig();
     $this->saveDefaultConfig();
     $this->messages->reloadMessages();
     if (!$this->isValidProvider()) {
         $this->setProvider(false);
     }
 }
コード例 #2
0
ファイル: PurePerms.php プロジェクト: 0-Eclipse-0/PurePerms
 public function reload()
 {
     $this->reloadConfig();
     $this->saveDefaultConfig();
     $this->messages->reloadMessages();
     $this->setProvider(false);
     foreach ($this->getServer()->getOnlinePlayers() as $player) {
         $this->updatePermissions($player);
     }
 }