gophertunnel icon indicating copy to clipboard operation
gophertunnel copied to clipboard

realm player count

Open vOmarred11 opened this issue 2 months ago • 6 comments

In the realm package it does return the incorrect value on realms

vOmarred11 avatar Oct 13 '25 15:10 vOmarred11

Did you open an issue to say it was working correctly?

TwistedAsylumMC avatar Oct 13 '25 15:10 TwistedAsylumMC

my bad incorrect*

vOmarred11 avatar Oct 13 '25 17:10 vOmarred11

Image

vOmarred11 avatar Oct 13 '25 17:10 vOmarred11

Unsure if it was how it behaved before, but it seems like it returns all players that have ever connected to the realm. You can do additional filtering to check to see if the Online field is set to true in each Player that gets returned, but I suppose the OnlinePlayers() method should do that filtering

TwistedAsylumMC avatar Oct 13 '25 17:10 TwistedAsylumMC

thanks it worked

vOmarred11 avatar Oct 13 '25 17:10 vOmarred11

i just added a filter

vOmarred11 avatar Oct 13 '25 17:10 vOmarred11