Pure Mode in FiveM: Server-Side File Integrity Enforcement
FiveM Pure Mode explained: sv_pureLevel configuration, allowed vs blocked mods, file integrity checks, and how to enforce fair gameplay on your server.

Running a FiveM server means balancing two competing interests: giving players the freedom to customize their experience and maintaining a fair, stable environment for everyone. Pure Mode is one of the most important tools server owners have for striking that balance. By validating client-side game files before a player fully connects, Pure Mode prevents modified assets from entering your server β whether those modifications are innocent visual tweaks or deliberate exploits.
Understanding how Pure Mode works, what each level actually blocks, and when to use which setting can save you hours of troubleshooting and prevent countless player complaints. This guide covers everything you need to know.
What Is Pure Mode?

Pure Mode is a built-in FiveM feature controlled by the sv_pureLevel convar in your . When enabled, the server checks the hash values of specific client-side files during the connection handshake. If a player's files don't match the expected vanilla versions, the server rejects the connection with a "Files have been modified" error.
This is not a full anti-cheat system. Pure Mode only inspects files that are loaded at startup β it cannot detect runtime memory injections, external overlays, or cheat software that operates outside the game's file structure. Think of it as a first line of defense, not a complete security solution.
Technical Implementation
Pure Mode is configured through a single line in your server configuration:
# In server.cfg
sv_pureLevel 0 # Disabled (default)
sv_pureLevel 1 # Light Mode - Allows some visual/audio mods
sv_pureLevel 2 # Harsh Mode - Blocks all client modifications
Level 0 β Disabled (Default)
Frequently Asked Questions
What types of modifications are still allowed when `sv_pureLevel` is set to 1?
When `sv_pureLevel` is set to 1, often referred to as 'Light Mode', the server performs some file validation but allows certain client-side modifications. Typically, this level permits visual and audio modifications like custom textures, vehicle models, sound packs, and ENB/ReShade presets. However, it still blocks more intrusive modifications that could affect gameplay or server stability. This mode strives to provide a balance between customization and maintaining a reasonably consistent game environment.
If Pure Mode isn't a complete anti-cheat, what kinds of exploits can still bypass it?
Pure Mode focuses on validating game files during the connection process, and it won't detect all forms of cheating. Exploits that involve runtime memory injection, external overlays (like some cheat menus), or cheat software that operates independently of the game's core files can bypass Pure Mode's checks. Server owners must use additional anti-cheat measures and monitor player activity to catch these more advanced techniques.
What does the 'Files have been modified' error mean, and how do I fix it as a player?
The 'Files have been modified' error indicates that the server's Pure Mode has detected a mismatch between the files on your client and the expected vanilla versions. This usually occurs when you have custom modifications installed, like custom textures, vehicles, or scripts, that the server doesn't allow. To fix this, you need to remove or disable the conflicting modifications from your FiveM client folder. Ensure you are only using authorized modifications for that specific server, or none at all if the server enforces strict file integrity.










