FiveM AntiCheat
Protect your FiveM server with a lightweight, server-side anti-cheat that blocks exploits like super punch, event abuse,...
Key Features
Works with ESX • QBCore • Qbox
What's included:
- Full script files
- Configuration files
- Installation documentation
- Lifetime updates
- Discord support
Overview
Looking for an anti-cheat that just works? Say goodbye to the most common exploits and cheater tricks with this lightweight, effective, hassle-free and affordable solution. No unnecessary bloat, just smart protection against the annoying stuff that ruins gameplay.
This script is an improved and refactored version of the anticheat I personally used for over 5 years on my own server, making it well-tested and reliable.
Key Features
🚨 Integrated ban system: Comes with its own ban system that stores bans in the database. Also provides the possibility to integrate with your own ban system.
✋ Super punch prevention: Blocks overpowered melee attacks. Also known as super punch.
🛠️ Entity spam detection: Detects and blocks players from spam-spawning vehicles, objects, or peds. Includes custom limits for specific models and entity types.
🛑 Blocked event protection: Preloaded with a list of server-side events to block, banning players who try to trigger unauthorized actions like fake job payments.
🔒 Model blocking: Automatically cancels or bans players attempting to spawn restricted props, vehicles, or peds. Includes a curated list of 841 blocked models.
👊 Weapon event protection: Prevents players from giving or removing weapons to others players using specific natives.
📊 Performance optimized: Built with efficiency in mind, ensuring your server runs smoothly, while protecting against cheaters.
⚙️ Fully customizable: Customize the anticheat to your needs: set bans, logs, or other actions for different violations.
🎯 Advanced banning system: Tracks and bans players using multiple identifiers, including tokens. Updates bans dynamically when cheaters rejoin while banned.
💡 Framework independent: Works with any server framework.
💻 Fully server side: All detection is handled on the server.
Available commands
/gs_ban [playerId] - Ban a player by their server ID, with an optional reason./gs_refreshbans - Reloads all bans from the database. Useful if you've added or removed bans manually./gs_removeban [banId] - Unban a player by specifying the ban ID./gs_blockentities [playerId] - Temporarily restrict a player from spawning entities for a specified time./gs_unblockentities [playerId] - Remove restrictions for a player, allowing them to spawn entities again./gs_entitycleanup [playerId] - Clears all entities recently spawned by a specific player.
Installation
- Download the resource from portal.cfx.re (Assets > Granted Assets)
- Extract the files and move the resource folder to your server's resources directory
- Add to server.cfg by adding:
ensure gs_anticheat - Restart your server to load the resource
- Configure (optional) by editing the config.lua file in the resource folder
Configuration
All scripts include easy-to-edit configuration files. Common settings include:
- Language/localization options
- Feature toggles
- Price and economy settings
- Notification preferences
Escrow vs Source: Which Should You Choose?
Escrow (Encrypted)
Best for server owners who want plug-and-play functionality.
- Protected code files
- Easy configuration via config files
- Same features as source version
Source (Unencrypted)
Best for developers who need full customization.
- 100% editable code
- Full customization freedom
- Same features as escrow version
Same features; editability differs.