public function onRun(array $args, Faction $faction, Player $player) { if (!isset($args[0])) { return false; } $faction->setMotto($motto = implode(" ", $args)); $faction->sendMessage("[PF] Your faction's motto has been set to:\n[PF] ''{$motto}'' by {$player->getName()}."); return ""; }