Skip to content

Instantly share code, notes, and snippets.

@CaptainDuck
Created August 11, 2016 06:37
Show Gist options
  • Save CaptainDuck/5ba221994165d436cb350b2677def632 to your computer and use it in GitHub Desktop.
Save CaptainDuck/5ba221994165d436cb350b2677def632 to your computer and use it in GitHub Desktop.
#If FactionsPro is installed..
$this->factionspro = $this->getServer()->getPluginManager()->getPlugin("FactionsPro");
#Get Faction Name
$this->factionspro->getPlayerFaction($player->getName()),
#Get Faction Player Rank
if($this->factionspro->getSession($player)->isOfficer()){
return ' ';
}
elseif($this->factionspro->getSession($player)->isLeader()){
return ' ';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment