generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Finding number of players across all servers of a game.

Previous Thread :: Next Thread 
Jackd44 is not online. Jackd44
Joined: 19 Dec 2008
Total Posts: 200
25 Oct 2014 11:13 PM
So, I have a universe, and I'd like to see how many people are playing one of the minigames inside of the universe(it's a separate game inside the universe). I have been searching through the roblox wiki and couldn't really find an easy way to pull this off (I did see MarketplaceService, which looked somewhat promising, but I'm not sure.). I was thinking about using a data store and increasing or decreasing by 1 every time a player joins, but I'd still have difficulty with servers that shutdown with multiple players in it and such. I suppose it'd still be do-able, but I'd like to ask you guys if an easier way exists before I start doing that.
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
25 Oct 2014 11:14 PM
Personally I'd use DataStore
Also game.OnClose




Talking in third person annoys people.
Report Abuse
Jackd44 is not online. Jackd44
Joined: 19 Dec 2008
Total Posts: 200
25 Oct 2014 11:32 PM
Ah, yes. game.Onclose

So I'm think the best way to tackle this probably would be to just increment up and down per place enter and exit(and decrease by the total number of players in the server on shutdown), right?
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
25 Oct 2014 11:36 PM
that is the method wazap has used.


Talking in third person annoys people.
Report Abuse
Jackd44 is not online. Jackd44
Joined: 19 Dec 2008
Total Posts: 200
26 Oct 2014 12:07 AM
Cool.

(3rd person doesn't annoy me. :P I am immune to your ways, wazap!)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image