Monicraft - Offline Player Caching, More statistics, Better Exception Handling & More
The final devlog for Monicraft is finally here. It has been a long, but really educational, journey. I’ve locked in for a last time and rewritten the whole player manager logic
. It is now way more optimized and only updates the data for online players. I’ve switched from keeping everything apart to making a class for each player and storing all the data in it, and then keeping those objects in a dictionary with the player’s uuid as the key.
New Features:
- Offline Player Caching: The data for all players is now cached at all times, right into memory. It then checks the online player list and updates it every 30 seconds (by default).
-
More configuration: You can now change the interval for the player data fetching and the online player list fetching. You can also set a prefix for the chat mode, like
Admin Camilio13 > {message}. - More Resource Management: You can now also see the disk usage (total size of the server) and network inbound and outbound on the main screen.
- UI improvement: I gave the main screen a little overhaul to make it look a bit better. And I tried to make the buttons and everything else as stable as possible, but they’re still sometimes shifting or not perfectly centered depending on your screen size and terminal zoom. This is a problem I can’t fix and will always be there when using Textual.
-
Fixed bugs:
- Several bugs with dummy mode, the app relied on non-existing API functions.
- Cursor kept shifting when player list refreshed.
- Pterodactyl client API rate limit was exceeded on big servers.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.