Module Overview
The modules runs from a controller script and a module with all the dedicated functions and what-not.
Included commands.
local administratorCommands = {
{command = "/tempban ", func = "ban"},
{command = "/kick ", func = "kick"},
{command = "/unban ", func = "unban"},
}
Whitelisted users may use each command by typing them into Roblox’s default chat.
What the Module Provides (Returned Data + Moderation Notes)
Dependant of course on which command is used, the structure looks something like this.
moderationData = {
username = Username, -- User being moderated.
data = {
banlength = Length, -- Moderation time (applies only to /tempban)
moderator = player -- Moderator
}
}
Whitelisting
Whitelist individual users or by their rank in a specific group, whitelisting gives the user access to the commands listed above.
Installation
Easy as inserting then dragging+dropping the provided scripts into the correct locations!
In-Game Usage!
Once you’ve assigned moderators, or have everything setup for yourself, you can get started by typing one of the following commands into the Default Roblox Chat.
Demonstration GIF of the Module in action.
/command _USERNAME -- used for /kick and /unban
/command _USERNAME _PUNISHMENT_TIME -- used for /tempban (/tempban ROBLOX 24)
Take a look for yourself!
You can checkout the model here!
Thank you for reading, hope you all find this useful!