Mineteck

server

Server status

status->online ? "Online" : "Offline"; $cpu = $status ? $data->status->cpu : "N/C"; $ram = $status ? round($data->status->ram / 1024) : "N/C"; $players = $status ? $data->status->players->online." / ".$data->status->players->max : "N/C"; ?>
  • Status :
  • CPU : %
  • RAM : Mo
  • Online :

Online players

    players)) { echo('
  • No player online
  • '); } else { foreach ($data->players as $player) { echo('
  • '.$player.'
  • '); } } ?>