Relaxed PvE/5X Harvest/Only mandatory wipes için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 115185,
"world_seed": 2147483647,
"world_size": 4500,
"steam_id": "90286606780813312",
"domain": null,
"id": 11606820,
"ip": "148.113.159.48",
"port": 28000,
"query": 28001,
"color": 0,
"city": "Montreal",
"description": "This is a relaxed PvE focused server. Running the BUILT DIFFERENT Update! Please be aware that PVP is NOT restricted here.\r\nMany NPC related mods have been broken, abandoned, or paywalled so alternatives have to be used in the meantime.\r\n\r\nNo wipes unless mandatory!\r\n\r\nModifications:\r\nGuarded Crates\r\nDangerous Treasures\r\nFully customizable signs and sign art\r\n5x gathering for all resources\r\nActive Admins\r\nExtra loot\r\nWipes disabled unless forced\r\nSoftcore Enabled",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780602268,
"last_online": 1780606828,
"icon": null,
"name": "Relaxed PvE/5X Harvest/Only mandatory wipes",
"connect": "148.113.159.48:28000",
"request": "148.113.159.48:28001",
"map": "Procedural Map",
"gamemode": "Softcore",
"version": "2627",
"numplayers": 3,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "CA",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1779915485,
"last_update": 1780606828,
"banned": false,
"wipe": 1780602479,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2005,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11606820");
$data = json_decode($json, true);
var_dump($data);