Skip to content

Latest commit

 

History

History
87 lines (51 loc) · 2.42 KB

README.md

File metadata and controls

87 lines (51 loc) · 2.42 KB

Admin Module

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.

Features

- 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.

Installation

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:

image

Usage

/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]

Example

To ban a player with ID 12345 for 10 minutes with the reason Spamming, an admin would type:

/ban 12345 10m Spamming

Log Example

image

Updated version

image

GUI

image

License

This project is licensed under the MIT License - see the LICENSE file for details.

Credits

Written by Begi

Special thanks to the Roblox Developer Community for the continuous support and resources.