Knowledge base
FiveM and Roleplay Servers
Everything about FiveM server setup, txAdmin, server.cfg, choosing a framework and running a roleplay server.
25 guides
- How to Set Up a FiveM Server: 2026 Step-by-Step GuideTo set up a FiveM server you need a machine to run FXServer, a free license key from the Cfx.re portal, a txAdmin recipe (ESX, QBCore, QBox or a blank template) and port 30120 open. With a managed Fi… 8 min read
- txAdmin Setup and How to Use It: Complete GuidetxAdmin is the free FiveM admin panel that ships with FXServer. On first launch it prints a 4-digit PIN to the console; you open the default port 40120 in your browser and use that PIN to create the … 7 min read
- How to Get a FiveM License Key (Cfx.re Portal)You get a FiveM license key for free at portal.cfx.re with your Cfx.re account. Create a new key in the server registration keys section and enter a server name and the server's public IP address. Pa… 8 min read
- FiveM server.cfg Explained Line by LineFiveM server.cfg is the main config file FXServer reads at startup. It sets the connection port (endpoint_add_tcp/udp, default 30120), the server name (sv_hostname), slot count (sv_maxclients), publi… 7 min read
- ESX vs QBCore vs QBox: Choosing a FiveM FrameworkESX is the oldest FiveM roleplay framework with the largest script library, and it's the easiest to find ready-made packs and Turkish-language resources for. QBCore gives you a fast start with built-… 7 min read
- How to Install FiveM Scripts: ensure and Folder StructureTo install a FiveM script, copy its folder into the resources directory (ideally inside a [category] folder), check that fxmanifest.lua sits at its root, import its SQL file into the database if it h… 7 min read
- What Is FiveM OneSync? How to Increase Your Slot CountOneSync is the FiveM system that moves game world sync from players to the server. With OneSync off, a server accepts at most 32 players; with it on (formerly called OneSync Infinity), much higher sl… 7 min read
- How to Fix the FiveM "Server Thread Hitch Warning"A server thread hitch warning means the FiveM server's main thread could not finish a frame on time and stalled for the stated number of milliseconds. Seeing it a few times at startup is normal. If i… 7 min read
- FiveM Script Optimization with resmonresmon is the FiveM client tool that shows how much CPU time (ms) per frame and how much memory each resource uses. Open it by typing resmon 1 in the F8 console. Scripts that stay around 0.00-0.02 ms… 7 min read
- How to Set Up oxmysql and a MariaDB Database for FiveMTo set up oxmysql in FiveM, create a MariaDB database and user with the utf8mb4 character set, add a set mysql_connection_string line to server.cfg, and place ensure oxmysql before your framework. Th… 7 min read
- How to Add Cars to FiveM: Installing Addon VehiclesTo add an addon car to FiveM, put the car's .yft and .ytd files in a stream folder inside a resource, put vehicles.meta, handling.meta, carcols.meta and carvariations.meta in a data folder, and regis… 7 min read
- How to Add Clothing to FiveM: EUP and Addon Clothes GuideTo add clothing to FiveM, put the addon clothing files (.ydd models, .ytd textures and the collection's .ymt/.meta files) in a resource's stream folder and start the resource in server.cfg. The cloth… 7 min read
- How to Install MLOs and Maps on a FiveM ServerTo install an MLO or map on FiveM, put the .ymap, .ytyp, .ybn, .ydr and .ytd files in a resource's stream folder, add this_is_a_map 'yes' to fxmanifest.lua, and ensure the resource in server.cfg. If … 7 min read
- How to Start a Turkish Roleplay Server (From Scratch to Launch)To start a Turkish roleplay server, first define your concept and target audience, then rent a FiveM server and install a Turkish theme pack. Next, balance legal and illegal jobs, write clear RP rule… 7 min read
- FiveM Whitelist: How to Set Up Discord Role-Based AccessA FiveM whitelist lets only approved players join your server. The easiest setup is to enable txAdmin's Discord bot integration and set the whitelist mode to “Discord Server Roles.” When a player pas… 7 min read
- How to Set Up FiveM Discord Logs with WebhooksA FiveM Discord log system sends server-side events (joins and leaves, deaths, money transfers, admin commands) as JSON to Discord webhook URLs and keeps a record in separate channels. In a solid set… 7 min read
- FiveM "Couldn't Start Resource" and Server Won't Start ErrorsIf your FiveM server won't start or shows a “Couldn't start resource” error, find the first red line in the console. The most common causes are a resource folder with the wrong name or extracted insi… 7 min read
- Can't Connect to a FiveM Server? How to Fix Connection ErrorsIf you can't connect to a FiveM server, first figure out whose problem it is: if the server's http://IP:30120/info.json address won't open in a browser, the problem is server-side (server down, 30120… 7 min read
- How to Update FiveM Artifacts Safely (Without Breaking Your Server)Updating FiveM artifacts means replacing FXServer's server files with a newer build. The safe way: back up resources, server.cfg, txData and your database, pick the build tagged "Latest Recommended",… 8 min read
- How to Promote Your FiveM Server and Get More PlayersFiveM server promotion works on two levels: looking clickable in the server list with the right title, tags, locale, icon and banners, and bringing in players from outside the list through streamer c… 7 min read
- FiveM Server Cost: What You Really Pay per MonthThe real monthly cost of a FiveM server has five parts: server hosting, an optional Cfx.re Element Club subscription to raise the slot limit, a ready-made pack or framework, paid scripts, and custom … 7 min read
- How to Give Admin in FiveM with ACE PermissionsIn FiveM, admin permissions are granted with the ACE system: add_ace gives a group a permission, and add_principal adds a player's identifier to that group. For example, put add_ace group.admin comma… 7 min read
- FiveM Roleplay Economy: Balancing Jobs and MoneyA balanced FiveM roleplay economy comes from keeping the money entering the server (paychecks, job pay and illegal income) close to the money leaving it (fuel, repairs, taxes, rent, fines) over the l… 6 min read
- FiveM Server High RAM Usage: How to Fix ItIf your FiveM server's RAM usage is high, look at the pattern first: if it starts low after a restart and climbs steadily for hours, a script is leaking memory, and you find it by stopping resources … 7 min read
- How to Fix the FiveM "Oversized Asset" WarningThe FiveM oversized asset warning means a ytd, yft or ydr file uses more than roughly 16 MiB of physical memory when loaded. These files fill up players' streaming memory and cause texture loss and m… 7 min read