Page 1 of 1
How can I get the number of connected users?
Posted: 15 Oct 2012, 19:04
by HumanPoweredGames
How can I get the number of currently connected users from within my extension?
Re: How can I get the number of connected users?
Posted: 15 Oct 2012, 20:28
by rjgtav
Hi,
I think the only way possible is to sum up the user count of each Zone.
You can use the getZone(zoneName) method for retrieving the Zone object corresponding to the Zone with the name specified and then use the Zone.getUserCount() method for retrieving the number of users currently logged in that Zone.
Re: How can I get the number of connected users?
Posted: 15 Oct 2012, 21:37
by HumanPoweredGames
That will work. Thanks!