With this plugin you can grab informations from Faction plugin and send them on your web server. This will allow you to classify factions, players etc ... directly from a web page!
A web page can be created automatically on http://yourip:8090
CraftBukkit 1.8
Simply install the plugin on your server. Activate php in config file
Then install and use php files on your web server as in the example.
<?php include 'faction.php'; $liste = faction::getAll(); foreach ($liste as &$faction) { $name=$faction->getName(); $desc = $faction->getDesc(); $lead = $faction->getLeader(); $players =$faction->getPlayers(); $power = $faction->getPower(); echo $name."</br>"; echo $desc."</br>"; echo $lead."</br>"; echo $players."</br>"; echo $power."</br>"; echo "----------</br>"; } ?>
Your minecraft server and your website can be different.
If they are different please change "localhost" in faction.php by the ip adresse of your minecraft server. Port must be the same as config file "8020".
$fp = @fsockopen("localhost", 8020);