Entity lockdown
Also called sv_entityLockdown
A OneSync setting that stops clients from creating networked entities themselves, closing one of the main routes for spawn-based cheating.
Entity lockdown controls whether clients are allowed to create networked entities. It is set with the sv_entityLockdown convar and requires OneSync. The modes are:
inactive: the default, clients may create entities freely.relaxed: entities created by client scripts are blocked, but the game's own population such as ambient traffic still works.strict: clients cannot create any networked entities; the server must create everything.
The reason to use it is cheating. A large share of visible abuse on FiveM servers is a modified client spawning vehicles, props or peds that every other player then sees. With lockdown on, those spawns are simply not networked.
The cost is that your resources must spawn things server-side. Many older scripts call CreateVehicle or CreateObject on the client and will break under lockdown. The fix is to move the spawn to the server with the server-side CreateVehicleServerSetter or equivalent, then hand the network ID to the client. Audit scripts on a staging server with lockdown enabled before turning it on in production.
Lockdown can also be applied per routing bucket with SetRoutingBucketEntityLockdownMode, which is useful if one area such as a test world still needs client spawns.
Entity lockdown is one layer of anticheat, not a complete solution. It does not stop teleporting, god mode or event abuse. Combined with server-side validation of events and money, it removes a whole category of disruption players notice immediately.
Related terms
Trying to get your server seen?
The live leaderboard shows what the numbers look like at the top of the list, and the upvote calculator turns a target server into a campaign size. The full glossary is here.