Ga naar hoofdinhoud

GetWarehouseServer

waarschuwing

Deze export is alleen beschikbaar voor serverside!

Export Syntax
exports['dream_cryptomining']:GetWarehouseServer(WarehouseId, ServerId) -- Geeft een tabel met gegevens terug

Parameter

  1. WarehouseId (String) -> De Warehouse-Id. Zie Getallwarehouses.md
  2. ServerId (String) -> De Server-Id.

Response

Response Table
{
"status": string -- [actief, inactief, defect, niet beschikbaar]
}
Voorbeeld Export
local WarehouseServer = exports['dream_cryptomining']:GetWarehouseServer("WAREHOUSEID", "SERVERID")
print(WarehouseServer.status) -- ✉️ Server Status