Roblox is a great place to put your game development skills to the test. When you download your first game, you can track live stats on who's playing your game and what platform they're using. Also, you can launch simple in-game events whenever a user joins you. By doing so, you can learn how to make the player experience even better. But where to start ?
We provide all the answers in this article. Learn how to analyze your game data and easily check who is playing your Roblox game. So let's dive into it.
How to check who played your Roblox game
When you first publish your game to Roblox, it will be set to private. This means no one can play it until you make it public. In case you haven't already, here's a quick reminder on how to make it accessible to everyone:
- Login to Roblox.
- Navigate to the Develop Page.
- Switch the "Private" button to "Public" under your game name.
Now that you've officially made your game public, there are two ways to find out who's playing it.
You can add a new event called "PlayerAdded" to trigger an event whenever a new person joins a game.
Also, if you are interested in game stats and want to track how many players are playing your game at any given time, you can use Developer Stats.
We'll start with the PlayerAdded feature.
The “PlayerAdded” event fires whenever a new player enters a game. This property is often used with the "Players.Player.Removing" event that fires whenever a player leaves the game.
For example, you can print a message when players join or leave the game:
1. Local Players = Game: GetService("Players")
4. print (player.Name . . "join the game!")
8. print(player.Name . . “quit the game!”)
Note that this event may not work as intended in "solo" mode. The player is created before the scripts connect to the "PlayerAdded" runtime. Instead, you can create an "OnPlayerAdded" function to handle player input.
Publishing a game is great, but improving it is more important for it to succeed. The Roblox Platform allows you to track statistics of your game data, including:
- The number of players playing your game and the platform they are using.
- Total player visit data tracked by the time they played and the number of Robux they spent.
- In-game purchase statistics.
- Premium payouts, based on how long Roblox Premium members have spent playing your game.
With this data, you can find out how many people are playing your game at any given time, what devices are being used, the highest paying items, the most popular locations, and more.
Access developer statistics
To access these developer stats, you need to do the following:
- Open a specific game space and go to its main page.
- Click on the button.
- A context menu will appear. Choose "Developer Stats".
A new window with different tabs will open. In the "Game" tab, you will find most of the data related to the people who play your game.
Under “Live Stats” you will see how many players are currently playing your game. The number of players will be separated by platforms – computer, tablet or phone. The values in this graph are updated every 30 seconds.
In the "Historical data" section, you will see graphs and tables such as:
- Average length of visit
- Robux income
- Product Sales Developer
You can filter the data by hour, day, month or platform. For example, you can check how many people visited a specific location in your game on their tablets last month.
Note that the “Visit”, “Average length of visit” and “Revenue” statistics are specific to a location. The "Live Stats" player count, on the other hand, is for the entire game.
You can also download your stats for a deeper insight. Simply download the .csv or .xlsx spreadsheet from Developer Statistics. In the spreadsheet, you can see the number of gamers who purchased specific items on their phone, or see the percentage of revenue from sales of particular development products or game passes.
Here's how to download the spreadsheets:
- Go to the top of the "Developer Stats" page and press "Export Data".
- Enter the month for which you want to download the data.
- Press "Generate".
- Wait for the file to be generated and click "Download".
- Find the file on your computer and open it.
These spreadsheets are useful because they provide deeper insight into how people who play your game absorb it.
See who is playing your Roblox game
Launching a game on Roblox is an exciting experience for newbie game developers. The platform makes it easy to upload and share your game with the world. However, if you're like most developers, you'll be interested in learning how your game has performed over time and who's playing it. With a simple event like "PlayerAdded" and developer metrics, you can get deeper insight into how people engage with your game.
Remember, Developer Stats are your starting point for analyzing your game's performance and tracking how many players are engaging with your game at any given time. The "PlayerAdded" event will serve you best to track who enters the game while you're at it.
How has access to developer stats helped you improve your gaming experience? Have you added the "PlayerAdded" event to your Roblox game? Share your experiences in the comments below.