Mineuniverse
Log in Register
Plugins

Faction Web Linker

This plugin allows you to get information from faction plugin and create a local web server to display them
by _ForgeUser4655295
Download Claim this project
3,859 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools Developer Tools Informational Website Administration

Faction Web Linker

Warning: In configs files plugin's, php port is 8020.
In Faction.php port by default is 8580.
You have to match them !

Description

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

Simple usage for Administrator

  1. Create a backup of your server first !
  2. Just put the plugin in your plugin folder.
  3. Restart your server.
  4. Open FactionLinker configFile.
  5. Set localweb.active to true (change port if you want).
  6. Set servername.
  7. Restart your server.
  8. Then go on http://yourip:port

Local Web demo

Simple PHP demo

Exemple:

Exemple

Work with

Faction plugin

MassiveCore plugin

CraftBukkit 1.8

How to install this ? (for dev)

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.

You can display

  • The name of faction
  • The name of the faction leader
  • The number of player in the Faction
  • The faction description
  • The current power of the faction

Exemple:

<?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);
WebFactionLinker [1.1.0]
MC 1.8.1
Beta 2015-06-30 Get
FactionWebLinker.zip
MC CB 1.7.9-R0.2
Beta 2015-06-28 Get
Faction Web Linker
MC CB 1.7.9-R0.2
Beta 2015-06-28 Get

You Might Also Like

AdBolt Advertising Network
Make money from your Minecraft server by running ads!
9,992
Mineload
Mineload
9,978
BeastTP
BeastTP v1.0 - Teleportation Made Easy! -[Permissions][1317]
9,966
RegionManager
generate regions with just one command!
9,950
TimeKeeper
Keep the Server-Playtime per Day
9,948
SimpleAdmin
simple way to ban/kick unwanted players from your server
9,945