Hot Summer Deals are Here!
Celebrate with up to 99% off on 17,700 resources
01
Days
05
Hours
03
Mins
51
Secs

Website Registration System

Status
This thread has been locked.

felldownstairs

Gypsy Boy | Java Developer
Supreme
Feedback score
4
Posts
783
Reactions
144
Resources
0
If anyone could help me with a way this might work, that would be great thanks. P.S, I'm not asking for the code behind it, just the way it would work.

So I've been trying to think about how a system like Velt's registration would work. Like you use /register in-game, and that gives you your account on the forum.
I was thinking something like: Player uses /register <email>. It logs the player's uuid, name, email and IP to a database like mysql or mongo (not sure which is better), then someone gets en email from the network, or they access the register page themselves, and if their ip is stored in the database, then it loads the emails and usernames linked with that ip where you select which account you are registering (in case 2 people are on the same network), then you select a password for that account, which then links to web stuff i don't really need to explain.

Not sure if this system would work or not. Any suggestions to how a system like this might work, would be excellent, thanks.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Zyger

Middleman
Supreme
Feedback score
414
Posts
2,209
Reactions
2,615
Resources
0
1) /register [email protected]
2) Store the details you want in the database
3) Send an automatically generated password for the account via email
4) Prompt them to change their password after they log in.

There's no need to over-complicate it by using IPs.

EDIT: You could also just skip the automatically generated password and prompt them to set a password as soon as they click on the link from the email, which would be easier.
 
Last edited:
Status
This thread has been locked.
Top