Guide

FiveM OneSync Explained: Enable It and Fix Sync Issues

What OneSync does, how to enable it with set onesync on, slot limits above 48, culling, why players cannot see each other, and how Enhanced differs.

OneSync is the FiveM server mode that gives the server awareness of entities and players. Turn it on with set onesync on in server.cfg. You need it for any server above 32 slots, and the server commands reference says values above 64 require onesync on.

How do I enable OneSync?

Add this line to server.cfg, above your resources, then restart the server (convars are read at start):

set onesync on
sv_maxclients 48

The server commands reference lists the valid values as on, off and legacy. After a restart, the console output is the quickest way to confirm which value the server actually loaded. Older forum posts mention onesync_enableInfinity or a +set onesync on command-line argument. Those come from older guides, and the current reference lists onesync_enableInfinity as a separate convar. Use the current docs syntax and check the server console after starting. For the rest of the file see server.cfg explained.

What is the difference between on, legacy and off?

ValueWhat it means
offOneSync is disabled. The server does not keep full entity state for everyone.
onThe modern mode. The server tracks entities and decides what each client receives. This is what "OneSync Infinity" refers to in community guides.
legacyA compatibility mode. The docs list it as valid, and community reports describe performance and visual problems with it.

"Infinity" is a community name for the modern mode. The reference uses onesync on and a separate onesync_enableInfinity convar. Pick on unless an old script truly requires legacy, and treat that script as a reason to update it.

How many players does OneSync allow?

The slot rules, from the server commands reference:

  • sv_maxClients accepts 1 to 2048.
  • From 32 upward you need onesync set to on or legacy.
  • Above 64 you need onesync on.

Going past 48 slots is a licensing question as well as a technical one. For the current options, see Element Club on fivem.net/server-hosting. This guide does not quote prices or tier sizes, and I could not verify the exact limit of each tier. The license part is covered in the license key guide. Note that the number of slots is not the same as how many players your hardware can carry. Check what your server really spends its time on with the profiler guide.

What is culling in OneSync?

OneSync only syncs entities near a player. The server commands reference exposes this through convars such as onesync_distanceCulling and onesync_distanceCullVehicles, and the reference describes culling-related natives as deprecated. Read the current entries for defaults before you change them. A player far away from you may simply not be synced to you, which is expected and not a bug. If you widen a range for one feature, test it with a few players first, because more synced entities means more bandwidth and server work.

Why can't I see other players?

Work through these from cheapest to most invasive.

  1. Check that the server console or server.cfg really has onesync on and that you restarted after adding it.
  2. Check the distance. Players beyond the culling range are not synced to you.
  3. Check routing buckets. Players in different buckets do not see each other, and population can be turned off per bucket with the population settings. A framework or script that puts people into private instances can cause this.
  4. Disable recently added resources one at a time, especially anything that sets entity or player visibility.
  5. Check server hitches and load. A very slow server thread delays sync; see the thread hitch warning.
  6. If only one player is affected, try the same test with a fresh client install and a cleared cache, see clear the FiveM cache.

Entity lockdown is another source of confusion. Routing bucket lockdown settings decide whether clients may create entities that others see. If a client-side script spawns vehicles or peds that nobody else sees, check the lockdown setting for that bucket first. The current modes are listed in the scripting docs, so check there rather than in older guides.

What about OneSync on FiveM Enhanced?

Several OneSync convars in the reference are marked as Enhanced only, for example the map bounds and multithreaded packet processing settings. Some Enhanced-only settings also affect how clients and entities are handled. If you are not sure which edition your server runs, check the archive you downloaded: Enhanced uses different archives, as described in the artifacts guide. For other server differences, see FiveM Legacy vs Enhanced.

What about population and routing buckets?

The reference lists onesync_population as a convar, and routing buckets can control population for their own instance. If ambient peds or traffic vanish in an interior instance, a bucket or population setting is the first thing to check. Test with a single bucket to see whether the problem is in your instancing script. Write down the bucket IDs your script uses, so you can compare them with the server settings when the problem comes back.

What usually doesn't help

  • Using legacy to "fix" a script. Community reports say it trades one problem for others.
  • Raising sv_maxclients far beyond what your hardware handles.
  • Trying to widen culling with deprecated natives and expecting stable results.
  • Reinstalling the game when only certain players are invisible.
  • Editing server.cfg without restarting. Convars are read at start, so a change only takes effect after a full restart.

If nothing works

Post on forum.cfx.re with your artifact build, the onesync and sv_maxclients lines, whether you use routing buckets, a list of scripts that touch entities or player visibility, and what the profiler shows. The profiler viewer helps you attach readable data.

Last checked: 24 August 2026

Frequently asked questions

What is OneSync in FiveM?

A server mode where the server has state awareness of entities and decides what each client gets, instead of players relaying everything peer to peer.

How do I enable OneSync Infinity?

Use set onesync on in server.cfg. "Infinity" is a community name for the modern mode.

Is OneSync free?

OneSync is part of the server setup. For player counts above 48, check the Element Club options on fivem.net/server-hosting.

How many players can a FiveM server have?

sv_maxclients supports up to 2048, with the OneSync requirements above and the licensing options on fivem.net/server-hosting.

Why can't I see other players on my FiveM server?

OneSync off, culling distance, routing buckets, entity lockdown or an overloaded server are the usual causes.

FiveM.tools was founded with sponsorship from Nyru.