Prerequisites
The machine, accounts and software a Cobalt server needs.
Machine
| Minimum | Recommended | |
|---|---|---|
| OS | Windows 10 or Windows Server 2019 | Windows Server 2022 or newer |
| CPU | 4 cores | 4+ cores with high single-thread speed |
| RAM | 8 GB | 16 GB |
| Disk | 20 GB SSD | NVMe SSD |
| Network | Public IP with ports open | Same, on a host with DDoS protection |
FXServer's main thread runs on one core, so clock speed matters more than core count.
Cobalt is built and tested on Windows. FXServer also runs on Linux, and Cobalt has no Windows-only code, but Linux isn't tested yet.
Ports
| Port | Protocol | Used by | Open to |
|---|---|---|---|
| 30120 | TCP and UDP | Game connections | Everyone |
| 40120 | TCP | txAdmin web panel | You only, ideally |
| 3306 | TCP | MariaDB | Nobody. Keep it on 127.0.0.1. |
Open 30120 in Windows Firewall and in your host's firewall. Leave 3306 closed.
Accounts
- Cfx.re account, at portal.cfx.re. txAdmin signs you in with it.
- Server license key, from portal.cfx.re/servers/registration-keys. It's free.
- A legal copy of GTA V for every player, yourself included. The server itself doesn't need the game.
Software
| Software | Version | Notes |
|---|---|---|
| FXServer | 38004 or newer | Ships with txAdmin and Node.js 22, which cobalt_mysql needs. Nothing else to install for it. |
| MariaDB | 12.3 LTS recommended, 10.11 at least | Cobalt is tested on MariaDB only. MySQL 8 may work but isn't tested. |
| Visual C++ Redistributable | 2015 to 2022, x64 | FXServer won't start on Windows without it. |
| Git | Any | Only for the manual install and for pulling updates. |
You don't need to install Node.js, pnpm or any build tools. Every Cobalt resource ships with its interface already built.
Game build
Cobalt enforces game build 3889 (sv_enforceGameBuild 3889 in server.cfg). Players with an up-to-date GTA V have it. Change it only if a resource you add needs a different build.