Rust
API pentru [AU] Savtopia One Grid | 3x | Trios | 1 Grid | CUSTOM MAP
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/7741259json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 8283,
"world_seed": 1337,
"world_size": 1300,
"steam_id": "90285611470868488",
"domain": null,
"id": 7741259,
"ip": "51.161.198.78",
"port": 28025,
"query": 28026,
"color": 0,
"city": "North Sydney",
"description": "![[AU] Savtopia One Grid | 3x | Trios | 1 Grid | CUSTOM MAP](https://www.dropbox.com/scl/fi/isyq0fo95rp38w94wwy3o/Savtopia-2x-Banner.png?rlkey=gt6xmywakaypbeyt4cl4nm7jh&st=ep9ee1us&dl=1)\nWelcome to Savtopia!\r\nMap Wipes: Mondays & Fridays @ 4pm AEST | 12pm on Xmas School Holidays\r\nBPs Wipe: On Forced Wipes\r\nMax Group Size: 3\r\n\r\n PLAYER REPORTS\r\n • Got clips? Submit a ticket in our Discord!\r\n • No clips? Press F7 to submit a report in-game!\r\n\r\n STORE: savtopia.tebex.io | SUPPORT: discord.gg/Savtopia\r\n\r\nSavtopia Features Active Staff | True One Grid | Custom Monuments \r\n 2x Gather | Quick Smelting | 2x Crafting Times\r\n Faster Recycling | Vehicle Airdrops | Tier 1 BPs Unlocked\r\nRP System & Store | Kits | Bigger Stack Sizes\r\nSupercards | Discord Verified Kits | Oil rigs close to shore\r\n\r\n Junk items removed from loot tables",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778481780,
"score": 0,
"last_online": 1778629818,
"icon": null,
"name": "[AU] Savtopia One Grid | 3x | Trios | 1 Grid | CUSTOM MAP",
"connect": "51.161.198.78:28025",
"request": "51.161.198.78:28026",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 3,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1739805437,
"last_update": 1778629818,
"banned": false,
"wipe": 1778481850,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1089,
"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/7741259");
$data = json_decode($json, true);
var_dump($data);