Hi there, I am using a faction plugin and I was wondering how could I make it broadcast when a player creates a faction it says $player has created a faction called $faction. >serverBroadcast($this->plugin->formatMessage("§7Factions> $player has created a new faction called $faction!", true));
You need to define $player as a PlayerObject->getName() variable, and $faction needs to be the Faction's name. I can't provide any more help without knowing what Factions plugin you are using and all of the code that is run when a player creates a faction.