mobarena / MobArenaStats

An extension plugin for MobArena that collects arena session stats.
GNU General Public License v3.0
3 stars 2 forks source link

Suggestion: Add more types of stats #8

Open Nesseley opened 3 years ago

Nesseley commented 3 years ago

I open this as a suggestion thread to keep track of what stats people would like to see. Please comment below if you have any ideas!

My Ideas:

Ghmmy commented 2 years ago

I noticed there are no placeholders for stats of an arena for a specific player. Displaying how many waves you survived or how many mobs you killed for one specific arena would be pretty cool. If an arena has been played a 100 times, there is currently no way to see how many times you played it. Only the total amount.

garbagemule commented 2 years ago

I noticed there are no placeholders for stats of an arena for a specific player.

This was deliberately left out as future work because I couldn't decide on whether we're talking about player-specific arena stats or arena-specific player stats. Both make sense in their own way. Right now, player stats are a true subset of arena stats, but they won't necessarily be in the future. I think it's worth considering which "category" certain stats belong to, and which "categories" we should have.

Whether it's player-specific arena stats or arena-specific player stats, maybe the idea belongs in a separate issue?

Perhaps breaking things up like that would help reify this issue, since it's currently very abstract and "up there". It would be great to discuss possible future stats in the context of whether they are player-specific, arena-specific, or global. And then in a separate issue we can discuss whether we need more categories than those three.

Ghmmy commented 2 years ago

A new idea of a placeholder for the current session/player:

Maroon28 commented 2 years ago

A new idea of a placeholder for the current session/player:

  • mobarena_player_current-time > Returns the time spend in the session the player is currently in (in seconds)

This would have to be something in MobArena itself, not MobArenaStats. Basically, all the mobarena_player_x placeholders are retrieved from MobArena's internal counters, which are used in the base leaderboard system. My guess as to why this isn't a thing is that you can't really 'compare' it with anything else, there's no way to set a ranking for it. It's the current time, so if there are 10 players playing it'd be the same for all of them. Though since there already seem to be some time trackers in MAstats, it might be easy to add in an extra stat.

Pikaronga commented 2 years ago

I believe that if the arena has been configured to a set amount of rounds, there should be a placeholder for the best time of that arena. so mobarena__player_besttime or somethin along those lines that returns the best completed time for that specific arena.