Guides
FiveM server requirements
How much memory, processor and storage a FiveM roleplay server needs, what makes it need more, and what else you need before players can join.
What a FiveM server needs #
To run a FiveM server (FXServer) you need:
- A server that is always on, running Windows or Linux, with a public IP address.
- A license key from Cfx.re. It is free: see Your license key.
- Port 30120 open for both TCP and UDP. That is the port players connect to. txAdmin, the web panel most servers are run from, uses port 40120 by default.
- A MySQL or MariaDB database if you use a framework such as ESX, QBCore or Qbox. Almost every roleplay server does.
- Enough memory, processor and storage for your players and your resources. That is the rest of this page.
Processor: speed matters more than cores #
Most of a FiveM server's work runs on one main thread. A processor with fast cores keeps the server smooth with more players; extra cores help less. Badly written resources are the most common cause of lag. txAdmin's resource monitor shows which ones use the most time.
Memory #
Memory use grows with:
- Resources. Every script, map (MLO), vehicle and clothing pack is loaded into memory.
- Players. Each connected player adds to it.
- The database, if it runs on the same server.
A fresh server with a framework and a few scripts runs comfortably in 2 GB. A full roleplay server with hundreds of resources, custom cars and maps needs much more.
Storage #
The server files themselves are small. What takes the space is your resources (custom vehicles and maps can be several gigabytes), the database, logs, and backups. NVMe storage makes the server start, and resources load, noticeably faster.
Bandwidth #
Players download your custom resources when they first join: cars, maps and clothing. A server with lots of custom content needs a fast connection so that joining does not take forever. Keeping streamed files small (compressed textures, no unused assets) helps every player.
Which size for your server #
Our FiveM plans, by memory and player count:
| Memory | Players | A good fit for |
|---|---|---|
| 2 GB | Up to 16 | Trying FiveM out, a development server, or a small group of friends |
| 4 GB | Up to 32 | A small community with a framework and a moderate number of scripts |
| 8 GB | Up to 48 | An established community with custom vehicles and maps |
| 16 GB | Up to 48 | A heavily modded server with a lot of custom content |
Every plan comes with txAdmin, SFTP access, a MySQL database, daily backups and DDoS protection. Prices and the rest of each plan are on FiveM server hosting.
Tip
Start with the size that fits today. When your community grows, ask us and we will help you move up.
Before players can join #
- Get a license key.
- Set up txAdmin and choose a framework recipe.
- Upload your resources and add them to
server.cfg. - Connect to your server to test it.
Erupted Hosting is not approved, sponsored, or endorsed by Rockstar Games.