Self-Host a FiveM Server on Your Own Linux Server
In short: ServerSheriff lets you self-host a FiveM server and manage it in your browser, with txAdmin already on board. One thing up front: ServerSheriff does not rent out servers. You need your own Linux server, for example a VPS for a few euros a month, plus your own Cfx.re license key. ServerSheriff is the panel for it.
Set up your FiveM server in 4 steps
- Connect a node: Enter the IP address, SSH port and root login of a freshly installed Debian 13 server. The panel sets it up for you, Docker included.
- Pick FiveM and a build: Create a new game server, choose FiveM and pick the server version (FXServer build) from the list. When in doubt, take the newest.
- Basics and key: Set name, RAM, CPU and slots. Slots end up as
sv_maxclientsin yourserver.cfg. Add your Cfx.re license key tosv_licenseKeyinserver.cfg. - Start and set up txAdmin: On first start, the console shows the address and PIN for txAdmin. Use them to set up txAdmin in your browser.
What the panel does for FiveM
- txAdmin included: The image ships with txAdmin. Manage players, resources and restarts in its web interface, just like you know it from FiveM.
- Pick any build: When creating the server, choose from many FXServer builds. Take exactly the version that fits your resources.
server.cfgin the file manager: The file manager opens thedata/folder with yourserver.cfgand resources. The panel creates the file on first start and afterwards only touches slots and ports. Everything else stays the way you set it.- Resources via SFTP: Upload larger resource packs via SFTP and start them in
server.cfgwithensure. - Second server, no port mess: The panel sets game and txAdmin ports automatically, so a second FiveM server can run on the same node.
- Own container: Every server runs in its own Docker container with its own CPU and RAM limits.
Ports to open
| Port | Used for |
|---|---|
| 30120 TCP + UDP | Game, this is the one your players need |
| 40120/TCP | txAdmin (web interface for you as admin) |
These are defaults. If another server already runs on the node, the panel picks free ports and shows them to you. In your provider's firewall, open the game port for TCP and UDP. Only you need the txAdmin port.
How your players join
- Click "Copy address" in the panel. You get
IP:port. - In the FiveM client, press F8 and type
connect IP:port. - If your server is listed publicly, players can also find it in the FiveM server list.
Backups, schedules and updates
- Backups: One click saves the whole server folder, including
data/withserver.cfgand resources. Restoring works the same way. - Schedules: Plan backups, restarts or commands, for example a nightly backup followed by a restart.
- Updates: FiveM has no automatic update on start. A new version means picking a new build. On the Game page in the panel, add a new game with the new build. It gets its own folder. Copy your
server.cfgand resources over via SFTP. Take a backup first.
Limits
- You need your own license key. Without a valid Cfx.re key, the server won't start properly. The key is free from Cfx.re.
- Switching builds takes a few manual steps. New build = new game in the panel, copy data via SFTP.
- Resources live in txAdmin or in files. The panel has no resource browser of its own.
FAQ
- Do I need a license key for FiveM?
- Yes. Every FiveM server needs a key from Cfx.re. Put it into
sv_licenseKeyinserver.cfg. - Is txAdmin included?
- Yes. txAdmin is part of the image and runs on port 40120 by default.
- How much does the panel cost?
- Free: €0, 1 node, up to 5 apps. Pro: €10 per node per month. You pay your Linux server to your hosting provider.
- Can I run a RedM server too?
- Yes. RedM uses the same tech as FiveM, with txAdmin and free build choice.
Your roleplay server, on your hardware
Connect your Linux server, pick FiveM and set up txAdmin in minutes.