Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I make codes for my private server system?

I'm trying to make a system where you can create a private server wich has a code so you can give the code to people so they can use it to join your private server but JobIDs and the Access Code from reserved servers are too long so ¿Is there another way to join by special codes?

Any help would be appreciated.

1 answer

You can utilise MessagingService and also use string.sub to shorten the access code. You can store all this data in a dictionary such as:

local privateServers = {
	["InediblesServer"] = {
		["AccessCode"] = "3123123",
		["ServerId"] = "1231231231",
		["Password"] = "inediblenoob",
	}
}

1 comment

0

Seems like a good idea so imma play around with it.

This discussion is preserved as it was. New answers, comments, and votes are closed.