Rust
API pentru Slackers Creative: Build/NoClip/GodMode
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10922382json
{
"response": {
"fps": 240,
"fps_avg": 239,
"entities_count": 3027,
"world_seed": 1337,
"world_size": 4000,
"steam_id": "90284875858879494",
"domain": null,
"id": 10922382,
"ip": "212.117.169.196",
"port": 25584,
"query": 25586,
"color": 0,
"city": "Luxembourg",
"description": "\nWelcome to Slackers Creative. \r\nCustom Build Map, Claimable Plots.\r\nSave, Load and share Base Builds, Even build with friends.\r\nBase Designs Persist after Wipes.\r\nBuilding Symmetry Plugin for Insane Builds, Skins and Building DLC to complete your Base design. NoClip and Godmode.\r\nTest your base builds Using unlimited resources. \r\nFull Funfair Lobby with Kart Racing.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776982354,
"score": 0,
"last_online": 1776997823,
"icon": null,
"name": "Slackers Creative: Build/NoClip/GodMode",
"connect": "212.117.169.196:25584",
"request": "212.117.169.196:25586",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "LU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768476934,
"last_update": 1776997823,
"banned": false,
"wipe": 1775159468,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4213,
"language": "lb",
"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/10922382");
$data = json_decode($json, true);
var_dump($data);