CustomVIP is a module which is used to create custom in-game VIP servers separate from the Roblox VIP servers, but more customizable by you, similar to AUT and ER:LC.
Generate a server from in-game with a assigned server owner.
Receive a code that works for anyone cross server to join the Private Server
Features To Be Added
Multiple pricing options per server!
How To Use
-- Use a Script, NOT a LocalScript
local customVIP = require(path.to.model)
customVIP.PromptPurchase(playerInstance) -- Prompts the player to purchase a VIP server (will automatically create a VIP server once purchase is complete)
customVIP.CreateServer(playerInstance) -- To create a VIP server manually, returns the server info such as the code!
customVIP.GetServerInfo(plr) -- Returns the player's private server info IF it exists
customVIP.TeleportToServer(plr,serverCode) -- Teleports the player to the private server if the code is valid
-- In order to change the settings, there is a file called Config inside the module.
It’s surprising how little lines of code the actual module is, I expected at least 250 lines of code! The code looks pretty clean overall, but comments would make it a lot easier to read for newer developers, overall pretty nice, I might use it, very cool!
EDIT: I like how you made the configs module, you just returns a table instead of doing this:
I’m not sure if there are better open source alternatives to this, there might be, but they probably have a lot more lines of code, causing confusion to new developers, so this might be the best one there is for the average developer. I’m pretty certain that the module works at least most of the time, because @TheBrainy06 wouldn’t have made this post have the #resources:community-resources category if it didn’t work.