This project is a comprehensive Roblox Admin Commands System based on the new BanAPI. It includes functionalities for banning and unbanning players, checking player ban history, and retrieving player IDs, all integrated with Discord for notification and logging purposes.
-
Temporarily or permanently ban players with a reason.
-
Remove bans from players.
-
Retrieve the ban history log file of a player.
-
Retrieve a player's ID based on their username.
-
Sends notifications to a Discord webhook for all actions.
0.
Download the module from here
1.
Place AdminModule ModuleScript in the ReplicatedStorage.
2.
Place AdminModuleCommandHandler ServerScript in the ServerScriptService.
3.
Place AdminModule ScreenGui in the StarterGui.
4.
Edit the Config ModuleScript.
5.
Make sure that files are placed correctly, like in the screenshot:
/ban <PlayerID> <Duration> <Reason>
PlayerID
- The ID of the player to be banned. [REQUIRED]
Duration
- The duration of the ban (e.g., 10s, 5m, 2h, 1d). Use -1 for permanent ban. [OPTIONAL]
Reason
- The reason for the ban. [OPTIONAL]
/unban <PlayerID>
PlayerID
- The ID of the player to be unbanned. [REQUIRED]
/checkhistory <PlayerID>
PlayerID
- The ID of the player whose ban history you want to check. [REQUIRED]
/getid <Username>
Username
- The username of the player whose ID you want to retrieve. [REQUIRED]
To ban a player with ID 12345 for 10 minutes with the reason Spamming, an admin would type:
/ban 12345 10m Spamming
Updated version
GUI
This project is licensed under the MIT License - see the LICENSE file for details.
Written by Begi
Special thanks to the Roblox Developer Community for the continuous support and resources.