Server-side vs client-side anticheat for FiveM: what each can catch
A client-side anticheat runs on each player’s PC and looks for cheats inside the game. A server-side anticheat runs on your FXServer and judges what reaches the server: entities, explosions, damage, movement, events and money. Client-side sees more of the cheater’s machine; server-side checks cannot be read or patched by the cheater.
Disclosure: we build LTX Anticheat (LTX AC), which makes every detection decision on the server. We have tried to describe both approaches fairly, including what server-side detection cannot do. For the wider picture, start with the FiveM anticheat guide.
What does a client-side anticheat see?
A client-side anticheat is code that runs on the player’s PC, next to the game. Because it sits where the cheat sits, it can look for the cheat itself: injected code, modified game files, programs drawing over the game, and input that no human hand produces. It sees causes, not just effects.
That is its big strength. A wallhack or another visual cheat only changes what the cheater sees on their own screen and sends nothing unusual to the server. Only code on the client has any chance of spotting it.
The weaknesses come from the same place. The code ships to every player, including the people who write cheats, so they can download it, study it and adapt. Every update on either side restarts the race, and the vendor has to keep winning it. The checks run on a machine the cheater controls, so anything the client reports has to be treated with some suspicion. And the client part adds load to every player’s PC.
What does a server-side anticheat see?
A server-side anticheat runs as a resource on your FXServer. It sees everything the server receives: entities as they are created, explosions and fires, damage events, positions, speed and health over time, every server event and the data it carries, connection attempts, money and items moving through your framework, and what your staff do.
Its strengths are the mirror image of the client’s weaknesses. The cheater cannot read or patch checks that never leave your server. There is nothing for players to download, and nothing to update on their side. And the server can judge each action with context it already holds: where it happened, at whom, for how long, with which model or weapon, and which of your resources was involved.
Its weaknesses are just as real. A server-side check is blind to anything that never leaves the cheater’s PC, which includes visual cheats and a menu that sits open but idle. It sees an aimbot only through the damage it causes. It depends on OneSync. And because your own scripts teleport players, heal them and spawn vehicles, it needs a good picture of your server to avoid false bans.
Why does OneSync matter for a FiveM anticheat?
Without OneSync, FiveM uses GTA’s original peer-to-peer model: players’ games exchange entity data and the server mostly relays it. The server cannot see most of what is happening, so there is very little for a server-side check to judge.
With set onesync on, the server has full state awareness and decides which players receive which entities. That is what makes server-side detection possible. Server scripts get game events such as entityCreating and explosionEvent and can cancel them before other players see anything, and settings like sv_entityLockdown and sv_stateBagStrictMode let the server refuse what clients should not do in the first place.
That is why many server-side protections, LTX Anticheat among them, require OneSync. The OneSync and server settings section of our guide explains each of those settings and what to test before you turn it on.
Side by side: what each approach can catch
| Question | Client-side | Server-side |
|---|---|---|
| Where it runs | On each player’s PC | On your FXServer |
| Can cheat developers study the checks? | Yes: the code ships to every player | No: the checks never leave your server |
| Injected mod menus and executors | Can look for the menu itself | Sees only what the menu does |
| Entity and explosion spam | Sees it locally and has to report it | Sees every networked entity and explosion and can cancel it (OneSync) |
| Event and trigger abuse | Limited: the cheat controls the machine | Sees every event, its sender and its data |
| Money and item exploits | Limited | Sees changes through your framework |
| Teleport, noclip, godmode, speed | Can watch local game state | Sees position, speed and health over time |
| Aimbot | Can look for aim assistance in the game | Sees damage events and their context |
| Wallhacks and other visual cheats | Can look for them | Cannot see them |
| Crash and join floods | Limited | Sees oversized events and bursts of connections |
| Where the load lands | On every player’s PC | On your server: measure resmon |
| What drives updates | Every new cheat release | Mostly changes to FiveM and to your own scripts |
“Limited” means a client-side check may notice something locally, but the result comes from a machine the cheater controls, so the server still has to confirm it.
What about hybrid anticheats?
Most paid FiveM anticheats are hybrids: a client module that looks for cheats on the player’s PC, plus server checks. Of the eight options in our FiveM anticheat comparison, most say they run on both the client and the server.
A hybrid gives the widest coverage, including a chance against visual cheats. It also inherits the client-side costs: code that cheat developers can study, a constant update race, and load on every player’s PC. When you evaluate one, ask which part makes the ban decision. A hybrid that treats client reports as hints and confirms them on the server is a very different product from one that bans on a client report alone.
Where does evidence capture fit?
There is a third role that is easy to confuse with client-side detection: capturing evidence. Code on the client can record what a player’s screen showed without deciding anything about it. Detection answers “is this cheating?”; evidence answers “what did it look like?” for the staff member who has to review it.
This is how LTX Anticheat is built. Every detection decision is made on the server. The small client script makes no detection decisions: it keeps a short rolling video buffer of the player’s screen in the player’s memory, the last 15–20 seconds at 854×480 and 10 fps, and uploads it only when the server reaches a decision about that player (a ban, kick, warning, test-mode decision or staff decision), with one screenshot per decision. It also runs the in-game staff menu for authorised admins and reports to the server.
Staff can also watch a player’s screen live with Live View, in a grid of up to 36 screens. The player is not notified, and every live view started in the panel is audit-logged. If you run it, you must tell your players in your server rules or privacy notice; our privacy policy sets out what is recorded.
Which should you choose?
Choose a server-side-first anticheat if you run a roleplay server with OneSync, your biggest problems are spawns, explosions, abused events and economy exploits, you want detection logic that cheat developers cannot download, and you want every automatic ban to be explainable to your staff and your players.
Choose a hybrid if visual cheats in competitive fights are your main problem and you accept client code on every player’s PC, with the update race that comes with it.
Either way, harden your events and platform settings first. No anticheat makes up for a server event that pays out whatever amount the client asks for. And whichever product you pick, measure its resmon on your own server.
If you are leaning server-side, check that your framework and inventory are supported before anything else: QBCore, Qbox and ESX compatibility covers what LTX AC, our server-side FiveM anticheat, needs.
Questions server owners ask
Can a server-side anticheat detect aimbot?
Not the aim assistance itself, which runs on the cheater’s PC. It sees the damage that results and can judge it with context: from where, at whom, with which weapon. That catches the obvious cases; subtle aim assistance is hard to prove from the server alone.
Can a server-side anticheat detect mod menus?
It cannot see the menu, but it sees what the menu does: spawned entities, explosions, abused events, impossible movement, money changes. Most of the damage a menu causes on a roleplay server comes from those effects.
Is client-side detection more accurate?
Not automatically. It sees more of the cheater’s machine, but its reports come from a machine the cheater controls. Accuracy depends far more on what has to be true before a product bans someone, and whether your staff can review the evidence.
Does a server-side anticheat need OneSync?
In practice, yes. Without OneSync the server does not know about most entities and cannot cancel spawns or explosions. LTX Anticheat requires OneSync.
Does LTX Anticheat run anything on the player’s PC?
Yes, a small client script. It captures evidence, runs the in-game staff menu for authorised admins and reports to the server. It makes no detection decisions; those are all made on the server.
Talk to the team
Licensing, onboarding and support for LTX Anticheat run through Discord. Compare the options first, or check that your server is compatible.