GTA6RP

How GTA V roleplay servers work

Behind every GTA RP server is a stack of community software on top of the PC version of GTA V. This guide explains each layer in plain English. It is written for players who want to understand what they are joining and for people thinking about running a server.

Facts come from Rockstar, Cfx.re (the FiveM team), framework documentation and major outlets. Numbers in brackets link to the sources at the bottom.

FiveM client/server model

FiveM is a modified client for the PC version of GTA V that connects to community-run dedicated servers instead of Rockstar's GTA Online. The server software, called FXServer, runs your chosen scripts and syncs players. You still need a legitimate PC copy of GTA V. Rockstar's support pages now list Cfx.re-powered servers as one of the two authorised ways to play GTA V multiplayer, next to GTA Online.[1][2]

Server artifacts, license keys and txAdmin

Server owners download FXServer builds ("artifacts") and register a server license key through their Cfx.re account (Keymaster, now the Cfx Portal). Since 2020 txAdmin ships inside FXServer as a web panel for starting and stopping the server, restarting resources, watching the live console, and handling bans, warnings and whitelists. It can also deploy a ready-made framework template in about a minute, and the project says tens of thousands of servers use it.[3][2]

OneSync and player slots

OneSync is FiveM's server-side synchronisation system and supports up to 2,048 players on one server. Slot counts above 32 need OneSync turned on, and counts above 64 need full OneSync. The free tier covers up to 48 slots; larger servers need a paid Element Club tier (Argentum and higher), which is now billed through the Cfx Portal rather than Patreon.[4][5][6][7]

Resources and scripting (Lua, JavaScript, C#)

Everything a server adds (jobs, inventories, phones, maps, cars) is packaged as a resource: a folder with an fxmanifest.lua file listing its client, server and shared scripts. Scripts can be written in Lua (a modified Lua 5.4 called CfxLua), JavaScript or C#. The manifest itself is always Lua, whatever language the scripts use.[8][9][10]

Frameworks (ESX, QBCore, Qbox, ox)

Most RP servers are built on a framework that supplies characters, jobs, money, inventory and vehicles. ESX (started 2017, now ESX Legacy) is the oldest widely used one. QBCore is another popular open-source Lua framework. Qbox began in September 2022 as a QBCore fork focused on performance and security, with a bridge that keeps most QBCore scripts working and a heavy reliance on the ox libraries (ox_lib, ox_inventory).[11][12][13][14][15]

Databases (MySQL / oxmysql)

Character data, inventories and property ownership are usually stored in a MySQL or MariaDB database. oxmysql is the common connector resource. It supports async queries and older mysql-async syntax, and its authors recommend MariaDB. The original Overextended repository was archived in April 2025, and CommunityOx maintains forks.[16][17]

Whitelisting, Discord applications and priority queues

Serious RP servers often require an application, usually through the server's Discord, before you can join, and departments such as police, EMS or legal may need separate applications. Queue scripts can check Discord roles to decide who may connect and who gets priority when the server is full. Cfx.re itself does not sell queue priority; servers set this up themselves.[18][2][19]

Tebex monetisation and what may be sold

Tebex has been Cfx.re's official payments partner since 2020, and servers that take money must do so through it under the platform licence. Rockstar's rules forbid selling loot boxes or other chance-based rewards, selling virtual currency for real money, crypto or NFTs, and commercial deals with third-party brands. The September 2026 Mod Guidelines add that any commercial modding must go through the licensed Creator Platform. Server owners should read the current licence at fivem.net/terms, since it has been revised several times.[20][21][22][23][24]

Anti-cheat and global bans

FiveM has a built-in anti-cheat that detects programs injecting into the game client. Accounts caught this way receive platform-wide bans lasting from months to permanent. Individual servers can also issue their own bans through txAdmin or their own tools, and those only apply to that community.[25][26][2]

Cfx.re account and hosting

Players and server owners sign in with a Cfx.re account, which links license keys, Element Club perks and txAdmin logins. Servers can be self-hosted or rented from game-server hosts. FiveM still needs the legacy PC build of GTA V, and support for GTA V Enhanced has been in development.[6][2][27]

Putting it together

A typical serious RP server runs FiveM's server software, managed through txAdmin. It uses a framework such as ESX or QBCore for jobs, money and inventories, a MySQL database for persistent characters, and a Discord-based whitelist to vet players. Tebex sells permitted items like queue priority. The rules about roleplay itself are written and enforced by the server's own staff. Read our rules and etiquette guide.

Will this carry over to GTA 6?

Nothing has been announced. GTA 6 has no announced PC version, and Rockstar has not said whether FiveM or its Creator Platform will support it. See the server-readiness tracker.

Sources

  1. Support for Rockstar Games authorized roleplay and community-created servers (Rockstar Games Customer Support) official
  2. citizenfx/txAdmin README (GitHub (citizenfx)) official
  3. Setting up a server using txAdmin (Cfx Documentation) official
  4. OneSync (Cfx Documentation) official
  5. Server Commands (Cfx Documentation) official
  6. How to subscribe to Element Club through Portal (Cfx Support) official
  7. End of support for Element Club subscription support through Patreon (Cfx Support) official
  8. Resource Manifest (Cfx Documentation) official
  9. Scripting in Lua (Cfx Documentation) official
  10. Creating your first script in JavaScript (Cfx Documentation) official
  11. ESX Legacy Documentation (ESX Framework) official
  12. esx-framework/esx_core (GitHub (ESX)) official
  13. QBCore Framework (GitHub (qbcore-framework)) official
  14. Introduction to the Qbox Framework (Qbox Documentation) official
  15. Qbox-project/qbx_core (GitHub (Qbox)) official
  16. overextended/oxmysql (GitHub (Overextended)) official
  17. Community Ox (GitHub (CommunityOx)) official
  18. connectqueue - Connection queue for FiveM with Discord API whitelist (GitHub (Re2team))
  19. Complete Beginners Guide to GTA RP (Just Loot It (GTARP guides))
  20. Setting Up a Tebex Store (Cfx Documentation) official
  21. Tebex announces partnership with FiveM (Tebex (X/Twitter), 2020-03-27) official
  22. Roleplay (RP) Servers (Rockstar Games Customer Support) official
  23. Creator Platform License Agreement (Cfx.re / Rockstar Games (fivem.net), 2026-09-10) official
  24. Mod Guidelines (Rockstar Games, 2026-09-10) official
  25. FiveM/RedM Community Server Ban FAQ (Cfx Support) official
  26. Resource FAQ (Cfx Documentation) official
  27. FiveM For GTA V Enhanced Gets Development Update (RockstarINTEL)

We summarise facts in our own words and link every source. Short quotes are credited.