FiveM is the popular modification framework for running custom Grand Theft Auto V multiplayer servers, used especially for roleplay communities. Players connect with the FiveM client, and server owners run FXServer with scripts called resources. A VPS gives you full control over resources, databases and performance, which most serious communities need. This guide covers a production setup.
What You Need
- FXServer artifacts: the server build, published by Cfx.re for Linux and Windows. Use a recommended build rather than the newest untested one.
- A license key: registered on the Cfx.re portal for your server's IP address.
- txAdmin: bundled with FXServer; a web panel for setup, restarts, player management and scheduled tasks.
- A database: MariaDB or MySQL for frameworks such as ESX and QBCore, accessed through a resource such as oxmysql.
- A server data folder: your
server.cfgand resources, ideally kept in Git.
Linux or Windows?
FXServer runs on both. Linux uses fewer resources and is common on VPS servers; Windows suits teams that prefer Windows tooling or need Windows-only utilities. Our Windows RDP plans work for Windows-based setups, while a Linux VPS is usually the more efficient choice.
Setup Outline
- Create a dedicated user and directories for artifacts and server data.
- Download and extract the recommended artifacts.
- Start FXServer, open txAdmin in your browser and follow its setup to create the server from a template or your existing data.
- Install MariaDB, create a database and user, and configure the connection string.
- Run FXServer under systemd (Linux) or as a service so it starts on boot and restarts after crashes.
OneSync and Player Slots
OneSync is FiveM's server-side state system required for larger player counts and many modern scripts. Enable it in your configuration. The number of player slots you can run also depends on your Cfx.re license and any subscription tier, so check Cfx.re's current terms before advertising a slot count. More players also means more CPU, memory and bandwidth.
Ports and Firewall
- Open the game port, 30120 TCP and UDP by default (or the port you configure).
- txAdmin listens on its own port (40120 by default). Restrict it by IP, or put it behind an HTTPS reverse proxy with strong passwords and two-factor authentication.
- Never expose MariaDB publicly; bind it to localhost.
- Allow SSH only with keys (see our SSH keys guide).
Resources and Performance
Server performance in FiveM depends heavily on scripts. Poorly written resources that run loops every frame or make heavy database queries cause hitches for everyone. Use the built-in resource monitor (resmon) and txAdmin's diagnostics, remove unused resources, and prefer well-maintained ones. Index database tables used by your framework and keep MariaDB tuned (see our database tuning guide).
DDoS Protection
Popular FiveM servers are frequent DDoS targets. Choose hosting with network-level DDoS mitigation, avoid exposing extra ports, and keep the server's IP private where possible. Our DDoS protection guide explains what to look for.
Backups
Back up the MariaDB database daily (or more often for busy servers), plus your resources and configuration, to off-server storage. Keep resources in Git so changes can be reviewed and rolled back. Test restoring to a staging server.
Sizing
| Server | Suggested plan |
|---|---|
| Small community or development server | 2 vCores / 8 GB |
| Typical roleplay community with framework and MariaDB | 4 vCores / 16 GB |
| Large server with many scripts and players | 8 vCores / 32 GB |
FiveM benefits from fast single-core performance and NVMe storage. Host near your players: servers in India give Indian players lower latency than servers in Europe or the US.
Example: An Indian Roleplay Server
A roleplay community runs FXServer on a 4 vCore / 16 GB Linux VPS in Mumbai with txAdmin behind an HTTPS reverse proxy, QBCore on MariaDB, and nightly database backups to object storage. A staging server on a smaller VPS tests new scripts before they go live, and resmon reviews after every update keep frame times low.
Common Mistakes
- Exposing txAdmin or MariaDB to the internet.
- Installing dozens of unvetted resources.
- Running untested latest artifacts in production.
- No database backups.
- Hosting far from the player base.
In Short
Run recommended FXServer artifacts with txAdmin, a license key and MariaDB; enable OneSync; firewall everything except the game port; watch resource performance; use DDoS-protected hosting near players; and back up daily.
Next Steps
Register your license key, set up FXServer and txAdmin on a VPS near your players, install MariaDB, enable OneSync, lock down every port except the game port, and schedule daily backups before you invite players.
SkyRainCloud Plans for This Workload
A community FiveM server with a framework and MariaDB fits 4 vCores / 16 GB; large roleplay servers with many scripts use 8 vCores / 32 GB. Choose Linux VPS for efficiency or Windows RDP if your team prefers Windows tools.
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Intel Xeon Platinum 8269CY VPS
KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — Intel | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Business websites, small apps, scheduled jobs and bots | Order |
| VPS 2 — Intel | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| VPS 3 — Intel | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| VPS 4 — Intel | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,299/month | High-memory workloads and consolidated production servers | Check stock |
Windows RDP
Windows RDP servers in India with full Administrator access and a 1 Gbps unmetered uplink.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| RDP Plan 1 | 4 | 8 GB DDR4 | 60 GB Enterprise Disk | 1 Gbps, unmetered | ₹999/month | Data entry, virtual assistants, one MetaTrader terminal | Order |
| RDP Plan 2 | 6 | 16 GB DDR4 | 80 GB Enterprise Disk | 1 Gbps, unmetered | ₹1,799/month | Tally Prime for small teams, several browser profiles or terminals | Order |
| RDP Plan 3 | 8 | 24 GB DDR4 | 120 GB Enterprise Disk | 1 Gbps, unmetered | ₹2,499/month | Multi-user remote work, automation and SEO tools | Order |
| RDP Plan 4 | 12 | 32 GB DDR4 | 160 GB Enterprise Disk | 1 Gbps, unmetered | ₹3,499/month | Remote teams, large ERP datasets, many concurrent sessions | Order |
Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.