cURL
curl --request GET \ --url https://controller.platform.simplecloud.app/v0/players/online-time \ --header 'X-Network-ID: <x-network-id>' \ --header 'X-Network-Secret: <x-network-secret>'
{ "formatted_time": "10h 0m", "online_time_seconds": 36000, "player_id": "069a79f4-44e9-4726-a5be-fca90e38aaf5" }
Get total online time for a player on this network
Network ID
Network Secret
Player UUID (Minecraft UUID)
OK
Player online time information
"10h 0m"
36000
"069a79f4-44e9-4726-a5be-fca90e38aaf5"
Was this page helpful?