sv_disableclientreplays is a FiveM server convar that disables the Rockstar Editor replay system on connected clients. Server owners add it to server.cfg to prevent memory injection attacks that abuse the replay buffer, and to avoid client crashes related to the editor.
What It Does
When you add this line to server.cfg:
set sv_disableclientreplays true
Or:
set sv_disableclientreplays 1
It tells the FiveM client to disable the internal Rockstar Editor replay recording system. The client no longer captures replay frames in memory.
Why Server Owners Use It
Preventing Memory Exploits
The Rockstar Editor replay buffer allocates a block of memory to record recent gameplay. Cheat developers have found ways to hijack this memory space to inject unauthorized Lua payloads or bypass client-side protections. Disabling replays removes this attack surface.
Preventing Client Crashes
On certain FiveM builds (notably build 3258 and some earlier versions), opening the Rockstar Editor while connected to a FiveM server causes the client to crash. The crash happens because FiveM modifies GTA V rendering in ways that conflict with the replay renderer. Setting sv_disableclientreplays prevents players from triggering this crash.
Reducing Client Memory Usage
Replay recording consumes memory. On clients with limited RAM (8 GB or less), disabling replays frees memory for custom assets, MLOs, clothing packs, and scripts.
How to Set It
Add one of these lines to your server.cfg:
set sv_disableclientreplays true
Or use setr for a replicated convar:
setr sv_disableclientreplays 1
Both true and 1 are accepted values.
Restart the server after editing server.cfg.
Side Effects
Players cannot use the Rockstar Editor. If your community uses the editor for cinematic content, machinima, or screenshots, disabling replays removes that feature.
Some anti-cheat systems rely on replay data. A few server-side anti-cheat solutions sample replay frames for validation. Check with your anti-cheat developer before enabling this convar.
Build-specific crashes. On FiveM build 3258, disabling replays is recommended because leaving them enabled triggers crashes. On newer canary or production builds, the crash may be fixed, but most server owners keep the convar enabled as a precaution.
Does It Affect Server Performance?
No. sv_disableclientreplays is a client-side instruction. It does not change server CPU, RAM, or TPS. The server simply tells connecting clients to disable replay recording.
Common Configurations
Here is how most production RP servers set it alongside other security convars:
# Security settings
set sv_disableclientreplays true
set sv_scriptHookAllowed false
set sv_endpointPrivacy true
FAQ
What does sv_disableclientreplays 1 do in FiveM? It disables the Rockstar Editor replay recording on clients connected to your server. This prevents memory exploits and client crashes.
Does sv_disableclientreplays affect server performance? No. It only affects the client.
Should I set sv_disableclientreplays to true or 1? Either works. Both values disable client replays.
Can players still take screenshots with sv_disableclientreplays enabled? Yes. Screenshots are separate from the replay system. Only the Rockstar Editor replay recording is disabled.
Does sv_disableclientreplays prevent all exploits? No. It prevents exploits that specifically target the replay buffer memory. Use it alongside other security convars and a server-side anti-cheat.
Related: FiveM server keeps crashing, FiveM fxmanifest.lua guide, FiveM server.cfg basics