With WebBridge you can simply read any kind of information from the minecraft server at your webserver! You can for example easily find out hown many players there are on the server, what their names are or what armor they wear. You can also execute commands from your website. All this is made possible by the bukkit plugin and PHP-API. Read further on for more information.
Here you can find some essential information about WebBridge. To go more into detail visit the GitHub wiki: https://github.com/sixteenpixels/webbridge/wiki
On Bukkit, you can donwload the plugin which is needed to run WebBridge. This plugin has the assignment to log information to a database and to execute commands.
WebBridge was made by sixteenpixels!
Note: There may be bugs and issues while using WebBridge. Report bugs to: [email protected]
(1) What is WebBridge?
WebBridge is a PHP-API with a proper Ajax-Interface, which allows you to easily communicate between your Minecraft-server and your webserver. It also includes the possiblity to execute certain commands! And it's really simple! For example, to find out, how many players there are currently online, two lines of code are enough:
$server = new Server;
echo "Player online: " . $server -> getPlayerOnline();
(2) What possiblities do I have with WebBridge?
You can get a lot of different sets of information from the Minecraft-server through the WebBridge API on your webserver. It would take you a maximum of two lines to find out, how many players on the server currently are or to find out a player's ping. The second great possibility of WebBridge is using the JobSystem: It makes it possible to send a set of predefined commands to the server. So you can control your server easily from the web.
(3) How do I set up WebBridge?
That's a quiet easy procedure: I have written a easy-to-follow tutorial for you:
https://github.com/sixteenpixels/webbridge/wiki/1.-Tutorial:-Setting-up-WebBridge
(4) How can I use WebBridge?
For using WebBridge on your website you have two possibilites:
a. The PHP-API
--> Tutorial about how to use the PHP-API:
https://github.com/sixteenpixels/webbridge/wiki/2.-Tutorial:-Using-WebBridge-with-PHP
b. The Ajax-Interface(Javascipt)
--> Tutorial about how to use the Ajax-Interface in Javascript:
https://github.com/sixteenpixels/webbridge/wiki/3.-Tutorial:-Using-WebBridge-with-Javascript
So as you see you will need a basic knowledge of one of these two languages. In some cases, using the Ajax-Interface will be a better solution, but this and more will be explained in the proper tutorial.