Download
Roblox: https://create.roblox.com/store/asset/18222722799/Moderation
GitHub: GitHub - RAMPAGELLC/richban: Rich API Ban module for Roblox's ban API.
About
A cool module utilizing roblox’s new ban api. Written by @crn_tl and @vq9o.
Documentation
--[[
➜ ModerationModule:PermbanPlayerAsync()
player: player: Player; or players as userID : {number}
displayreason: reason displayed to the player on ban screen
modnotice: notes for the ban from the moderator. private and only viewable by staff
ApplyToUniverse: applies to universe or place specific {boolean}
returns: boolean (true, false)
➜ ModerationModule:TempbanPlayerAsync()
player: player: Player; or players as userID : {number}
duration: string like 1d, 4d, 1y or numbers in seconds
displayreason: reason displayed to the player on ban screen
modnotice: notes for the ban from the moderator. private and only viewable by staff
ApplyToUniverse: applies to universe or place specific {boolean}
returns: boolean (true, false)
➜ ModerationModule:UnbanPlayerAsync()
player: player userid or players userids
ApplyToUniverse: applies to universe or place specific {boolean}
returns: boolean (true, false)
➜ ModerationModule:GetPlayerBanAsync()
player: player userid or players userids
returns: table {}
]]