|
|
Custom population information |
Now you are able to get zone specific population information to your own website. Population information and statistics are almost in a realtime. Everything is updated regularly every second minute.
Here is the PHP source code which you can use to get that information what you want to your own website.
1
2
2
3
4
5
6
7
8
9
10
11
|
<?php
// Source URL (more inforamtion can be found at https://subspace.gamespec.org/population/?view=info)
// This URL should change according to it what kind of information you want to show on your website.
$path = "https://subspace.gamespec.org/population/stats.php?get=info";
$result = file_get_contents($path);
if(strlen(trim($result)) == NULL) {
echo "Unable to get information from SSNE Central.";
}
else {
echo $result;
}
?>
|
|
|
|
Get stats ID |
Select zone which you would like to get information. Get the zone ID for it and apply the ID below guideline. Without the ID you can only receive whole Subspace/Continuum information and statistics.
At the bottom of this page is "test the script" section. Feel free to test how the script will return the data.
|
|
|
Zone specific population information |
Zone realtime population
https://subspace.gamespec.org/population/stats.php?get=population&id=[id]
Display realtime information about the zone
https://subspace.gamespec.org/population/stats.php?get=info&id=[id]
1
2
3
4
5
|
Zone name
IP-address
Port
Current population
Description
|
1
2
3
4
5
|
SSCU Extreme Games
66.235.184.102
7900
89
[Extreme Games] The fastest and boldest warzone flagging available. For more information visit
http://www.extreme-games.net Owners: Pointman, The Junky, Zeus, Croaker ss://eg.sscx.net
|
|
|
|
Continuum population information |
Total players currently online
https://subspace.gamespec.org/population/stats.php?get=population
1
|
Total players currently online in whole Subspace/Continuum
|
Total zones currently online
https://subspace.gamespec.org/population/stats.php?get=zones
1
|
Total zones currently online
|
Average players per zone
https://subspace.gamespec.org/population/stats.php?get=average
1
|
Average players per zone
|
Highest populated zones
https://subspace.gamespec.org/population/stats.php?get=highest&top=[1-5]
1
2
3
4
5
|
Zone name (ranked 1st)
Zone name (ranked 2nd)
Zone name (ranked 3rd)
Zone name (ranked 4th)
Zone name (ranked 5th)
|
1
2
3
4
5
|
SSCU Trench Wars
SSCU Extreme Games
SSCX Chaos/League Zone
SSCU Death Star Battle
SSCX Star Warzone
|
Highest populated zones population
https://subspace.gamespec.org/population/stats.php?get=highest_population&top=[1-5]
1
2
3
4
5
|
Zone population (ranked 1st)
Zone population (ranked 2nd)
Zone population (ranked 3rd)
Zone population (ranked 4th)
Zone population (ranked 5th)
|
1
2
3
4
5
|
614
229
146
66
32
|
Information about whole Subpace/Continuum
https://subspace.gamespec.org/population/stats.php?get=info
1
2
3
4
5
|
Current population of whole Subspace/Continuum
Total zones avaible currently
Average players per zone
Highest populated zone currenlty
Current population of highest populated zone
|
1
2
3
4
5
|
1205
52
23.17
SSCU Trench Wars
614
|
|
|
|
Test the script |
Now you are able to get zone specific population information to your own website.
1
2
3
4
5 |
266
22
12.09
SSCU Trench Wars
110
|
|