A FiveM VDS means running FiveM, the multiplayer server framework for GTA V, on a virtual server (VDS) that players can join 24/7. Most FiveM communities, especially roleplay (RP) servers, use an always-on server with a static IP address rather than a home computer.
In this article we explain the hardware a FiveM server needs, what to check when choosing a VDS and the basic setup steps.
Why a VDS for a FiveM Server?
- 24/7 uptime: the server stays up even when your computer is off.
- Static IP and open ports: no dealing with port forwarding and CGNAT problems on a home connection.
- Dedicated resources: the CPU, RAM and disk work only for your server.
- Privacy of your home network: players don't see your home IP address.
How Much RAM and How Many Cores Does FiveM Need?
Needs vary greatly with the number of players, the framework used (ESX, QBCore, etc.) and the number of scripts, vehicles and maps (MLOs). A general starting guide:
| Server type | Suggested starting point |
|---|---|
| Test or friends server (few players, few scripts) | 2–3 cores, 4 GB RAM |
| Small RP server | 4–5 cores, 6–8 GB RAM |
| Busy RP server with many scripts | 6 cores or more, 8 GB RAM or more |
A FiveM server is also affected by single-core CPU performance. If the database (MySQL/MariaDB) runs on the same server, RAM and disk speed needs go up; NVMe SSD makes a difference here. Monitoring resource usage and upgrading when needed is the most economical approach.
Windows or Linux?
The FiveM server (FXServer) runs on both Windows and Linux. Windows makes it easy to manage through a graphical interface over Remote Desktop, but comes with a licence cost and higher RAM use. Linux uses fewer resources and is managed from the command line. For Remote Desktop connections, see our article What is RDP.
Basic Steps to Set Up a FiveM Server
- Get a licence key: sign in to the Cfx.re portal with your account and create a server key (license key) for your server's IP address.
- Download the server files: download the current FXServer build (artifacts) for your operating system from the official source.
- Set up with txAdmin: when you run FXServer for the first time, the txAdmin web panel opens and makes setup and management easier with ready-made recipes.
- Database: if your framework requires it, install MariaDB/MySQL and configure the connection details.
- Open the ports: FiveM uses port 30120 for both TCP and UDP by default; the txAdmin panel runs on port 40120 by default. Allow the necessary ports in the firewall; keeping the txAdmin panel reachable only from your own IP address is recommended.
- Plan backups: back up the server files and database regularly.
Setup steps can change with FiveM updates; always follow the official documentation.
Performance and Security Tips
- Remove scripts you don't use; find heavy resources with txAdmin's performance tools.
- Get scripts only from trusted sources; leaked scripts can contain malicious code.
- Keep the server software and scripts up to date.
- Use strong admin passwords and give permissions to a limited number of people.
- Plan for DDoS in advance for community servers that get attacked; see our article types of DDoS attacks.
Ping and Server Location
If your players are in Turkey, a server located in Turkey gives lower latency than servers abroad. For other factors affecting ping, see our article What is ping.
ViHyper Hyper Game Plans
Hyper Game plans are VDSs located in Turkey for running game servers. At the time of writing, plans start at ₺159.90 per month with HyperPro 1 (2 cores, 2 GB RAM); for FiveM we recommend HyperPro 2 (3 cores, 4 GB, ₺219.90) or higher plans with 4 GB of RAM or more. All plans are listed with NVMe SSD and a 1000 Mbps port; you choose the operating system when ordering and install and manage the server software yourself.
Frequently Asked Questions
Does running a FiveM server cost money?
The FiveM server software is free, and a free licence key is available for basic use. Server hosting, paid scripts and optional Cfx.re subscriptions cost extra.
Do players need to own GTA V?
Yes, players connecting to FiveM need a legitimate copy of GTA V.
Does a FiveM server run on a home computer?
It does, but with limits such as keeping the computer always on, port forwarding and your home internet's upload speed. A VDS is better for a lasting community server.
Why does my FiveM server lag?
The most common causes are insufficient RAM/CPU, unoptimised scripts, a slow database and distance to the server. You can narrow down the problem with txAdmin's performance data.