Add Player.IsThirteenOrOver

My game has a feature that allows players to connect their Roblox account to their Discord account. This adds another layer of safety to the Discord channel, helps build a community and it also allows me to create features like automatically giving players a Discord role when they purchase full access to my game

Currently this breaks Roblox’s safety guidelines because there is no way to determine if a player is under thirteen so I can hide this screen from them. Adding a property to the player class called “IsThirteenOrOver” would fix this issue and allow me to have this UI in my game

8 Likes

Nevermind, this feature already exists

5 Likes

There’s already a function for this, Player:GetUnder13(). However Roblox don’t want to release it outside of their core code for one reason or another, (it should remain core security)

Also your game violates the TOS since you cant have a reference to Discord regardless of if the user is 13+ or not.

9 Likes

Keep in mind while this does take into account the age set on the player’s account, it should not be used to determine age range. There could be countries that ban Discord but not Roblox, so it wouldn’t include Discord in the allowed references. But you wouldn’t be showing it to them anyway, just saying that it shouldn’t be used to determine age range.

But yes, like mentioned above, references to Discord are still banned in-game regardless of age.

4 Likes

I think I am in more of a grey area. The way my system works is the player joins the Discord server first, then they get instructions on how to link their account. They will have to type a command into chat, eg /discord and that will simply show them a code that they then give to a bot in the Discord channel and that links their account. There will be no public reference to Discord in-game

GetPolicyInfoForPlayerAsync is better anyway, since it gives more specific policy information that is tailored for the region the player is in. You always want that underlying, more specific data, so that you don’t need to make any decisions yourself or have to interpret policy/laws on your own, which would be a massive headache and have much legal risk attached.

It’s in the same bucket as “give us device information”, it’s not needed if you can already read screen size, input mode, etc. You just need the underlying policy values, you don’t need to know where the player is or if they are 13+.

There is a case for knowing aggregates of the source values (age/platform/region) for analytics purposes, but Roblox should be the one to collect this so that they can be displayed to developers without exposing PII on individual players (which would be the case if they exposed the API on each player to get a single data point).

3 Likes

When we first launched our game, we had a discord link buried in one of our UIs, and used the policy info to display it. Our game was removed for two weeks without warning, since it’s still violating the TOS.

Be careful :confused:

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.