mattmalec / Pterodactyl4J

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

Server deletion API #61

Closed OpenSource03 closed 1 year ago

OpenSource03 commented 1 year ago

Hi there!

I was not able to find a way to delete a server using this wrapper. Is there a way? And if not, why?

Regards

OpenSource03 commented 1 year ago

Found a solution, however, I'd still suggest making a better documentation :)

mattmalec commented 1 year ago

I agree that documentation is certainly lacking, but this searchable over on the P4J docs: https://ci.mattmalec.com/job/Pterodactyl4J/javadoc

If you search for delete, tons of options come up. I tried to make the code as human-readable as possible so even without detailed documentation, it should still hopefully be somewhat comprehensible.

Feel free to join the Discord if you get stuck, I'm usually available there.