How would I approach making an account creation system?

So, I am looking at making a game where you can create an account. But I’m not to sure how to approach it. I know I would have to have it so that the players data saves to the datastore, but how would I actually have it save to the datastore so that the player can log back into their accounts? How would I make it so that the players password, username, birthday, gender, Items in their inventories, etc save into the datastore? How would I make it so that a player can even make an account?

Also is having an account creation system allowed on Roblox? I’ve been able to make a general layout of my game with no problems. I have made a login/sign up page and I haven’t gotten a warning or ban.

(I’m not sure if I’m posting this under the right category, so if I didn’t please let me know)

3 Likes

Don’t do this – you aren’t allowed to collect any personal information (like birthday, gender) anyway and why do this? Players already have a Roblox account so why add an extra layer of accounts for no reason? Additionally, what do you do in the case that the account gets hacked? There is no way for you to guarantee that users don’t use their Roblox password…

4 Likes

I’m not sure if this is possible, but if it is possible it would be really cool.

  • Might take long so you would need to hire someone and pay them. there aint no way someone is gonna do this for free.

edit: what @sjr04 said is very right.

Let me add some more details.

If you made this you would have got a ban, what if a little kid stumbled into the game and was like “Oh put all my info? Okay!”

Like can someone agree to this. Putting your info inside a roblox game is really bad and your account can get banned or something. please dont attempt to do this :expressionless:

Even if you will say “No info will be sent to me, nor others.” still answer our question. why did you even want a login account creation? People might use their password and you can hack anyone.

ight hope you understood me and @sjr04 don’t do this, it isn’t safe.

3 Likes

I think you misunderstood, they said they wanted to create a system where the player can create an account in the game, making a username and password that would be saved to the datastore for future recovery to log in.

I wouldn’t attempt to do this, period.

Why not just use Roblox’s system for that? Besides, OP explicitly stated that they wanted the user’s birthday.

They want to make their own system plus it can be used for some cool projects that i can’t really get the whole idea of yet.

Yeah, our interpretations of the post are both correct (the exact same). My point still stands. It’s completely unnecessary as well as damaging to UX as you’re giving players the responsibility of maintaining another sub-account that is useless since it can only be used in that game, especially when they already have a Roblox account that is uniquely identified.

1 Like

I’m asking why he’s doing this, not what he is doing.

Forgot to say this but by saving the users birthday they mean the birthday players selected in THEIR system

It could be for a project of making some kind of roblox bank where you can login and check, recieve transactions as long as you have the username and password you created on the system; no matter what roblox account your on

Transactions on by the game (Forgot to state this)

I don’t think it’s a good idea. Even if you are attempting to make accounts for the game, it is an odd idea that would probably not work out in the end, because Roblox would most likely put a stop to it.

2 Likes

This is against ToS to ask users for personal information.

Oh, I did not know that; might have to go over guidelines again :sweat_smile:

1 Like

You cannot create an account creation system within your game which asks for age, gender, etc. However, you can make a “login” system with username only. I say “login” because it is not an actual login, but goes something like this:

  • A script identifies the local user’s username and makes that the text on the username input text box
  • The local user hits login which then displays your desired interface.

or

  • The user can input their username in a text box
  • The user hits login and then displays your desired interface

There are also more complex and interactive ways to do this, but I think this gives you a rough idea on where to start.