Monicraft
- 3 Devlogs
- 14 Total hours
A python GUI app for monitoring a minecraft server running on a pterodactyl panel trough the pterodactyl client API and the Textual python library.
A python GUI app for monitoring a minecraft server running on a pterodactyl panel trough the pterodactyl client API and the Textual python library.
.env file. You can also reset these value’s.Future Plans:
settings command).
say in front of every command you send, which makes it easier to chat with the people that are online on your server.Bugs and Future Plans:
How I came up with the idea:
I was just thinking about what I could possibly make, I felt like coding, but I just didn’t know what I should make. So I just started playing minecraft as always, on the server with my friends. When I was changing something on the server panel, I was wondering how the panel really works. It turns out almost every hosting provider uses the Pterodactyl dashboard. It relies on a REST API, which is publicly available to anyone. I decided to try and recreate such a panel, but in Python.
The foundation:
The connection with the Pterodactyl API is established trough websockets. I decided to start with a screen which is an overview of the main server resources (such as CPU usage, RAM usage and Storage usage) and the console. The GUI is build with Textual and customized by the built-in TCSS.
What I have done so far:
I initially started this project to learn more about API’s and specifically websockets. I also wanted to see how it would be to build a GUI app in python and if it’s really as hard/bad-looking as everyone says.