This page covers what's changed for server owners and resource developers moving from FiveM Legacy to FiveM for GTAV Enhanced: removed features, breaking changes, new config variables, and behavioral differences. Review the breaking changes before switching, as some require code or config updates.
| Feature | Notes |
|---|---|
| P2P Sync | FiveM for GTAV Enhanced no longer uses P2P synchronization and has instead switched to a client-server model. This change reduces latency. |
| OneSync non-big mode | No longer exists; OneSync big mode is now the only mode. Non-big mode was the legacy OneSync behavior. The difference is player event scoping: in big mode, player connect/disconnect events only arrive when the player is in range, whereas in non-big mode they arrived regardless of location. |
ARQ (onesync_automaticResend) | Previously defaulted to false; now removed entirely |
| Asset Escrow | Not implemented yet |
sv_netHttp2 | HTTP/2 support removed |
| Server ImGui GUI | Removed |
+set moo 31337 developer command | Was used in FiveM Legacy to enable devmode; removed. Use sv_devMode true instead. |
sv_useAccurateSends | Deprecated (see sv_syncTickRate below) |
-cl2 parameter | Deprecated. Check the running-two-fivem-clients article for more information. |
| Mumble | Deprecated. Check the voice article for more information. |
You can now unregister server commands:
local commandID = RegisterCommand(...)
UnregisterCommand(commandID)
stream_enhanced FolderResources can now include a stream_enhanced folder alongside the existing stream folder. When a stream_enhanced folder is present, its contents are loaded instead of the stream folder on FiveM for GTAV Enhanced.
If no stream_enhanced folder is present, the stream folder is used instead.
The stream folder still works when no stream_enhanced folder is present, but it is deprecated. This allows a single resource to remain cross-compatible between Gen8 and Gen9: place Gen8 assets in stream and Gen9 assets in stream_enhanced.
The way player (server) IDs are assigned has changed.
In FiveM for GTAV Legacy, IDs are only ever incremented and never reused for the next player. They count up (1, 2, 3, ..., 65535) and wrap back around to 1 once the maximum is reached. For example:
player connect -> 1
player connect -> 2
player disconnect -> 1
player connect -> 3
In FiveM for GTAV Enhanced, an ID is released when a player disconnects and can be reused by the next player who connects. For example:
player connect -> 1
player connect -> 2
player disconnect -> 1
player connect -> 1
This behaviour is subject to change in the future, but for now it is a breaking change that may affect your resource logic.
Key-value DB files must be migrated. We will provide a migration script to assist with this process.
Remote commands no longer return the full log to the client. You must now explicitly call:
PrintRemoteCommandLog(message)
so that it appears on the client.
Resources can no longer be builders.
Remote Console support (formerly DevCon) is now disabled by default. You can enable Remote Console from within the game by opening the F8 console, then selecting "Remote Console" under the "Console" menu item.
The remote console is exposed over port 29200. Port 29300 was previously
reserved for -cl2 and is no longer used.
Mono was replaced by .NET. The only requirement for .NET is a .NET 10 SDK and optionally some IDE. We will share more information on what this means for developers in the future.
Pure mode is now always enabled and can no longer be turned off. While FiveM for GTAV Enhanced is in early access, graphic mods cannot be used.
endpoint_add_tcp and endpoint_add_udp now support only a single endpoint instead of multiple endpoints.
The +set moo 31337 command (used in Gen8 to enable devmode) was removed.
Enabling devmode in the client now requires sv_devMode true to be set on the server side (in the server.cfg).
The following variables exist only for backward compatibility and have no effect:
| Variable | Type | Default | Notes |
|---|---|---|---|
onesync_enableBeyond | bool | false | Does nothing. |
sv_enhancedHostSupport | bool | false | Not used anymore. |
sv_protectServerEntities | bool | false | Not implemented. Use sv_entityLockdown instead. |
sv_resourceFileDownloadTimeoutThe timeout in milliseconds for downloading resource files over HTTP. If the download does not complete within this time, it will be canceled.
| Property | Value |
|---|---|
| Default | 2 minutes |
| Type | std::chrono::milliseconds |
sv_syncTickRateTick rate for the sync thread. Higher values can reduce latency but increase CPU usage.
| Property | Value |
|---|---|
| Default | 60 |
| Range | 1-120 |
Note:
sv_useAccurateSendsis deprecated. Specify the sync tick rate explicitly withset sv_syncTickRate [1, 120].
full, disables dummy object creation.
For more information on lockdown modes, see Entity lockdown and the SetRoutingBucketEntityLockdownMode native.
FiveM for GTAV Enhanced currently supports only the latest gamebuild (The Kortz Center Heist).
This gamebuild is loaded by default if no other gamebuild is specified.
If you wish to load the base game without any DLCs you can do so by setting sv_enforceGameBuild 1 in the server.cfg.
For more information on gamebuilds, see Gamebuilds.
In FiveM for GTAV Enhanced, some server files are named differently. The server.7z / fx.tar.xz archive is named cfx-server_win_x64 / cfx-server-linux_x64, and the FXServer.exe executable is named cfx-server.exe.