Hi! I need your help on plugin. Well, my plugin it's not complet. PHP: if($this->config->get("Level of tag display") == "on"){$player->setNameTag("[§a".$this->kill->get($user)."§f]".$user2);$player->save();}if($this->config->get("Level of display display") == "on"){$player->setDisplayName("[§a".$this->kill->get($user)."§f]".$user2);$player->save(); How set this code before faction name[/PhP]
Holla/Salut/Bonjour! 1) My Suggestion: You could use array lines (not sure if I call it correct): Example Code: PHP: public $enable;Command execution:if(isset($this->enable[strtolower($sender->getName())])) { unset($this->enable[strtolower($sender->getName())]); ## your code $sender->sendMessage("You have disabled!");}else { # if the player has to turn thus on $this->enable[strtolower($sender->getName())] = $sender->getName(); # Your code $sender->sendMessage("Enabled");}