The game I’m creating is a social game. It’s going to have huge amounts of land, level systems, custom characters, custom chat systems and so on. I want it to be it’s own thing with that ‘modern roblox’ feel.
My game since the beginning I always connected it to be a F2P MMORPG but with a ‘subscription’ feature that gives membership to the user, doesn’t overpower what they can do, gives them the entire game without making non-members feel THAT left out and so on so forth.
I think it was Ripulls game I saw that had something like this implemented, but I reckon it’d be really hard.
Why doesn’t roblox support this? They could get notifications in their inbox, for example : You’re recurring “TITLE” from “GAME TITLE” will be renewed in 3 days. Click here to manage this."
I think it’d be pretty awesome.
If I were you I would save the time they purchased the membership(save os.time()).
Also whenever they rejoined I would check how many days have passed since they bought their membership(84600*Days). 86400 in 24 hours.
From there on you can do what you want.
It’s actually very possible to do the notification system like you mentioned. All you would need to do is have a website backend which constantly refreshes and if anyone is past the expiration date, send them a ROBLOX message saying so.
What I did for memberships in one of my games is just like @ChuckXZ said, and it works flawlessly. You just gotta get it down right. (I used os.time() instead of tick, fyi)
Also don’t check the server for tick, as it varies by many hours depending on where the server is located. Do it client-side.
Or just use os.time
on the server, like ChuckXZ said. Using tick()
from the client makes it exploitable.
You have to send that information somehow, and people could exploit memberships.
You’ve disappointed me for once. Shame on you!
More on-topic:
You can make VIP servers be “everyone in there has membership”.
You can also make it that when an owner joins a VIP server for the first time, he gets 30d membership.
If he joins the VIP server again after 30d, another 30d membership.
You could say “Rent a VIP server and get free membership”.
Or just use dev products like people said, and use os.time(), a sniff of math and lots of logical thinking.