I’m working on a game and was considering using PolicyService to check if a user is 13+ and, only then, show them a Discord invite link (e.g., in a GUI popup).
Before I do anything, I want to make sure this is not against Roblox’s Community Standards or TOS.
You should be able to; but don’t check if they are 13+, see if they are allowed to see Discord links.
local function canPlayerSeeDiscordLinks(player: Player): boolean
local s, info = pcall(PolicyService.GetPolicyInfoForPlayerAsync, PolicyService, Player)
if (not s) then return false end --default to false as a safeguard when it fails
return table.find(info.AllowedExternalLinkReferences, "Discord") ~= nil
end
It shouldn’t be against community standards or ToS, especially considering they provide a method to check, but do not quote me on that.
You cannot do this as this would violate ToS, it would be considered “off-platform”. Use the built in Social Links instead. Roblox is strange like that.
after some digging (asking the studio assistant to search the ToS and Community Standards, it’s really good at that) I found this being the most relevant thing:
my guess is Roblox does explicitely allow you to considering the Social Links section and this PolicyService return result field.
Well no, as long as you use PolicyService correctly, that is, checking the field AllowedExternalLinkReferences. I shouldn’t think that saying you got it with PolicyService will help… but Roblox moderation is incredibly inconsistent, so idk.
You should probably be all right considering that Roblox already has the Social Links section of the site, and a field containing the allowed external links users can see from the PolicyService result.