INTRODUCTION
Hello everybody, among recent event’s that involves smaller game’s servers being crashed by malicious individuals who have access to botnet’s.
With some API system’s that essentially collect game server’s IP Addresses on ROBLOX - @Vainvorhayn & I have decided to release VainLock [v.1] which is an open-source Game Hub System.
EXAMPLE IMAGE:
HOW IT WORKS
Step 1 - Scroll down in “ServerHandler”, and change where it says GROUPIDHERE to your Game’s Group ID
Step 2 - Change the number next to it, to whichever role ID of the lowest ranked player you would like to allow to make new servers.
The above steps are to make it so only certain individuals can create new servers. Since there is currently no additional code which automatically deletes the servers after they are a certain age with no players, you will want to make sure it’s only highly trusted people. To prevent you from having an absurd amount of servers existing in your hub.
Step 3 - Change:
local placeId = 6924416661
to the placeId of the place you’d like them to be teleported to. (This would be the place that actually has your game located in it, not the hub itself.)
This is how you can create a new place:
BLACKLIST:
Know anybody that will certainly cause malicious actions against your game? Direct yourself to the Blacklist module script. From here you can change it such as so:
ORIGINAL:
return {
players = {
["playeryoudontlike"] = theirid,
},
groups = {
["goupyoudontlike"] = groupid,
},
rankLock = 2
}
COMPLETED EXAMPLE:
return {
players = {
["ClockworkHavoc"] = 464097185,
},
groups = {
["Fedora ®"] = 974432,
},
rankLock = 2
}
“rankLock” is irrelevant as it was a part of a system which would allow you to lock access to server’s to only players that are a certain rank within your community’s ROBLOX group. This may be implemented back into one of the future updates as an easy option to enable.
FURTHER INFORMATION:
It is important to note that this will not completely stop attacks on your servers, as they can still do this manually. However they would then need to join the server manually and then go through files in order to grab the server’s IP. Giving you time to ban their alt before they can rejoin the server. This is an ideal system in order to prevent the attack’s as much as possible.
As noted, servers do not delete themselves over time as they are just saved to the datastore. So please make sure you only give highly trusted individuals access to creating servers.
FUTURE UPDATES
-
Server’s automatically delete after x amount of time of having x amount of players or less in the server.
-
Better control’s including enabling/disabling certain blacklist features with ease.
-
Other features that may be suggested from this devforum post.
DOWNLOAD:
VAINLOCKV1.rbxl (57.7 KB)
CREDITS:
@Vainvorhayn for releasing the original copy of this.
@ClockworkHavoc for modifying the scripts to be compatible for open-source release.
@KleinFalkenhayn for originally providing the code of this to @Vainvorhayn
DISCLAIMER:
All developer’s that have coordinated with the release of this open-source game hub do not accept any donations, and do not intend on accepting any donations in the future for this release. This release is to help provide better security to game’s and protect developer’s work until ROBLOX can find an appropriate way to patch a lot of these issues that small-game developer’s have been experiencing.