PGMDev / PGM

The original PvP Game Manager for Minecraft
https://pgm.dev
GNU Affero General Public License v3.0
182 stars 89 forks source link

Add gamemode specific stats #507

Open applenick opened 4 years ago

applenick commented 4 years ago

Gamemode specific stat tracking

I was just given this suggestion and Iā€™m interested to get some feedback to see if this is something that would be acceptable to add.

Currently match stats track kills, deaths, kill streak, and longest bow shot. It would be interesting if one or two gamemode specific stats were also included at the end of match as well.

Here are just a few examples I came up with for some gamemodes: CTW: first wool pickup CTF: longest time holding flag Score: most points individually earned

I believe with the original match stats, other ideas like blocks broken were suggested. Since these are more specific and would not be that difficult to track/store, I feel it would be a good addition. Maybe @KingOfSquares has some comments on this idea? šŸ˜„

If anyone has other ideas for gamemode specific stats or why this should not be implemented please discuss below.

jacobbearden commented 4 years ago

Longest time holding the flag doesn't seem like a healthy stat, encourages people to hold the flag rather than cap it (would be a good stat for Domination though)

KingOfSquares commented 4 years ago

Yea! I wanted to add this as well, but was unsure if it belonged in PGM. It should not be very hard to add, but would likely require some refactoring into multiple classes to not bloat the current class

It's hard to choose one unique stat for each gamemode though. To make it feel natural, multiple stats should be tracked for each gamemode, but only one should be displayed. You can either make it random or make some prioritisation on which to display based on some rules.

KingOfSquares commented 4 years ago

This is partly implemented in #598