If you were to fetch global statistics about gamemodes (e.g, Bedwars' unique players) you would need to use the Game object.
Game
To get one, you can use two methods:
new Game("BED");
new BED("RoccoDev").getParentGameStats();
Once you get it, you can fetch the unique players with .getUniquePlayers() (Java) or .uniquePlayers (Kotlin).
.getUniquePlayers()
.uniquePlayers
There was an error while loading. Please reload this page.