API Version 1

Description

Fetch players on a server.

Model

Rate limit:
This model gets new data every minute. If you issue this more than once a minute, you will get cached data.
Example URL:
https://panel.nemanager.com/api/v1/?key={apikey}&command=getServerPlayers&params={"id":{id}}
Key Format Description
max integer The max amount of players the server can hold
list array List of players currently online on the server
port integer Port the player is connected on
host string Host the player is connecting from
name string Name of the player
uuid string The UUID of a player
online integer Currently online players
JSON Response:
{  
    "data":{  
        "max":"20",
        "list":{  
            "Karly":{  
                "port":"57323",
                "host":"127.0.0.1",
                "name":"Karly",
                "uuid":"924c0218-6067-4ff1-8935-6aad181553eb"
            },  
            "Notch":{  
                "port":"59487",
                "host":"127.0.0.1",
                "name":"Notch",
                "uuid":"069a79f4-44e9-4726-a5be-fca90e38aaf5"
            }
        },
        "online":"2"
    },
    "success":true,
    "status":200
}                            
Copyright © TunkDesign 2013-2022