Forum

Forum Home > Board "general" / Topic "General" > Thread "how to build a serverbrowser"
1.1.18 #114 - {300}tOlokO , 2014-11-09 12:02:27

lohengrin'm doing a blog. Brazil to netpanzer. can tell me what code I put script for server browser on blogspot?

1.1.18 #115 - Lohengrin , 2014-11-09 12:21:39

There are several ways to accomplish this.

1. Code your own frontend

if you are able to code JavaScript / HTML, you can code your own serverbrowser.

All you need is the Data representing the current states of the gameservers including joined players with their statisitcs. And of course some Code which interprets and presents the Data e.g. in a webpage.

Grab the Data from this JSON Interface:

http://www.netpanzer.info/serverbrowser.json

It contains all running gameservers with joined players and all relevat statistics. It is updated automatically every 24 seconds.

2. Make use of PHP serverbrowser

In the Download Section you will find a PHP Serverbrowser: http://www.netpanzer.info/Download/Utilities/ServerBrowser/php-netpanzer-serverbrowser-v0.8.zip

3. Integrate in your website via iframe

this way is a poor way, but works.

<iframe width="100%" height="600" src="http://www.netpanzer.info/Server-Browser/" />
1.1.18 #116 - {300}tOlokO , 2014-11-12 20:26:49

thank u

This website uses cookies to provide you with the best possible service. Further information can be found in our data protection declaration. Click in the following checkbox to accept cookies. Then confirm by clicking on "Save".
Diese Website verwendet Cookies, um Ihnen den bestmöglichen Service zu gewährleisten. Weiterführende Informationen finden Sie in unserer Datenschutzerklärung. Klicken Sie in die nachfolgende Checkbox um Cookies zu akzeptieren. Bestätigen Sie anschließend durch Klick auf "Save".