Rust
Captain's Quarters | Solo/Duo/Trio | Bi-weekly için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/9662693json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 114957,
"world_seed": 1798133308,
"world_size": 3750,
"steam_id": "90284793379716127",
"domain": null,
"id": 9662693,
"ip": "213.239.221.105",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Nuremberg",
"description": "\nWelcome to Captain's Quarters!\r\n- A solo/duo/trio vanilla server.\r\n- Bi-weekly map wipes and monthly blueprint wipes.\r\n- Max team size: 3 (includes offline).\r\n- Server-side anti-cheat (Galium).\r\n- Leaderboards for PvP, PvE, farming, etc (RankEval.gg).\r\n\r\nNext BP + map wipe: 07.05\r\n\r\n- Low upkeep (50%).\r\n- 24/7 Deep Sea.\r\n- No kits, no P2W.\r\n- Smaller map size with all monuments.\r\n- Griefing (denying access and/or expansion to a base/compound that doesn't belong to you) is NOT allowed.\r\n- Heli doesn't flee. \r\n- Vanilla turret limit. \r\n- Server is actively monitored.\r\n\r\nFor server rules and/or reporting a player, see our Discord (click visit webpage). If you don't read the rules, then don't cry if you get banned for violating them.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776308511,
"score": 0,
"last_online": 1776843617,
"icon": null,
"name": "Captain's Quarters | Solo/Duo/Trio | Bi-weekly",
"connect": "213.239.221.105:28015",
"request": "213.239.221.105:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 5,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1751634334,
"last_update": 1776843617,
"banned": false,
"wipe": 1776362590,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1016,
"language": "de",
"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/9662693");
$data = json_decode($json, true);
var_dump($data);