Hi! my name dragon. well, i need add to my plugin command "top" What this command? This command add top 10 faction on the sever. Code: PHP: if(strtolower($args[0] == "punkty")) { if(!$this->plugin->isInFaction($player)) { $sender->sendMessage($this->plugin->formatMessage("§c • Nie posiadasz gildi • ")); return true; } $faction_power = $this->plugin->getFactionPower($this->plugin->getPlayerFaction($sender->getName())); $sender->sendMessage($this->plugin->formatMessage("§a • Punkty gildi - $faction_power punktów • ",true)); }
??? please be more descriptive no one like to ask follow up question dont assume everyone knows how to read other's mind right now, there so many ways to interpret what you are asking for: - code on how to add top factions - how to add commands > wrong section - requesting a faction plugin with TOP factions command the code it self causes more confusion
This post is in the wrong section, please use the development section for plugin development. This section is for plugin recommendations and complete plugin creation