{"id":3798,"date":"2026-10-27T17:10:49","date_gmt":"2026-10-27T14:10:49","guid":{"rendered":"https:\/\/gameteam.io\/blog\/gta-5-dedicated-server-guide\/"},"modified":"2026-10-27T17:10:49","modified_gmt":"2026-10-27T14:10:49","slug":"gta-5-dedicated-server-guide","status":"publish","type":"post","link":"https:\/\/gameteam.io\/blog\/gta-5-dedicated-server-guide\/","title":{"rendered":"How to Make a FiveM Server: GTA 5 Dedicated Server Setup, Requirements and Ports"},"content":{"rendered":"<p><strong>To make a FiveM server you need three things: the free FXServer files (Cfx.re calls them server artifacts), a free server registration key from the Cfx.re Portal, and a machine that keeps port 30120 open on TCP and UDP.<\/strong> The fastest route is txAdmin, the web panel that ships inside FXServer: start it, link your Cfx.re account, pick a template, paste your key and your GTA 5 server is running in minutes. Below is that route and the manual one, then requirements, ports, frameworks, getting listed, artifact updates and the errors players actually hit.<\/p>\n<h2 id=\"what-is-a-fivem-server\">What is a FiveM server?<\/h2>\n<p>A FiveM server is a GTA V multiplayer server that a community runs itself on Cfx.re&#8217;s FiveM platform, with its own map, rules and scripts. The server software is called FXServer. Everything players see on top of the base game, from a roleplay framework to a car pack, is a <em>resource<\/em>: a folder of scripts and files the server starts and sends to players when they join.<\/p>\n<p>Roleplay is the best-known kind, but it isn&#8217;t the only one. Cfx.re&#8217;s own list of common server types covers roleplay (RP), drift, racing, PvP and combat, freeroam, zombie survival and hardcore economy servers. Size varies just as much: a friends-only race server runs fine with a handful of players, while the biggest FiveM servers handle more than 1,000 people at once on OneSync Infinity.<\/p>\n<p>A few ground rules before you build:<\/p>\n<ul>\n<li><strong>FiveM is run by Rockstar Games.<\/strong> Running a server means accepting Rockstar&#8217;s Creator Platform License Agreement, and every player needs their own copy of GTA V.<\/li>\n<li><strong>It&#8217;s PC only.<\/strong> The FiveM client doesn&#8217;t run on PlayStation or Xbox. The server itself runs on Windows or Linux.<\/li>\n<li><strong>There are two platforms now.<\/strong> Classic FiveM runs on GTA V Legacy. <em>FiveM for GTAV Enhanced<\/em> is in early access, uses its own server files, and its players need GTA V Enhanced. Pick one before you start, because resources built for one don&#8217;t automatically work on the other.<\/li>\n<\/ul>\n<h2 id=\"fivem-server-requirements\">FiveM server requirements<\/h2>\n<p>FXServer runs on any 64-bit (x86-64) Windows or Linux machine with decent upload speed, and Cfx.re prefers a multi-core processor. Plan on 4\u20138 GB of RAM: a fresh server uses little, while a full roleplay framework with a long resource list and an active database sits at the top of that range. On top of the hardware you need a free Cfx.re account and key.<\/p>\n<table>\n<thead>\n<tr>\n<th>Requirement<\/th>\n<th>What you need<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Operating system<\/td>\n<td>Windows or Linux. Cfx.re calls the Linux build a &#8220;courtesy port&#8221; and fixes Windows issues faster. FiveM for GTAV Enhanced on Windows needs the Microsoft Visual C++ 2017 Redistributable.<\/td>\n<\/tr>\n<tr>\n<td>CPU<\/td>\n<td>x86-64, multi-core preferred<\/td>\n<\/tr>\n<tr>\n<td>RAM<\/td>\n<td>4 GB for a fresh or test server, 6\u20138 GB once a framework and database are in<\/td>\n<\/tr>\n<tr>\n<td>Network<\/td>\n<td>Good upload, with TCP and UDP 30120 reachable from the internet<\/td>\n<\/tr>\n<tr>\n<td>Cfx.re account<\/td>\n<td>Free, created on the Cfx.re forum. Each account can hold three active server keys.<\/td>\n<\/tr>\n<tr>\n<td>Database<\/td>\n<td>MySQL or MariaDB, only if you run a framework such as ESX or QBCore<\/td>\n<\/tr>\n<tr>\n<td>Players<\/td>\n<td>A PC copy of GTA V that matches your platform (Legacy or Enhanced) and the FiveM client<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>If you&#8217;d rather not host a FiveM server at home, <a href=\"https:\/\/gameteam.io\/gta-5-server-hosting\">GTA 5 server hosting<\/a> gives you the same server on a machine that is already online.<\/p>\n<h2 id=\"how-to-make-a-fivem-server-with-txadmin\">How to make a FiveM server with txAdmin<\/h2>\n<p>txAdmin is the easiest way to set up a FiveM server and the one Cfx.re&#8217;s own guide uses. It is built into every recent FXServer download, opens in your browser, and deploys a ready-made &#8220;recipe&#8221; (template) for you. These are the Windows steps; the flow is the same on Linux once txAdmin is running.<\/p>\n<ol>\n<li><strong>Create a Cfx.re account<\/strong> on the Cfx.re forum (Sign up, then confirm the email).<\/li>\n<li><strong>Download the server.<\/strong> Open the <a href=\"https:\/\/docs.fivem.net\/docs\/server-download\/\">Server Download<\/a> page and get the latest <em>Recommended<\/em> build: <code>server.7z<\/code> for classic FiveM, <code>cfx-server_win_x64<\/code> for FiveM for GTAV Enhanced.<\/li>\n<li><strong>Extract it<\/strong> with 7-Zip into a folder of its own, for example <code>C:\\FXServer\\server<\/code>.<\/li>\n<li><strong>Start it.<\/strong> Double-click <code>FXServer.exe<\/code> (<code>cfx-server.exe<\/code> on Enhanced). txAdmin opens in your browser; if it doesn&#8217;t, go to <code>http:\/\/localhost:40120<\/code> and enter the 4-digit PIN shown in the console.<\/li>\n<li><strong>Link your account.<\/strong> Click <em>Link account<\/em>, sign in with Cfx.re, set a backup password, accept the Creator Platform License Agreement and txAdmin licence, and register.<\/li>\n<li><strong>Pick a template.<\/strong> Name the server, choose <em>Popular Recipes<\/em> and pick <em>FiveM Basic Server (CFX Default)<\/em>. Framework recipes such as ESX Legacy, QBCore and Qbox are in the same list; the ESX and QBCore ones need a MySQL or MariaDB database.<\/li>\n<li><strong>Get your key.<\/strong> In the Recipe Deployer, follow the Portal link, click <em>+<\/em> to register a new server, then <em>Generate Key<\/em> and <em>Copy Key<\/em>. Paste it into txAdmin and click <em>Run Recipe<\/em>.<\/li>\n<li><strong>Save and Run Server.<\/strong> Your FiveM server is up.<\/li>\n<\/ol>\n<p>To test it, open the FiveM client and click <em>Connect to [your PC name] on LAN<\/em>. Once in, press <kbd>F8<\/kbd>, type <code>tx<\/code> and press Enter to open the txAdmin in-game menu (noclip, vehicle spawning, player tools).<\/p>\n<h2 id=\"setting-up-a-fivem-server-without-txadmin\">Setting up a FiveM server without txAdmin<\/h2>\n<p>The vanilla setup keeps the server files and your server data in two separate folders, and you start FXServer with your config yourself. It takes a few more minutes than txAdmin and gives you a cleaner picture of what runs where, which helps when something breaks later.<\/p>\n<h3 id=\"windows\">Windows<\/h3>\n<ol>\n<li>Create <code>C:\\FXServer\\server<\/code> and extract the Recommended build into it.<\/li>\n<li>Clone the default server data next to it (needs Git):\n<pre><code>cd C:\\FXServer\ngit clone https:\/\/github.com\/citizenfx\/cfx-server-data.git server-data<\/code><\/pre>\n<\/li>\n<li>Create <code>server.cfg<\/code> in <code>server-data<\/code> (see the next section) and set <code>sv_licenseKey<\/code>.<\/li>\n<li>Start the server from the data folder:\n<pre><code>cd \/d C:\\FXServer\\server-data\nC:\\FXServer\\server\\FXServer.exe +exec server.cfg<\/code><\/pre>\n<\/li>\n<\/ol>\n<h3 id=\"linux\">Linux<\/h3>\n<pre><code>mkdir -p ~\/FXServer\/server && cd ~\/FXServer\/server\nwget &lt;URL of the Recommended Linux build&gt;\ntar xf fx.tar.xz\ngit clone https:\/\/github.com\/citizenfx\/cfx-server-data.git ~\/FXServer\/server-data\ncd ~\/FXServer\/server-data && bash ~\/FXServer\/server\/run.sh +exec server.cfg<\/code><\/pre>\n<p>Install <code>xz-utils<\/code> first on Debian or Ubuntu. On Enhanced the archive is named <code>cfx-server-linux_x64<\/code> instead of <code>fx.tar.xz<\/code>.<\/p>\n<p>Three mistakes cover most first starts: no resources found means you didn&#8217;t <code>cd<\/code> into the data folder; nothing starts and nobody can connect means you forgot <code>+exec server.cfg<\/code>; and &#8220;no license key was specified&#8221; usually comes from one of those two.<\/p>\n<h2 id=\"the-server-cfg-lines-you-need\">The server.cfg lines you need<\/h2>\n<p>Your FiveM server cfg file, <code>server.cfg<\/code>, is a list of commands FXServer runs top to bottom at startup: which ports to listen on, which resources to start, how many slots to open and which key to use. A working minimum is short. The server name, description, tags, icon and banners are no longer set here: they moved to the Cfx.re Portal.<\/p>\n<pre><code>endpoint_add_tcp \"0.0.0.0:30120\"\nendpoint_add_udp \"0.0.0.0:30120\"\n\nensure mapmanager\nensure chat\nensure spawnmanager\nensure sessionmanager\nensure basic-gamemode\nensure hardcap\n\nsv_scriptHookAllowed 0\nadd_ace group.admin command allow\nadd_ace group.admin command.quit deny\nadd_principal identifier.fivem:1 group.admin\n\nset onesync on\nsv_maxclients 48\nsv_licenseKey \"your-key-here\"<\/code><\/pre>\n<p>Swap <code>identifier.fivem:1<\/code> for your own identifier to make yourself admin. Every line, plus whitelists, private mode and naming rules, is explained in <a href=\"https:\/\/gameteam.io\/blog\/gta-5-server-settings\/\">FiveM server config explained<\/a>.<\/p>\n<h2 id=\"fivem-server-ports-and-port-forwarding\">FiveM server ports and port forwarding<\/h2>\n<p>FiveM uses one port for players, 30120, and it has to be open on both TCP and UDP. TCP carries the server info and file downloads; UDP carries the game itself. Forwarding only one of them is the classic reason a server works on your LAN and fails for everyone else. txAdmin&#8217;s web panel uses a second port, 40120, which only you need.<\/p>\n<table>\n<thead>\n<tr>\n<th>Port<\/th>\n<th>Protocol<\/th>\n<th>Used for<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>30120<\/td>\n<td>TCP + UDP<\/td>\n<td>Players connecting (default game port)<\/td>\n<\/tr>\n<tr>\n<td>40120<\/td>\n<td>TCP<\/td>\n<td>txAdmin web panel (default)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ol>\n<li>Forward 30120 on both TCP and UDP from your router to the server PC.<\/li>\n<li>Allow it through the Windows firewall (administrator Command Prompt):\n<pre><code>netsh advfirewall firewall add rule name=\"FiveM TCP\" dir=in action=allow protocol=TCP localport=30120\nnetsh advfirewall firewall add rule name=\"FiveM UDP\" dir=in action=allow protocol=UDP localport=30120<\/code><\/pre>\n<\/li>\n<li>Test from outside: open <code>http:\/\/your-public-ip:30120\/info.json<\/code> in a browser. A block of JSON means the server is reachable. canyouseeme.org can check the port too.<\/li>\n<li>If you run strict firewall or DDoS rules, allow every address in Cfx.re&#8217;s <code>https:\/\/static.cfx.re\/ips.txt<\/code>, or the server list can&#8217;t poll your server and you&#8217;ll see &#8220;could not contact the server browser&#8221; in the console.<\/li>\n<\/ol>\n<p>A new server can take up to eight minutes to appear in the list. Some routers mask UDP source ports, which also keeps a server off the list; that one is fixed in the router, not in FiveM.<\/p>\n<h2 id=\"add-a-framework-scripts-and-cars\">Add a framework, scripts and cars<\/h2>\n<p>A fresh FiveM server is an empty map with a chat box. Frameworks give it jobs, money, inventories and characters; scripts add features; streamed resources add cars, maps, clothing and sounds. Every one of them is a resource folder with an <code>fxmanifest.lua<\/code> file, placed in <code>resources\/<\/code> and started with an <code>ensure<\/code> line in <code>server.cfg<\/code>.<\/p>\n<ul>\n<li><strong>Frameworks:<\/strong> Cfx.re lists ESX, ND, QBCore, Qbox and vRP and doesn&#8217;t back any of them. ESX and QBCore servers both run on a MySQL or MariaDB database through <code>oxmysql<\/code> and need <code>onesync on<\/code>. Their txAdmin recipes set all of that up if you give txAdmin database credentials.<\/li>\n<li><strong>vMenu:<\/strong> a server-side menu for FiveM with permission support. It has its own txAdmin recipe; installed by hand, it&#8217;s an <code>ensure vMenu<\/code> line plus <code>exec @vMenu\/config\/permissions.cfg<\/code>.<\/li>\n<li><strong>Scripts:<\/strong> drop the folder into <code>resources\/<\/code> (or a <code>[category]<\/code> folder), check what it depends on, and add <code>ensure scriptname<\/code> after its dependencies.<\/li>\n<li><strong>Cars, clothes and sounds:<\/strong> these go in a resource&#8217;s <code>stream<\/code> folder with a few <code>data_file<\/code> lines, and players download them when joining. Custom clothing is an Element Club perk on your Cfx.re account. Server-sided sirens, gun sounds and graphics (timecycle) packs are resources loaded the same way.<\/li>\n<\/ul>\n<p>Step-by-step instructions for each type, plus where to find safe downloads, are in <a href=\"https:\/\/gameteam.io\/blog\/gta-5-server-mods\/\">how to add mods to a FiveM server<\/a>.<\/p>\n<h2 id=\"how-players-join-and-leave-your-fivem-server\">How players join (and leave) your FiveM server<\/h2>\n<p>Players need GTA V on PC and the FiveM client from fivem.net, which installs into <code>%localappdata%\\FiveM<\/code> by default. From there they can find your server in <em>Browse Servers<\/em> or connect directly: press <kbd>F8<\/kbd> for the console and type <code>connect<\/code> with your address, for example <code>connect 203.0.113.25:30120<\/code>. Cfx.re join links work too (<code>connect cfx.re\/join\/abc123<\/code>).<\/p>\n<ul>\n<li><strong>Your server&#8217;s IP:<\/strong> for players outside your home it is your public IP plus <code>:30120<\/code>. On a hosted server, copy it from the control panel.<\/li>\n<li><strong>To leave a FiveM server:<\/strong> press <kbd>F8<\/kbd> and type <code>disconnect<\/code>, which drops you back to the main menu. <code>quit<\/code> closes the game.<\/li>\n<li><strong>Open or allowlisted:<\/strong> open servers let anyone in; allowlisted ones show a lock and make players apply first, sometimes by getting a role in the community&#8217;s Discord. For a new community, starting open is the best way to get beginners through the door.<\/li>\n<li><strong>Player count and slots:<\/strong> the server list shows how many players are online. You get 48 slots free with OneSync; more needs an Element Club tier (64, 128 or up to 2048), and you still raise <code>sv_maxclients<\/code> yourself afterwards.<\/li>\n<\/ul>\n<h2 id=\"getting-listed-name-logo-banner-and-discord\">Getting listed: name, logo, banner and Discord<\/h2>\n<p>The details that make a server stand out in the FiveM server list are now managed in the Cfx.re Portal (<code>portal.cfx.re\/servers<\/code>), not in <code>server.cfg<\/code>. The default txAdmin templates now say so at the top: <code>sv_projectName<\/code>, <code>sv_projectDesc<\/code>, <code>sv_hostname<\/code>, <code>locale<\/code>, <code>tags<\/code>, <code>banner_connecting<\/code>, <code>banner_detail<\/code> and <code>load_server_icon<\/code> can&#8217;t be set in the file anymore.<\/p>\n<ul>\n<li><strong>Logo:<\/strong> the old <code>load_server_icon<\/code> command needed a 96&#215;96 PNG; check the Portal&#8217;s upload screen for the current size. An animated icon is a Platinum Element Club perk.<\/li>\n<li><strong>Banner:<\/strong> the detail and connecting banners (<code>banner_detail<\/code>, <code>banner_connecting<\/code>) moved to the Portal as well.<\/li>\n<li><strong>Discord:<\/strong> add <code>sets Discord \"https:\/\/discord.gg\/yourinvite\"<\/code> to <code>server.cfg<\/code> and the link shows on your server&#8217;s info page.<\/li>\n<li><strong>Visibility:<\/strong> Upvotes, bought through Cfx.re as Recurring or Burst, move a server up the list. The featured servers on the right are handpicked by Cfx.re (non-roleplay, joinable without a Discord or allowlist step), and applications are closed.<\/li>\n<li><strong>Naming:<\/strong> Rockstar&#8217;s agreement bans its trademarks, logos and game elements from server names and branding, and any server website needs a contact email and a &#8220;not approved, sponsored or endorsed by Rockstar Games&#8221; disclaimer.<\/li>\n<\/ul>\n<h2 id=\"keep-your-fivem-server-artifacts-up-to-date\">Keep your FiveM server artifacts up to date<\/h2>\n<p>Server artifacts are FXServer builds, published on two branches: <em>Recommended<\/em> (stable) and <em>Latest<\/em>. Cfx.re supports a Recommended artifact until six weeks after the next one ships and a Latest artifact for two weeks. Old artifacts keep running, but once a build is unsupported and older than three months, players can&#8217;t join it from the server browser at all.<\/p>\n<p>Players see this as a grey <em>end-of-support<\/em> warning (still joinable) or a red <em>end-of-life<\/em> one, often with &#8220;Server artifact version is outdated&#8221;. The fix is always on the owner&#8217;s side:<\/p>\n<ol>\n<li>Stop the server and back up your server data folder.<\/li>\n<li>Download the current Recommended build for your platform and OS.<\/li>\n<li>Extract it over the server binaries folder (the one with <code>FXServer.exe<\/code> or <code>run.sh<\/code>), not over your server data.<\/li>\n<li>Start the server and check the console for resources that fail on the new version.<\/li>\n<\/ol>\n<p>A &#8220;Client\/Server game build revision mismatch&#8221; error right after a GTA V update is different: it usually clears once both sides update, and players can switch their FiveM update channel (Release, Beta or Latest) in the client&#8217;s game settings meanwhile.<\/p>\n<h2 id=\"make-a-fivem-test-server\">Make a FiveM test server<\/h2>\n<p>A FiveM test server lets you try a new script or framework update without breaking the live city. The simplest version runs on your own PC with <code>sv_lan true<\/code>, which keeps it off the public list and skips the license key check. On Enhanced you can also set <code>sv_devMode true<\/code>, which turns on developer mode for joining clients and caps the server at 8 players; never use it in production.<\/p>\n<p>If testers need to join from outside, run a second server with its own key (you can hold three active keys per account) and a copy of the live <code>server.cfg<\/code> and resources.<\/p>\n<h2 id=\"troubleshooting-common-fivem-server-errors\">Troubleshooting common FiveM server errors<\/h2>\n<table>\n<thead>\n<tr>\n<th>Error or symptom<\/th>\n<th>Most likely cause<\/th>\n<th>Fix<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>&#8220;Failed to fetch server variables&#8221; or stuck on &#8220;Requesting server variables&#8221;<\/td>\n<td>The player can&#8217;t reach the server&#8217;s TCP port (CURL error 28 means it timed out)<\/td>\n<td>If other servers work, it&#8217;s the server: check TCP 30120 forwarding and firewall, then <code>info.json<\/code><\/td>\n<\/tr>\n<tr>\n<td>&#8220;Failed to connect to server after 3 attempts&#8221; \/ &#8220;Connecting to server: attempt 3&#8221;<\/td>\n<td>TCP forwarded but UDP 30120 isn&#8217;t, or a firewall blocks UDP<\/td>\n<td>Forward and allow UDP 30120 as well<\/td>\n<\/tr>\n<tr>\n<td>Players can&#8217;t connect to the FiveM server at all<\/td>\n<td>Server down, crashed or still starting<\/td>\n<td>Open <code>http:\/\/ip:30120\/info.json<\/code>; no answer means the server isn&#8217;t up<\/td>\n<\/tr>\n<tr>\n<td>Server missing from the list or shown as private<\/td>\n<td><code>sv_master1 \"\"<\/code> is active, or ports aren&#8217;t reachable<\/td>\n<td>Comment the line out with <code>#<\/code>, fix forwarding, wait up to 8 minutes<\/td>\n<\/tr>\n<tr>\n<td>&#8220;Server artifact version is outdated&#8221; or a red end-of-life warning<\/td>\n<td>Artifacts too old<\/td>\n<td>Update to the current Recommended build<\/td>\n<\/tr>\n<tr>\n<td>Server stuck at 48 slots<\/td>\n<td>No Element Club tier, or <code>sv_maxclients<\/code> not raised<\/td>\n<td>Subscribe, use the latest artifact, raise <code>sv_maxclients<\/code>, restart<\/td>\n<\/tr>\n<tr>\n<td>&#8220;You lack the required entitlement to use&#8230;&#8221;<\/td>\n<td>A paid resource bought on another Cfx.re account, or the wrong key<\/td>\n<td>Check the key; transfer the asset in the Portal<\/td>\n<\/tr>\n<tr>\n<td>FiveM keeps crashing when joining one server (or hangs on a black screen)<\/td>\n<td>Usually that server&#8217;s resources, not the player&#8217;s PC<\/td>\n<td>Players: try Cfx.re&#8217;s test server (<code>cfx.re\/join\/y4lg95<\/code>); owners: check the newest resource first<\/td>\n<\/tr>\n<tr>\n<td>Very slow server start on Windows<\/td>\n<td>Microsoft Defender scanning FXServer files<\/td>\n<td>Add an exclusion: <code>Add-MpPreference -ExclusionPath 'C:\\FXServer\\'<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"how-to-clear-the-fivem-cache\">How to clear the FiveM cache<\/h3>\n<p>If one server&#8217;s cars or clothing load wrong, players can clear the cache: close FiveM, open the FiveM folder (<kbd>Win<\/kbd>+<kbd>R<\/kbd>, <code>%localappdata%\/FiveM<\/code>), go to <em>FiveM Application Data \u2192 data<\/em> and delete <code>server-cache-priv<\/code>. The next join re-downloads everything custom on that server, so the first load is slow.<\/p>\n<h2 id=\"premade-servers-leaks-and-the-rules\">Premade servers, leaks and the rules<\/h2>\n<p>You&#8217;ll find premade and pre-built FiveM servers for sale, and Discord servers full of &#8220;leaks&#8221;. Both are risky. Paid resources should only come through the Cfx.re Marketplace or Tebex, and Rockstar&#8217;s agreement forbids storefronts that bundle and sell other people&#8217;s server content, so a pre-built pack of someone else&#8217;s paid scripts is a red flag.<\/p>\n<ul>\n<li><strong>Leaked resources often don&#8217;t work.<\/strong> Escrowed assets only start on a server whose Cfx.re account owns them.<\/li>\n<li><strong>They can be dangerous.<\/strong> Cfx.re warns about &#8220;prohibited logic&#8221;: code that infects your other resources.<\/li>\n<li><strong>Monetization has one route.<\/strong> Server stores must use Tebex. Loot boxes, gambling, cash-outs and selling in-game currency for real money are banned.<\/li>\n<li><strong>How to report a FiveM server:<\/strong> in FiveM, open <em>Browse Servers<\/em>, select the server and click <em>Report Server<\/em>, or use the form on support.cfx.re. If you&#8217;ve been banned from a server, that&#8217;s between you and its owners; Cfx.re doesn&#8217;t handle server bans.<\/li>\n<\/ul>\n<h2 id=\"skip-the-setup-rent-a-fivem-server\">Skip the setup: rent a FiveM server<\/h2>\n<p>Making a FiveM server yourself means a PC that never sleeps, two ports forwarded, artifacts to update before they expire, and a <code>server.cfg<\/code> that grows with every script. <a href=\"https:\/\/gameteam.io\/gta-5-server-hosting\">GTA 5 server hosting<\/a> on GameTeam skips the machine part: you bring your Cfx.re key, pay per GB of RAM (from $0.49\/GB a week, never per slot), and there&#8217;s nothing to forward. The built-in AI copilot handles the fiddly parts. Tell it &#8220;I uploaded a car pack, add it after qb-core and restart&#8221; and it edits <code>server.cfg<\/code> for you, or ask &#8220;why won&#8217;t the city start?&#8221; and it reads the console and names the resource that failed. Already set up? Compare plans on our <a href=\"https:\/\/gameteam.io\/gta-5-server-hosting\">FiveM server hosting<\/a> page.<\/p>\n<h2 id=\"faq\">FAQ<\/h2>\n<h3 id=\"how-much-does-it-cost-to-make-a-fivem-server\">How much does it cost to make a FiveM server?<\/h3>\n<p>Nothing for the software: FXServer, txAdmin and the server key are free. You pay for the machine, either your own PC and electricity or hosting (on GameTeam, a 4 GB server is $1.96 a week). More than 48 players also needs a paid Element Club subscription from Cfx.re.<\/p>\n<h3 id=\"is-fivem-rp-free-to-play\">Is FiveM RP free to play?<\/h3>\n<p>FiveM itself is free, but every player needs their own PC copy of GTA V. Individual roleplay servers can sell perks through Tebex; joining is free on most.<\/p>\n<h3 id=\"is-gta-fivem-legal\">Is GTA FiveM legal?<\/h3>\n<p>Yes. FiveM is operated by Rockstar Games under its Creator Platform License Agreement. Using pirated copies of GTA V, leaked resources or banned monetization is what breaks the rules.<\/p>\n<h3 id=\"is-fivem-shutting-down\">Is FiveM shutting down?<\/h3>\n<p>No. Rockstar runs FiveM and launched FiveM for GTAV Enhanced in early access. The red &#8220;end-of-life&#8221; message players sometimes see means that one server runs artifacts too old to join.<\/p>\n<h3 id=\"is-a-fivem-server-the-same-as-a-gta-v-online-server\">Is a FiveM server the same as a GTA V Online server?<\/h3>\n<p>No. GTA Online sessions run on Rockstar&#8217;s own servers with Rockstar&#8217;s content. A FiveM server is run by a community with its own map, rules and scripts, and you join it through the FiveM client instead of GTA Online.<\/p>\n<h3 id=\"can-i-play-fivem-on-ps5-or-xbox\">Can I play FiveM on PS5 or Xbox?<\/h3>\n<p>No. FiveM is made only for the PC version of GTA V, and Cfx.re has no plans for console support.<\/p>\n","protected":false},"excerpt":{"rendered":"To make a FiveM server you need three things: the free FXServer files (Cfx.re calls them server artifacts),&hellip;\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[163],"tags":[],"class_list":["post-3798","post","type-post","status-publish","format-standard","category-gta-5-tutorials","vision-entry","vision-video-wrap"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Make a FiveM Server: GTA 5 Dedicated Server Setup, Requirements and Ports - GameTeam - Blog<\/title>\n<meta name=\"description\" content=\"How to make a FiveM server for GTA 5: requirements, the free Cfx.re key, txAdmin or manual setup, port 30120, artifacts and the errors players hit.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gameteam.io\/blog\/gta-5-dedicated-server-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Make a FiveM Server: GTA 5 Dedicated Server Setup, Requirements and Ports - GameTeam - Blog\" \/>\n<meta property=\"og:description\" content=\"How to make a FiveM server for GTA 5: requirements, the free Cfx.re key, txAdmin or manual setup, port 30120, artifacts and the errors players hit.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gameteam.io\/blog\/gta-5-dedicated-server-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"GameTeam - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-27T14:10:49+00:00\" \/>\n<meta name=\"author\" content=\"gameteam\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"gameteam\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"16 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/gta-5-dedicated-server-guide\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/gta-5-dedicated-server-guide\\\/\"},\"author\":{\"name\":\"gameteam\",\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/#\\\/schema\\\/person\\\/0cc694e709c1805f635ede3a5e1dbf83\"},\"headline\":\"How to Make a FiveM Server: GTA 5 Dedicated Server Setup, Requirements and Ports\",\"datePublished\":\"2026-10-27T14:10:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/gta-5-dedicated-server-guide\\\/\"},\"wordCount\":2979,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/#organization\"},\"articleSection\":[\"GTA 5 (FiveM) Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/gameteam.io\\\/blog\\\/gta-5-dedicated-server-guide\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/gta-5-dedicated-server-guide\\\/\",\"url\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/gta-5-dedicated-server-guide\\\/\",\"name\":\"How to Make a FiveM Server: GTA 5 Dedicated Server Setup, Requirements and Ports - GameTeam - Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/#website\"},\"datePublished\":\"2026-10-27T14:10:49+00:00\",\"description\":\"How to make a FiveM server for GTA 5: requirements, the free Cfx.re key, txAdmin or manual setup, port 30120, artifacts and the errors players hit.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/gta-5-dedicated-server-guide\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gameteam.io\\\/blog\\\/gta-5-dedicated-server-guide\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/gta-5-dedicated-server-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Minecraft Tutorials\",\"item\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/category\\\/minecraft-tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Make a FiveM Server: GTA 5 Dedicated Server Setup, Requirements and Ports\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/\",\"name\":\"GameTeam - Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/#organization\",\"name\":\"GameTeam - Blog\",\"url\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/gameteam.io\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/image_2023-11-04_031100865.png?fit=837%2C167&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/gameteam.io\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/image_2023-11-04_031100865.png?fit=837%2C167&ssl=1\",\"width\":837,\"height\":167,\"caption\":\"GameTeam - Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/#\\\/schema\\\/person\\\/0cc694e709c1805f635ede3a5e1dbf83\",\"name\":\"gameteam\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/image_2023-11-17_210836342-96x96.png\",\"url\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/image_2023-11-17_210836342-96x96.png\",\"contentUrl\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/image_2023-11-17_210836342-96x96.png\",\"caption\":\"gameteam\"},\"sameAs\":[\"https:\\\/\\\/gameteam.io\\\/blog\"],\"url\":\"https:\\\/\\\/gameteam.io\\\/blog\\\/author\\\/gameteam\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Make a FiveM Server: GTA 5 Dedicated Server Setup, Requirements and Ports - GameTeam - Blog","description":"How to make a FiveM server for GTA 5: requirements, the free Cfx.re key, txAdmin or manual setup, port 30120, artifacts and the errors players hit.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gameteam.io\/blog\/gta-5-dedicated-server-guide\/","og_locale":"en_US","og_type":"article","og_title":"How to Make a FiveM Server: GTA 5 Dedicated Server Setup, Requirements and Ports - GameTeam - Blog","og_description":"How to make a FiveM server for GTA 5: requirements, the free Cfx.re key, txAdmin or manual setup, port 30120, artifacts and the errors players hit.","og_url":"https:\/\/gameteam.io\/blog\/gta-5-dedicated-server-guide\/","og_site_name":"GameTeam - Blog","article_published_time":"2026-10-27T14:10:49+00:00","author":"gameteam","twitter_card":"summary_large_image","twitter_misc":{"Written by":"gameteam","Est. reading time":"16 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/gameteam.io\/blog\/gta-5-dedicated-server-guide\/#article","isPartOf":{"@id":"https:\/\/gameteam.io\/blog\/gta-5-dedicated-server-guide\/"},"author":{"name":"gameteam","@id":"https:\/\/gameteam.io\/blog\/#\/schema\/person\/0cc694e709c1805f635ede3a5e1dbf83"},"headline":"How to Make a FiveM Server: GTA 5 Dedicated Server Setup, Requirements and Ports","datePublished":"2026-10-27T14:10:49+00:00","mainEntityOfPage":{"@id":"https:\/\/gameteam.io\/blog\/gta-5-dedicated-server-guide\/"},"wordCount":2979,"commentCount":0,"publisher":{"@id":"https:\/\/gameteam.io\/blog\/#organization"},"articleSection":["GTA 5 (FiveM) Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/gameteam.io\/blog\/gta-5-dedicated-server-guide\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/gameteam.io\/blog\/gta-5-dedicated-server-guide\/","url":"https:\/\/gameteam.io\/blog\/gta-5-dedicated-server-guide\/","name":"How to Make a FiveM Server: GTA 5 Dedicated Server Setup, Requirements and Ports - GameTeam - Blog","isPartOf":{"@id":"https:\/\/gameteam.io\/blog\/#website"},"datePublished":"2026-10-27T14:10:49+00:00","description":"How to make a FiveM server for GTA 5: requirements, the free Cfx.re key, txAdmin or manual setup, port 30120, artifacts and the errors players hit.","breadcrumb":{"@id":"https:\/\/gameteam.io\/blog\/gta-5-dedicated-server-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gameteam.io\/blog\/gta-5-dedicated-server-guide\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/gameteam.io\/blog\/gta-5-dedicated-server-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gameteam.io\/blog\/"},{"@type":"ListItem","position":2,"name":"Minecraft Tutorials","item":"https:\/\/gameteam.io\/blog\/category\/minecraft-tutorials\/"},{"@type":"ListItem","position":3,"name":"How to Make a FiveM Server: GTA 5 Dedicated Server Setup, Requirements and Ports"}]},{"@type":"WebSite","@id":"https:\/\/gameteam.io\/blog\/#website","url":"https:\/\/gameteam.io\/blog\/","name":"GameTeam - Blog","description":"","publisher":{"@id":"https:\/\/gameteam.io\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gameteam.io\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/gameteam.io\/blog\/#organization","name":"GameTeam - Blog","url":"https:\/\/gameteam.io\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gameteam.io\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/gameteam.io\/blog\/wp-content\/uploads\/2023\/11\/image_2023-11-04_031100865.png?fit=837%2C167&ssl=1","contentUrl":"https:\/\/i0.wp.com\/gameteam.io\/blog\/wp-content\/uploads\/2023\/11\/image_2023-11-04_031100865.png?fit=837%2C167&ssl=1","width":837,"height":167,"caption":"GameTeam - Blog"},"image":{"@id":"https:\/\/gameteam.io\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/gameteam.io\/blog\/#\/schema\/person\/0cc694e709c1805f635ede3a5e1dbf83","name":"gameteam","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gameteam.io\/blog\/wp-content\/uploads\/2023\/11\/image_2023-11-17_210836342-96x96.png","url":"https:\/\/gameteam.io\/blog\/wp-content\/uploads\/2023\/11\/image_2023-11-17_210836342-96x96.png","contentUrl":"https:\/\/gameteam.io\/blog\/wp-content\/uploads\/2023\/11\/image_2023-11-17_210836342-96x96.png","caption":"gameteam"},"sameAs":["https:\/\/gameteam.io\/blog"],"url":"https:\/\/gameteam.io\/blog\/author\/gameteam\/"}]}},"_links":{"self":[{"href":"https:\/\/gameteam.io\/blog\/wp-json\/wp\/v2\/posts\/3798","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gameteam.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gameteam.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gameteam.io\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gameteam.io\/blog\/wp-json\/wp\/v2\/comments?post=3798"}],"version-history":[{"count":0,"href":"https:\/\/gameteam.io\/blog\/wp-json\/wp\/v2\/posts\/3798\/revisions"}],"wp:attachment":[{"href":"https:\/\/gameteam.io\/blog\/wp-json\/wp\/v2\/media?parent=3798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gameteam.io\/blog\/wp-json\/wp\/v2\/categories?post=3798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gameteam.io\/blog\/wp-json\/wp\/v2\/tags?post=3798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}