[ESX/QB/STANDALONE] Advanced Ban System

External Advanced Ban System

A comprehensive and sleek ban management interface for FiveM servers

Overview

External Ban System provides server administrators with a powerful, user-friendly interface to manage player bans with advanced features including offline banning, ban history tracking, and Discord webhook integration.

Showcase

Banned Screen

Medal_hExxwTeAO4

Non Banned Screen

Medal_Ip7ajxJ5JZ

Ban Message

Main Screen

Offline Ban

Active Bans List

Edit Ban Modal

Past Ban

Past Ban Modal

Features

  • Elegant User Interface: Modern, responsive design with intuitive controls
  • Real-time Ban Management: Ban, unban, and edit existing bans with ease
  • Advanced Player Verification: Detailed connection screens with ban history checks
  • Offline Banning System: Ban players even when they’re not connected
  • Customizable Ban Durations: From hours to permanent bans with a user-friendly selection system
  • Discord Webhook Integration: Automatic notifications for all ban actions
  • Multi-identifier Support: Ban by license, steam, discord, IP, and more
  • Ban Appeal System: Configurable appeal link and information for banned players
  • Admin Permission System: Works with ESX, QB-Core, and ACE permissions
  • Detailed Ban Records: Track ban history and manage all active bans in one place

Usage

  1. Download the latest release from GitHub - kyleabruzzo/external_bansystem: Fivem Advanced Ban System
  2. Configure the webhook URLs in secure_config.lua
  3. Open the interface using the configurable keybind (Default: F10)

Commands

  • /ban [id] [duration] [reason] - Ban a player

    • Example: /ban 1 7d Griefing
    • Duration formats: 1h (hour), 1d (day), 1w (week), 1m (month), 1y (year), perm or permanent
  • /unban [ban_id] - Unban a player

    • Example: /unban ABC-123-XYZ

Configuration

Easily configure the system in the config.lua file:

return {
    Debug = false,
    AdminOnly = true,
    AdminGroups = {"admin", "mod"},
    Keybind = "F10",
    
    IdentifierPriority = {
        "license",
        "steam",
        "discord",
        "ip"
    },
    
    Commands = {
        ban = "ban",
        unban = "unban",
    },
    
    UI = {
        appealInfo = {
            enabled = true,
            discordLink = "https://discord.gg/yourserver",
            showAppealButton = true,
            message = "If you believe this ban was issued by mistake, you may appeal on our Discord server."
        }
    },
}

Connection Verification System

The system features a detailed connection verification process:

  • Professional adaptive cards for player connection experience
  • Automatic ban checks with history tracking
  • Clear ban information display for banned players
  • Appeal button integration for banned players

Requirements

  • oxmysql
  • ESX/QB-Core Framework

Support

Need help or have feature requests? Comment below or reach out via DM

Code is accessible	Yes
Subscription-based	No
Lines (approximately)	~4103
Requirements & dependencies	oxmysql
Support	Yes
4 Likes

nice work, as always <3

1 Like

sometimes its not giving the players in the list

i think only when i stay nearby the player its showing the player but its not showing all the players in the city?

and maybe u can add a function a new section that you can search a player hes name and see his ban history is on his name so you can see what he was banned for before

oh, i will fix this asap :smiley:

Edited
Fixed, re-download the latest version from github :smiley:

1 Like

nice work :heart:

1 Like

Okay i will check it soon nice work btw

Okay is the option fixed to get all players in the server ?

I fixed the second option but the players not

And maybe in the future this would be really nice option to add a function a new section that you can search a player hes name and see his ban history is on his name so you can see what he was banned for before

I’ve added it to the workflow; it will be added as soon as I finish the elevator creator :smiley:

ok so if i understand correctly you have now fixed that you don’t see nearby players but all players in your city by default?

Yes :smiley:

1.0.2 Update Log

UI Update Showcase

Main Screen Before

Main Screen After

Offline Ban Before

Offline Ban After

Active Bans List Before

Active Bans List After

Edit Ban Modal Before

Edit Ban Modal After

New Tab Update

the whole UI is not appearing anymore after banning a specific players.

I’m not facing this type of issue, can you link a video on here? GitHub · Where software is built

yeah sure, the mouse cursor is just appearing, the bansystem ui is not

here’s the video.

when you try to offline ban someone

Hey, I checked the error and this isn’t a script issue. I’ve tested on my server and it works perfectly. Something on your end it’s causing the problem.image

crazy for me if i do this


when i click ban then i get this
{90514E37-A747-4FE4-BEA4-09F3A22B300E}

and now i fixed it by myself!
but its a problem with the tabel timestapts but if i ban now someone offline then i dont see him in past bans?



Because in the past bans you see only the bans that are inactive by the db param is_active = 0

Hi, are there any exports or server events that would allow us to use this system in another system? For example, implementing this ban system in an anti-cheat system?