Nuclear Anticheat

Documentation

How to install and configure Nuclear Anticheat. This matches the current build — see the changelog for what's new.

Overview

Nuclear Anticheat is a server-authoritative FiveM resource: every check reads positions, health and events from the server's own view of the world, never from the client. The current build (see the changelog for the version number) covers twenty-seven detections, a response per detection, a real shadow ban, shared bans, a web control panel, and alerts to a Discord webhook you control.

This is an early build. Read Current limitations before relying on it for anything beyond testing.

Install

  1. Download the resource from your client area (Setup tab) — requires an active license.
  2. Put the extracted folder in your server's resources directory, named nuclear.
  3. Add your key and the resource to server.cfg:
    set nuclear_license "NAC-XXXXX-XXXXX-XXXXX-XXXXX"
    ensure nuclear
  4. Give staff the right to release/ban players flagged by the anticheat:
    exec @nuclear/permissions.cfg
    add_principal group.admin group.nuclear
  5. Start your server, then open the control panel. Everything is set up there.
Leave every check on log for a few days before switching anything to kick, shadowban or ban. Thresholds are generous defaults, not tuned to your server's traffic yet.

License key

Get a key from the pricing page or a ticket on Discord, then either:

  • Run /redeem in the Discord server to link it to your account, or
  • Paste it directly in your client area.

Put the key in server.cfg, before ensure nuclear:

set nuclear_license "NAC-XXXXX-XXXXX-XXXXX-XXXXX"

The resource checks the key on boot and again every 15 minutes. Moving a license to a different server unbinds it from the old one first — do that from the client area, or ask in a ticket.

Detections & responses

Every check below is live. Each has its own response, set independently in the control panel:

CheckWhat it looks atKey tuning value
teleportDistance moved between two position samplesteleportMeters
speedSustained speed on foot or in a vehiclemaxOnFootSpeed / maxVehicleSpeed
healthJumpHealth + armor increasing faster than any regenhealthJumpPoints
explosionSpamExplosions triggered by one player in a time windowexplosionWindowMs / explosionMax
entitySpam v0.6.0Vehicles/objects one player creates in a time window (spawn-loop abuse)entitySpamWindowMs / entitySpamMax
weaponBlacklist v0.7.0A blacklisted weapon held or firedthe blacklist
explosionType v0.7.0Explosions of a blacklisted typethe blacklist
modelBlacklist v0.7.0Blacklisted models being spawnedthe blacklist
honeypot v0.7.0A client calling a decoy eventthe honeypot list
weaponGive v0.7.0A weapon pushed onto another playerBlock blacklisted actions
taskClear v0.7.0Another player's tasks forced offBlock blacklisted actions
ptfxSpam v0.7.0Particle effects from one player in a time windowptfxWindowMs / ptfxMax
godmode v0.7.0Immune to damage: invincibility flags, a 1 HP damage check, and hits from other players that cost no healthagentSustainSamples
invisible v0.7.0Hidden ped while moving, sustained for 30s (client agent)agentSustainSamples
spectate v0.7.0Spectator mode active, sustained for 30s (client agent)agentSustainSamples
injectedResource v0.7.0A client resource your server doesn't havethe allowed client resources list
blacklistedResource v1.0.2A client resource matching a name you've blacklistedthe blacklisted resources list
agentStopped v0.7.0The client agent stops answering, or never startsagentTimeoutMs / agentGraceMs
freecam v1.2.0The camera stays far from the player for 20 seconds, outside cutscenesfreecamMeters / freecamSamples
superJump v1.2.0Super jump, read from the serversuperJumpSamples
silentAim v1.2.0Hits on players behind or beside the shootersilentAimAngle / silentAimHits
infiniteAmmo v1.2.0Shots that never lower the ammo countammoShots
aimbot v0.8.0Headshot rate over a player's last hits on other playersaimWindowHits / aimHeadRatio
damageModifier v0.8.0Weapon and melee multipliers on the server's view of the playermaxDamageModifier
noclip v0.8.0Flying on foot for 8 seconds (client agent)noclipSamples
vehicleBoost v0.8.0Engine power multiplied, or twice the top speed of the model for 4 seconds (client agent)maxVehiclePower
eventFlood v0.8.0A protected event called too often by one playerthe protected events list
vehicleGodmode v1.3.0The driven vehicle cannot be damaged or is fully proof for 20 seconds (client agent), or takes 15 hits from other players without damage (server)vehicleGodSamples / vehicleGodHits
vehicleFly v1.3.0A car held 8 m or more above the ground for 6 seconds without falling (client agent)vehicleFlyMeters / vehicleFlySamples
magicBullet v1.4.03 hits on players from farther than the weapon reaches, within 10 secondsmaxHitMeters / longHitMeters
meleeReach v1.4.02 melee hits on players from more than 10 m, within 10 secondsmeleeReachMeters / meleeReachHits
visionHack v1.4.0Thermal or night vision on foot for 15 seconds, outside a scope or a vehicle camera (client agent)visionSamples
massKill v1.4.16 different players killed by one player within 15 seconds, spread over 3 seconds or moremassKillTargets / massKillWindowMs
agentTamper v1.8.03 forged messages to the client agent within 2 minutesagentTamperHits
positionSpoof v1.8.0The client reports a position 50 m or more away from the server view, 3 answers in a rowpositionSpoofMeters / positionSpoofSamples
resourceStopped v1.8.1A resource the client was running stays stopped on it for 60 seconds while the server runs it (client agent)resourceStoppedMs

Each one is set in Settings to log, kick, shadowban or ban:

entitySpam is attributed server-side only: it counts vehicles/objects via FXServer's own entityCreated event and NetworkGetEntityOwner, excludes peds and unowned/world entities, and defaults generous (30 per 10s per player) so normal play doesn't trip it.

Turn on Block blacklisted actions to also cancel the weapon damage, explosion, spawn or forced action instead of only reporting it. Review the blacklists in the control panel first, and remove anything your server legitimately uses.

Private diagnostics

Point the staff logs webhook at a staff-only channel, since it contains player identifiers. You get every detection with its full context, ignored detections with their reason, agent activity, bans, and a recap every hour.

Confidence and reputation

Each alert carries a confidence level built from the different detections on a player in the last 5 minutes. Tune it with the detection weights, and set Response at high confidence to act on high confidence automatically. Reputation is kept per license, fades with a 7-day half-life, and is shown by /nuclear:history.

Shared bans

Turn on Shared bans in the panel. A ban reaches all of them within a minute, unbans included, and stays private to your account.

Screenshot evidence

Install screenshot-basic and set the staff logs webhook. Incidents at evidenceMinConfidence or above then send a screenshot to that channel, and /nuclear:shot <id> takes one on demand.

Simulation mode

Turn on Simulation mode to keep every response on log with nothing blocked. Each alert then says what would have happened, so you can test stricter responses on a live server.

Event firewall

List your sensitive server events in the panel, with a limit per player:

esx:giveInventoryItem 5 10000

Client agent

The agent is sent to players after they join and needs no setup. It only reports: every decision stays on the server. The server pings each agent every 30 seconds with a fresh nonce, so a stopped agent is a detection on its own.

Blacklisted resources

injectedResource flags any client resource your server doesn't recognize — a useful catch-all, but not proof by itself: an admin who forgot to allow-list a harmless custom resource trips the exact same flag. The blacklisted resources list in the panel is for names you've actually caught: a resource you personally identified as an executor or mod menu from a real incident. A match there is treated as a stronger signal and wins over injectedResource when a name matches both. Matching is exact and case-insensitive, not a pattern, so a renamed or randomized injector still only gets caught by injectedResource — which is why both checks run together. We don't ship any names in this list: add them as you find them. Run /nuclear:resources <id> to see what a given player's client last reported, in-game and in the console.

Staff and scripted teleports

Give staff the bypass ACE so noclip and staff teleports don't raise alerts:

add_ace group.admin nuclear.bypass allow

If your staff system doesn't use ACE, exempt them from your own script:

exports['nuclear-anticheat']:SetBypass(source, true)

Scripts that move a player on purpose can announce it:

exports['nuclear-anticheat']:AllowTeleport(source, 15) -- seconds

Shadow ban & bans

A shadow ban moves the player into their own isolated routing bucket: they stay connected but see and affect nobody else. Staff review the Discord alert, then run:

/nuclear:release <id>   -- return them to the main instance
/nuclear:ban <id> <reason>   -- ban them
/nuclear:unban <identifier or ban id>   -- lift a whole ban
/nuclear:status   -- version, license, checks, live agents
/nuclear:case     -- a case: who, what, when, and whether the ban is active
/nuclear:recent   -- the last detections since the server started
/nuclear:alerts   -- on, kick, ban or off: which alerts you get in game
/nuclear:ban <id> 7d <reason>  -- a ban that ends on its own: 30m, 12h, 7d, 2w
/nuclear:player <id>   -- trust score and detections this session
/nuclear:history <id or license:...>   -- history across sessions

<id> is the session ID by default. If your server has permanent IDs, numbers or text, pick your source under Permanent IDs: QBCore works in one click, and any other system through its exports. Every command then takes the permanent ID, and alerts show it as #12.

Bans cover identifiers and hardware tokens, so a new account on the same PC stays banned (Hardware bans). They are stored locally per server (data/bans.json). Turn on Shared bans to sync them between your servers, or move them by hand: /nuclear:banexport writes the list to a file, /nuclear:banimport merges one back in on another server, /nuclear:banlist shows what's there.

Discord alerts

Create a webhook in your own Discord server (Channel settings → Integrations → Webhooks) and paste the URL under Discord in the control panel.

Your server posts straight to that webhook, and the panel stores the URL encrypted. If you remove the webhook, alerts simply stop.

Updates & protection

What you install is a small launcher. The anticheat arrives from the API at each start and stays in memory, so restarting your server is all an update takes. The resource is locked: nothing in it needs editing, and a changed file gets refused until you download it again. Every setting lives in the control panel and reaches your servers within 15 seconds.

Every license receives its own build. Read how the protection works.

Current limitations

Matches the current build exactly — nothing here is hidden:

  • ESP and overlay detection are not in yet.
  • The event firewall guards one networked event (explosions) and, since v0.3.0, throttles repeat alerts/actions per detection — it's still not a general-purpose server-event validator.
  • No video clips yet.
  • Your server needs to reach the Nuclear API when it starts: if it can't, the launcher keeps trying and connections go through without protection until it answers.

Reporting a false positive

In the Control panel, open Detections and press False positive on the line. It tells us what happened with the numbers we need, and it helps tune the thresholds for everyone. For anything more, open a ticket on Discord with the detection, the player and what they were actually doing.

Stuck on something?

Open a ticket — customers get a dedicated support channel.

Open Discord