mattmalec / Pterodactyl4J

Java wrapper for the API of Pterodactyl
Apache License 2.0
117 stars 30 forks source link

How to get a Status from a ApplicationServer #56

Closed ghost closed 10 months ago

ghost commented 2 years ago

I didn´t found a way to get a Status (like "ONLINE") from a ApplicationServer

Goksi commented 2 years ago

Currently, pterodactyl api doesn't have way to get server status from application endpoints, according to that, P4J doesn't have a way to provide that. You would have to use client api to achieve that. As from 1.8 panel version it shouldn't be much problem for your app because you can use client key for application endpoints.

luiz-otavio commented 2 years ago

You can retrieve that from resources usage endpoint.