OneSync, player slots and game builds
In short
OneSync makes the server aware of every entity. It is required for large slot counts and unlocks server-side entity natives, entity lockdown, state bags and routing buckets.
| `onesync` value | Meaning |
|---|---|
on | Full state awareness and server-determined entity routing — use this |
legacy | Compatibility mode for scripts that expect every player on every client; not recommended |
off | Standard GTA peer-to-peer networking; the server is only a relay |
| Slots (`sv_maxclients`) | Requirement |
|---|---|
| From 32 | OneSync on or legacy |
| Above 64 | OneSync on |
| Above 48 | Element Club Argentum subscription or higher on the key owner’s account |
| Maximum | 2048 |
-- move a player into their apartment instance
SetPlayerRoutingBucket(source, 1000 + source)
SetRoutingBucketPopulationEnabled(1000 + source, false)
-- back to the normal world
SetPlayerRoutingBucket(source, 0)
-- synced data on the player
Player(source).state:set('duty', true, true)| Build | Update |
|---|---|
| 2189 | Cayo Perico Heist |
| 2802 | Los Santos Drug Wars |
| 2944 | San Andreas Mercenaries |
| 3095 | The Chop Shop |
| 3258 | Bottom Dollar Bounties |
| 3407 | Agents of Sabotage |
| 3570 | Money Fronts |
| 3751 | A Safehouse in the Hills |
| 3889 | The Kortz Center Heist |
`sv_enforceGameBuild <number>` — startup only; each build includes everything before it.