WebStats icon indicating copy to clipboard operation
WebStats copied to clipboard

Citizens NPCs listed in Webstats

Open kommodore1024 opened this issue 1 year ago • 2 comments

We have some Citizens NPCs listed in Webstats. Is there a way to filter out all the players (NPCs) that don't have any statistics?

kommodore1024 avatar Aug 12 '24 02:08 kommodore1024

join_game would be a good scoreboard to use as it only applies to real players.

kommodore1024 avatar Aug 12 '24 02:08 kommodore1024

It should already not display any "players" / score-holders that do not have any scores (originally implemented for the armour stand book datapack). Do the NPCs really have no scores in any of the columns shown, could you post a screenshot maybe?

Dantevg avatar Aug 12 '24 09:08 Dantevg

Sure thing! It is here: https://keegcraft.neocities.org/ Click "Server Stats"

it would also be cool if I could remove players that we have previously banned.

kommodore1024 avatar Aug 20 '24 02:08 kommodore1024

Which of these players are Citizen NPCs? Every player has at least one score on the table, almost every one has a score for Walk. Do the NPCs have scores for Walk too?

As for removing players data, if they have scores on the scoreboard you can remove the scores with /scoreboard players reset <player>.

Dantevg avatar Aug 20 '24 10:08 Dantevg

It looks like walk and damage dealt are indeed the stats that is making Citizen NPCs appear. It looks like Citizens Sentinel is not compatible. I'll remove those stats. Thanks!

kommodore1024 avatar Aug 22 '24 00:08 kommodore1024