You are browsing as a guest. Sign up (or log in) to start making projects!

5h 34m 24s logged

Monicraft - Player Manager, Dummy Mode & More! :python:


I’m getting close to finishing this project (fr this time :blob_hype: ). I think it will be one more devlog, it’s been a long ride.

I randomly realised that not everyone has a minecraft server laying around, so I decided to make a dummy mode, so everyone can test out the Monicraft dashboard. I’ve now polished all the player manager buttons (except for Include offline players and Statistics, more on that in future plans). You’re now able to message, kick, ban and change gamemode with the player manager. I made this more user-friendly by using pop-ups.


New Features:

  • Pop-ups in Player Manager: You’re now able to give the reason for a kick or ban with the use of an interactive pop-up. The message feature also uses a pop-up to send a message directly to the selected player. Changing the gamemode is done trough a pop-up with a selection menu, which excludes the gamemode the player is currently in and let’s you choose between the other 3.
  • Dummy Mode: This mode is accessed by adding the --dummy argument when running the program. This makes it so every command that is sent to the “server” is just displayed in the terminal, making you able to see what’s going on. I’ve added a stream_dummy_data() function that updates the stats every 2 seconds with random values. The mod list will be empty. The player list will display a random new player every 10 seconds (those are the default minecraft skins’ names + some random number). You’re able to use every feature from the player manager in dummy mode, everything being sent will be displayed in the console.
  • Fixed Reconnect Logic: When the server disconnects for whatever reason, the dasboard will now try to reconnect every 5 seconds.
  • Queries with statusses as fallback: The recent implementation used both queries and statusses if queries were enabled. It now only uses statusses if queries are not enabled. This makes it alot more optimized, using only one of two all the time.

Future Plans:

  • Implement the Include Offline Players button: This makes it so offline players (cached in usercache.json in the server’s root) will be displayed in the player list. Maby I’ll also add the ability to manage offline players, but I’m not sure.
  • Implement the Statistics button: This button will show a pop-up that shows all the player’s stats (such as blocks broken, mobs killed, etc.)
0
61

Comments 0

No comments yet. Be the first!