Inspiration

Our team has seen and used similar bots in the past, but found their functionality lackluster and missing in several key aspects. As such we decided to take the opportunity afforded by the hackathon to create a better version, hence the name, of such bots.

What it does

It stores player data from a specified minecraft server and graphs it in various different ways.

How we built it

We built it using the discord.py api, matplotlib, and pymongo primarily. It was developed in pycharm with a shared virtual environment over github desktop.

Challenges we ran into

There were challenges in every major component of the bot. In terms of storage, there were several roadblocks in ensuring all the data was formatted correctly both coming in and out of the database. In the bot itself, we struggled to find a way within the given API to edit out status message with a live graph, which was eventually solved by deleting and replacing the status message. With the generation of the graphs themselves, we faced challenges in formatting the graph to an aethetically pleasing state while still presenting the data in a useful manner.

What's next for BetterMCStats

  • Player-specific activity graphs
  • MOTD display functionality
  • Human-readable time formatting in the activity graphs

Built With

Share this project:

Updates