How do I check if a Player Bought my game's VIP server?

How do I check if a Player Bought my game’s VIP server?

Things I need to know

How do I check if the Player bought a (or multiple) VIP server(s)?

How do I check if the VIP server is active? (not expired)

How do I check if the VIP automatic renewal is active


I also want to know how I can check if someone bought my game when it's paid access. (I found out how for this one)

so after my game’s is fully release I’ll turn of paid access and enable VIP servers, that’s why I need to know everything said above.

We need a way to check if someone is part of a game's paid access

& also

Thanks

2 Likes

As far as I know, none of these are possible at the current time without the use of a proxy. You can check if they are in a vip server though.

Check if they own the game via MarketPlaceService:PlayerOwnsAsset(placeId). Should return true for the creator of the game as well as anyone who bought it while it was paid access.

I’m pretty sure it’s possible I seen it done before, someone who knows how will eventually show up.

It doesn’t have to be an official way given to us by Roblox, possibly by using HTTP service thingy.

1 Like

While the method in my post is good for paid access, for VIP servers you’d need to get the game.PrivateServerOwnerId and use that in the DataStore as the key. If the game is a VIP server, that property will be someone’s UserId.

So using this?

https://devforum.roblox.com/t/is-there-any-way-for-a-reserved-server-to-tell-that-its-reserved/60893/2


So I need the VIP server owner to get into their VIP server first to verify if they own one or not.

^ That answers this v

“How do I check if the Player bought a (or multiple) VIP server(s)?”


I need still a solution for those two questions

I don’t think it’s possible to check those at this stage.

I seen it done before, specifically from Roblox+ Extension

If it can only do it in terms of your VIP servers, it’s probably just checking the contents of the page. I could be wrong, though.

Easy: you don’t.


How do I check if the Player bought a (or multiple) VIP server(s)?

You have no way of knowing whether a player purchased a VIP server or not, only whether they’re in a VIP server or not. You could probably set up a data store of some kind to log servers that they own, but this isn’t reliable at all. You can hard code in a check but then again, you don’t know if they joined the server immediately after purchasing it or how long they have left. You also can’t assume that the server’s expired and remove it from the data store if a teleport to the server fails. I say teleport because otherwise you have that server hanging in the data store forever if you don’t interact with it.

In short: You can’t check this.


How do I check if the VIP server is active? (not expired)

You can’t check this either.


How do I check if the VIP automatic renewal is active

You also can’t check this.


I also want to know how I can check if someone bought my game when it’s paid access.

This has already been answered for you, but to reiterate, a player will essentially own your place as an asset if they bought it during paid access. You can check it the same way you’d check if they own another asset.


The Roblox+ extension is different in the way it operates. I’m quite sure it directly changes some website things and used VIP servers as a proxy to purchase features. There is no in-game implementation for this or a way to get this from website to proxy server to game. Keep in mind that WebGL3D is Roblox Staff and probably has backend code access to perform this kind of trickery. I’m not sure that even with a proxy server or Roblox API, you could do this on your own.

It’s an api just for the extension.

https://api.roblox.plus/v1/rpluspremium/“USERID”

2 Likes

I think this is more simple than people think.

I use

return (game.VIPServerId ~= "" and plr.UserId == game.VIPServerOwnerId)

That’s not what OP is asking. OP is asking how to check what servers players bought, if those servers are active and if they have automatic renewal enabled, not how to check if a player is in a VIP server.

None of the aforementioned can be done right now.