API pentru Paradise and Tranquility PvE with Purge!
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 55,
"fps_avg": 54,
"entities_count": 206729,
"world_seed": 1480355751,
"world_size": 6000,
"steam_id": "90286605757268998",
"domain": null,
"id": 10413424,
"ip": "66.51.99.84",
"port": 28000,
"query": 28001,
"color": 0,
"city": "Dallas",
"description": "\nWelcome and thanks for playing Paradise and Tranquility PvE with Purge! \r\nRules are the same as any other pve server,.\r\n1. No killing raiding, stealing unless its purge!\r\n2. No hate speech or racism this will lead to auto perm ban!\r\n3. Looting decay is ok and the sleepers/players inside of decay is ok but do not loot any sleeper/players that is not in decay.\r\n4. No trolling or roll playing pvp or raiding, that means tc blocking other players.\r\nAny rule broken will lead to perm ban!\r\nIf you need admin help, have questions, want to donate and for full set of rules please join the discord at: https://discord.gg/2xd7hux5h",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780601069,
"last_online": 1780636832,
"icon": null,
"name": "Paradise and Tranquility PvE with Purge!",
"connect": "66.51.99.84:28000",
"request": "66.51.99.84:28001",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 75,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1759823840,
"last_update": 1780636832,
"banned": false,
"wipe": 1780601184,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3372,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10413424");
$data = json_decode($json, true);
var_dump($data);