Clé Patreon FiveM 128 slots : ce qu'elle change techniquement sur les gros serveurs
Par Benjamin Dayan · PDG
· Mis à jour le October 22, 2026 · Lecture 6 min
Contents
FiveM 128 slots open the door to large roleplay communities, but getting there is not just a matter of raising a number in a config file. The jump from the vanilla 32-player cap relies on a Patreon-linked key, OneSync Infinity, and careful tuning of sv_maxclients, txAdmin, and every resource running on your instance. This guide breaks down what happens technically when a community pushes toward 128 concurrent players, and where the real ceiling sits.
What FiveM 128 Slots Actually Enable
By default, a Cfx.re FXServer instance is capped at 32 players. Going beyond that number — 48, 64, 96, 128, and above — requires a license key tied to a Cfx.re account that has an active Patreon-linked subscription tier (historically called Element Club: Argentum, Gold, Platinum). The key is generated through Keymaster and pasted into your server.cfg as a sv_licenseKey convar. Without the matching tier, the server will simply refuse connections past the authorized threshold, regardless of what value you put in sv_maxclients.
This is an important distinction for admins: sv_maxclients is a local convar, but the actual enforced ceiling is validated server-side against your Keymaster account. Raising sv_maxclients to 128 on a license only authorized for 64 does nothing — players will be rejected once the real cap is hit, usually with a generic connection-refused message that confuses new admins who assume it's a network or firewall issue.
For communities that want the underlying infrastructure sized correctly from day one instead of discovering CPU bottlenecks at 80 concurrent players, FiveM server hosting from Fly-Serv runs on Ryzen CPUs with NVMe storage, which matters because FXServer is almost entirely single-threaded for scripting logic and heavily disk-dependent for streaming assets.
Configuring sv_maxclients, OneSync Infinity and txAdmin
sv_maxclients: the convar and its real ceiling
The convar itself is simple to set in server.cfg:
# server.cfg
sv_maxclients 128
sv_licenseKey cfxk_XXXXXXXXXXXXXXXXXXXXXXXX
onesync on
sv_enforceGameBuild 2944
Keep in mind that sv_maxclients only reserves slots — it does not guarantee stable gameplay at that count. Many communities running FiveM 128 slots deployments actually keep the effective player count lower during peak hours through queue scripts, because raw slot availability and server comfort are two different things.
OneSync Infinity: why it's mandatory above 32 players
Vanilla FXServer networking was built around a 32-player ceiling. OneSync rewrote the entity replication model so that player-owned entities, scripted objects, and world state can scale beyond that. There are two relevant modes:
- OneSync (legacy) — supports up to 64 players, kept mostly for backward compatibility.
- OneSync Infinity — required for anything above 64, and the only mode that supports the full range up to and including 128+ slots.
Infinity is enabled with a single convar, but it changes how entities are culled and synced based on player proximity, which has direct consequences on scripting (see the next section on state bags and entity pools).
txAdmin configuration checklist
txAdmin is the management layer that sits on top of FXServer and is where most admins actually touch these settings in practice rather than editing server.cfg by hand. From the txAdmin web interface:
- Go to Settings → FXServer and confirm the Server Convars field includes
onesync onand the correctsv_maxclients. - Check the Resource Monitor tab before raising slot counts — it flags scripts already consuming abnormal CPU time at lower player counts, which will only get worse at 128.
- Use the Scheduler to restart the process during low-traffic windows, since a high slot count increases memory fragmentation over long uptimes.
Resource and Streaming Limits on Heavily Populated Deployments
Once sv_maxclients and OneSync Infinity are configured, the real constraints shift from "is it authorized" to "can the script resources and the streaming system keep up." This is where most FiveM 128 slots projects actually hit a wall.
Entity and streaming pool exhaustion
OneSync Infinity dynamically culls entities based on distance, but custom resources that spawn large numbers of persistent objects (vehicles, props, peds) can exhaust internal pools faster at higher concurrency. Symptoms include vehicles failing to spawn, props disappearing, or players reporting desync near crowded areas. The practical fix is auditing scripts for orphaned entities that never get deleted rather than raising pool-related convars blindly.
Network and bandwidth per client
Each connected client consumes upstream bandwidth proportional to nearby entity density and event frequency. A server running 32 players in a sparse world and one running 128 players in a dense roleplay city generate very different network loads even with identical code, because OneSync replicates more state per tick as proximity and entity count grow.
Scripting and resmon budget
FXServer's main thread handles most Lua/JS/C# resource logic sequentially. At 128 slots, inefficient resources (tight loops without Wait(), unoptimized database queries, chat spam triggers) that were invisible at 32 players become visible CPU spikes. The in-game resmon command and txAdmin's resource monitor are the first diagnostic step, not sv_maxclients itself.
| Slot range | Typical constraint | Primary diagnostic tool |
|---|---|---|
| 0–32 | Default limits, no OneSync required | resmon |
| 33–64 | OneSync (legacy or Infinity) mandatory | txAdmin resource monitor |
| 65–128 | Entity pools, streaming assets, Keymaster tier | OneSync debug overlay |
| 128+ | Scripting CPU budget, database query load | Server console logs |
Administration and Monitoring at Scale
Running a stable FiveM 128 slots environment is as much an administration discipline as a configuration task. A few practices consistently separate stable large communities from ones that crash during peak events:
- Take automatic backups of the resources folder and database before every slot increase — a bad script update at 128 players is far more disruptive than at 32.
- Keep an admin whitelist and strong RCON credentials; a flooded connection queue at high slot counts is a common DDoS surface if admin ports are exposed.
- Rotate logs and monitor the console output for repeated resource errors, which are early indicators of the CPU spikes described above.
If you manage the underlying machine yourself rather than through a managed panel, standard Linux practices apply directly. On a Linux VPS running FXServer as a systemd service, restarting cleanly looks like this:
sudo systemctl restart fxserver.service
sudo journalctl -u fxserver.service -f
And securing SSH access before exposing a high-population instance publicly:
ssh-keygen -t ed25519 -C "fivem-admin"
sudo ufw allow 30120/tcp
sudo ufw allow 30120/udp
sudo ufw enable
Communities running related Cfx.re projects such as a RedM server alongside their FiveM instance should apply the same OneSync and resmon discipline, since both share the same underlying FXServer engine and entity replication model. For a broader view of supported titles and sizing options, see All our game servers.
Official convar behavior and OneSync documentation are maintained by Cfx.re and should be checked whenever a new FXServer build changes defaults: Source.
Reaching 128 concurrent players is less about a single convar and more about aligning a valid Keymaster tier, OneSync Infinity, and disciplined resource auditing. Admins who monitor resmon output and entity pools before raising slot counts avoid most of the instability that otherwise appears once a community actually fills those seats.
FAQ
Why does my server still reject players after setting sv_maxclients to 128?Your sv_licenseKey tier likely doesn't authorize that slot count. Check your Keymaster account and confirm the active Patreon-linked tier matches or exceeds the value you set.
Is OneSync Infinity mandatory for every slot count above 32?Yes, above 64 players Infinity is the only supported mode. Legacy OneSync tops out at 64 and won't accept higher sv_maxclients values reliably.
What's the first thing to check when FPS drops only at high player counts?Run resmon in-game and check txAdmin's resource monitor for scripts consuming disproportionate CPU time; scripting load, not raw player count, is usually the bottleneck.
Read next
- Clé Patreon FiveM : à quoi sert-elle et comment l'activer sur votre serveurWhat the FiveM Patreon key unlocks, how Element Club tiers link to your server license, and how to fix a key not recognised in server.cfg.
- txAdmin : comprendre le panel qui pilote un serveur FiveMWhat txAdmin is, how its web panel, console, player management, scheduled restarts and recipes work, and what it changes on a FiveM server.
- Configurer un serveur FiveM orienté drift : handling, resources et réglagesUnderstand how handling.meta values, drift car resources and server.cfg entries shape a FiveM drift config, and how to tune each one for stable slides.