Menu

Script usage

Vladimir

How to use it ?

It's not complicated to use this script, all you have to do is parse two parameters to script and everything else is magic.

Function looks like this:

ServerInfo($ip, $type)

Let's see the parameters:
1. $ip - this is where you type ip adress of the server. Note that server needs to be added on GameTrackers.rs !
You can directly parse IP:

ServerInfo('193.104.68.2:27035', $type)

or you can do by storing it in variable:

$ip = '193.104.68.2:27035'

ServerInfo($ip, $type)

2. $type - this parameter has its own "words" or "functions". "Functions" are published in wiki page called "List of functions".

ServerInfo($ip, 'name')

this returns server name. All functions are listed here: https://sourceforge.net/p/gt-api-sinfo/wiki/List%20of%20functions/


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.