Get a license

Guide

How to stop cheaters on your FiveM server

To stop cheaters on a FiveM server, lock down your own server events first, then run an anti-cheat that confirms every report on the server and keeps evidence for each ban. API-AntiCheat does the second part for 19.99 EUR a month, and the steps below work with any anti-cheat.

How to spot a cheater

What you seeIt can also beWhat to do
A player flies or goes through wallsAdmin noclip, a lag spikeCheck if they're staff, then watch their screen
Cars or props appear from nowhereA job or garage scriptFind out which script spawned them
A player takes no damageAn admin, or a script that sets godmodeWatch a few fights before you act
Shots land through cover again and againA good player, desyncTake a screenshot and ask for a PC check
Money or items out of nowhereA server event anyone can callFix the event on the server, then ban

One clip is never enough. Lag and scripts cause the same signs, so look for a pattern.

1. Lock down your server events

Most FiveM cheaters don't need anything clever. They call your own server events with their own arguments: give money, give items, revive, open a stash. Every server event should check who sent it and whether that player is allowed to do it, by job, distance or cooldown, before it does anything.

Never trust a price, an amount or a target that comes from the client. Work it out on the server.

2. Run an anti-cheat that confirms on the server

Cheats can fake what the game reports, and lag can look like a teleport. An anti-cheat that bans on the client's word alone will sooner or later ban someone for lag. Pick one where the server confirms a report before anyone is punished.

Compare the paid options, see FiveGuard and WaveShield head to head, or start with a free one on a small server. API-AntiCheat costs 19.99 EUR a month.

3. Tell the anti-cheat what your scripts do

Job scripts teleport players, garages spawn cars and admin menus hand out weapons. If the anti-cheat doesn't know about it, it treats them as cheats. In API-AntiCheat a script calls an export such as hasTeleported or giveWeapon first. The full list is in the exports docs.

4. Start with logs, then turn on bans

Set new detections to log and watch what they catch on your server for a few days. When nothing legit shows up, switch them to kick or ban. In API-AntiCheat you change it in the panel and it applies without a restart, see configuration.

5. Check suspicious players

Take a screenshot, watch the player on the live map and open their player card: bans from servers that share theirs, and cheat Discords the player is in. If you're still not sure, ask for a PC check. The player gets a code for a small Windows app, and once they agree, it scans for cheat software and DMA hardware. How the PC check works.

6. Ban with evidence and let players appeal

Every ban needs a reason and a screenshot. Ban on every identifier and hardware token the player has. The license alone isn't enough, because a fresh Rockstar account gets them back in. API-AntiCheat does both by default.

Let players appeal. Appeals catch the odd false ban before it turns into drama on your Discord. In API-AntiCheat players appeal from the link in the ban message, see bans and appeals.

Questions

How do I know if a player is cheating on FiveM?

Look for things that repeat and that scripts or lag can't explain: teleports, spawned cars, no damage. Confirm it with a screenshot, a clip or a PC check before you ban.

Should I ban on the first detection?

No. One detection can be lag or a script. Ban when it repeats or when a screenshot shows the cheat.

Can a cheater come back on a new account?

They'll try. Ban on every identifier and hardware token, and a new Rockstar account won't be enough.

Can I check a player's PC for cheats?

Yes, with their consent. API-AntiCheat gives the player a code for a small Windows app, and the report lands in your panel.

Do I need an anti-cheat if my scripts are secure?

Secure events stop money and item exploits, but they don't stop mod menus, aimbots or noclip on the player's PC. You need both.

More from us