ruscalworld/fabric-exporter

Feature Request - Add Player Names Property

DerGrumpf opened this issue · 2 comments

Hi,

just wanna ask if you can add a Property like minecraft_player_online_names or something?
Or even better tracking individual online Player times as a property

thanks love your Mod <3

Hi!

Thank you for the suggestion! That's an interesting idea.

The first idea I have is to track Login Start packets to retrieve names of players connecting to the server, but it would not provide a list of online players. Handling the list of online players will be harder to implement. I think it will make sense to add an individual counter of online time for each player ever joined the server.

As soon as I have some free time, I will try to do so

I suggest you take the next step right away and export all player statistics as metrics:

  1. Life, armor, hunger, experience
  2. Game Mode
  3. Imposed statuses (poisoning, weakness, etc.)
  4. All statistics available on the player statistics page