Coming from RAGE:MP
SYNC MP runs RAGE:MP gamemodes without changes. The API is the same 1:1, and so are the folder layout and the config format.
What is the same
| RAGE:MP | SYNC MP | |
|---|---|---|
| Config | conf.json | conf.json (same keys) |
| Server JS | packages/<name>/index.js | same |
| Server C# | dotnet/resources/<Name>/meta.xml, GTANetworkAPI | same; Bootstrapper.dll has the identical API, on .NET 8 |
| Client | client_packages/index.js | same |
| DLC packs | client_packages/game_resources/dlcpacks/<pack>/dlc.rpf | same |
| CEF | mp.browsers.new('package://...') | same |
| Default ports | 22005 UDP + 22006 TCP | same |
Moving a server
- Copy your RAGE:MP server folder's
packages/,client_packages/,dotnet/resources/,conf.jsonand any data folders your gamemode reads into the SYNC MP server folder. - Start
altv-server.exeinstead ofragemp-server.exe. - Players connect through the SYNC MP launcher.
Differences worth knowing
- Client JavaScript is V8, like RAGE:MP: modern syntax works.
- The connection is encrypted. Only the SYNC MP client can connect. See Networking, ports & security.
- The first visit needs no restart for DLC packs: the launcher downloads them before the game starts.
- A few members are not implemented yet. They are marked on their reference pages; see API coverage.
- Windows only. The server runs on Windows x64.