You obviously didn’t read it then, they were showing you an example of what you could do with this API.
I don’t want to sound rude but it is clear they did read the docs and the post. They where purely asking if there is any way at all that they can use the UI (as there was nothing saying about the UI just saying it was an example). They never said that this API gives you the UI pop up they where just asking if there was any way we can use it.
Please let me know if I have mistakenly read this but that is what I could see when I checked the past messages.
Although I clearly can see it is just and example and this is legit just an API to either give a true or false if the user is verified or not from the UI example it looks like the type of thing which could be a module or something as it looks exactly like a Roblox pop-up.
On my first quick read through I thought Roblox was doing this for ID verified only. Happy to see this is not the case. I still have my doubts on whether or not this works in a significant way in blocking malicious players. I hope it does.
It’s ready right now. You can start calling IsVerified
on a Player object.
There’s a trick for detecting email verification. When you verify your email Roblox adds a hat to your inventory and you can detect if a player owns that email verified hat with MarketplaceService.
local MarketplaceService = game:GetService("MarketplaceService")
local function isPlayerEmailVerified(player)
local success, isEmailVerified = pcall(MarketplaceService.PlayerOwnsAsset, MarketplaceService, player, 102611803)
if success then
return isEmailVerified
else
return true --you wouldn't want to restrict players' access because of an API error
end
end
Apparently you also get that hat with a verified phone number now, but that shouldn’t cause too much of a problem since I can’t imagine a situation where you would lock players out of something based on email where a phone number would not be sufficient.
You’ve already been able to check if the user has a verified email, using this method:
game:GetService("MarketplaceService"):PlayerOwnsAsset(player, 102611803)
That checks to see if the user has Verified, Bonafide, Plaidafied - Roblox.
EDIT: turns out @Andy_Wirus had the same idea as me and sent it just before me
I throughly and completely read the post and API documentation. I think you are misunderstanding what I am saying. I was responding to someone who was claiming that it was in fact available, so I was responding that I checked the docs to confirm even though the post marked it as an example.
I understand that it is an example and in my original post I was asking if this example would be released/ would be available to allow us to use. It matches Roblox’s core GUI and it would be helpful not to have to create my own UI. Roblox has often open-sourced examples in order to allow developers to understand the applications of APIs and other tools.
I strive to be as informed and accurate as possible with my posts, and I assure you I thoroughly read before I make any comments on any announcement or other type of post. I am familiar with the API as I’ve been using this API in a test place for a few weeks now when it was accessible via request form.
Hope that clears this up! Sorry for the confusion. Feel free to DM.
You are correct- I am fully aware that the API returns true/false (I’ve been using it for weeks!) was just hoping Roblox would provide the UI in the example as it matches CoreGUI and is better than anything I could create.
Roblox has opened sourced examples in the past so was hoping they would make this nice UI available for developers to use.
Can you provide platform analytics for what percentage of players on the platform are verified, grouped by age and platform? I will not blindly gate parts of my experience without knowing how many people I would be losing because they are not verified.
Yeah, I agree. I am assuming it is relatively low given the fact that Roblox has never shared these metrics and they only seem to share analytics that look good for the platform.
Might be a good idea to implement a background check in your game on player join and save the data so you can get a sense of what percent of your players are verified or not. (this is what I am doing for now)
I feel like using this API will result in a ton of crossfire. A lot of other replies have brought this up, but it feels problematic that Roblox has put it in the hands of developers to not abuse this. I can think of large groups of legitimate players who do not possess the abilities to get phone numbers or have their IDs verified who will be excluded from games or features when the main intent is to deter bad actors.
Please, this is a much better option than gatekeeping IDs to play games, gore games can have an option to gatekeep gore elements behind this which is a lot better than preventing players from playing the game entirely.
A lot of violent games have an option to disable gore anyway.
Does someone know if multiple accounts can verify with the same phone number? Thanks.
You could use this API to lock off people who don’t have a verified number or ID from entering privileged spaces such as competitive leagues or staff as Roblox groups. Using it merely to shut off players from joining the game is shallow and causes more trouble than not.
Also, since it’s another checkable factor that points to if an account appears to be an alt, such as appearance/inventory value, number of outfits, account age, and now verification status, you could possibly make a trust scoring algorithm that works with in-game player reports to expedite or automate moderation in your game.
My only issue with it is that we can’t tell if the account is number verified or ID verified. I think the difference is really important there.
As cool as this seems, I do have a sort of concern…
Won’t this essentially just kill your experience in terms of player count if you even try to use it?
I don’t want to come to any conclusions, but I doubt a majority of Roblox users verify their accounts, and in that case you’re basically gating off a large majority of users, especially if you’re using this to block players from even playing the experience in the first place.
This is definitely useful for specific experiences that aren’t intended to get large concurrent players, but other than that I feel like using this would be a detriment to an experience overall.
it doesn’t seem to be possible to remove the hat, at least not with the roblox ui. there’s only a remove from profile button:
I forgot it was with gamepasses.
just use your phone number, read the post
Since it doesn’t affect a wide enough audience for me, I probably won’t be using this feature unfortunately! However, this is definitely a start for players to be more responsible.
This will also reduce the amount of players that are able to play games that use this feature, while it is a great feature and a great start to holding players accountable for their behaviour the fact that games will lose players will deter them from using this feature.
On another note, does Roblox have any plans for the future prevention of bad actors?
Why is this a boolean? Who thought of that?
An Enumeration of the status of the user’s verification would be nice. Or more booleans. It would be nice to determine if they have an email verified or not.