Back to Templates
FiveM
FiveM
GameCP OfficialSandbox
Verified

FiveM

Dedicated Server Template

FiveM is a modification for Grand Theft Auto V enabling you to play multiplayer on customized dedicated servers.

v21
2/25/2026

FiveM Game Server Hosting

Deploy and manage your own FiveM dedicated server with GameCP's free game server control panel. This template provides a production-ready server configuration with one-click installation, automatic updates via SteamCMD, and full environment variable management. Whether you're hosting for a small group of friends or running a large community server, GameCP makes FiveM server administration simple and reliable.

Free Control PanelOne-Click DeployAuto UpdatesDocker Containerized
Full Hosting Guide

Ready to host FiveM?

Read our complete step-by-step guide covering installation, configuration, performance tuning, and getting your server online in minutes.

Resource Requirements

CPU Cores
4
Memory
4.0 GB(max 8 GB)
Storage
10 GBSSD

Recommended Players

32
Recommended
Min: 1Max: 128

Performance Tiers

Economy

Small RP server, 1-16 players

RAM2 GB
CPU Shares512
Recommended

Standard

Community server, 16-48 players

RAM4 GB
CPU Shares1024

Pro

Large RP community, 48-128 players

RAM8 GB
CPU Shares2048

Startup Command

#!/bin/bashBash shell with full features

Default

Default startup command

Default

Environment Variables

SERVER_NAME

Required

Server Name

Server name displayed in the server browser

Default
(empty)

MAX_PLAYERS

Required

Max Players

Maximum number of concurrent players

Default
32

FIVEM_LICENSE

Required

FiveM License Key

Required to start the server. Get your key from the [Cfx.re Portal](https://portal.cfx.re/servers/registration-keys).

Default
(empty)

STEAM_WEBAPIKEY

Steam Web API Key

Steam Web API Key for player identity. Set to `none` to disable. Get your key from the [Steam API Key](https://steamcommunity.com/dev/apikey/) page.

Default
none

FIVEM_VERSION

Required

FiveM Version

Server version to install. Use 'recommended', 'latest', or a specific build ID (e.g. 6013-d8ae399d15680da569022f57ab7f2474d307c821).

Default
recommended

TXADMIN_ENABLE

Enable txAdmin

Enable the txAdmin web panel for server management

Default
1

DOWNLOAD_URL

Custom Download URL

Optional direct download URL for a specific FiveM build (fx.tar.xz). Overrides version selection when set.

Default
(empty)

TXADMIN_PORT

RequiredRead Only

txAdmin Port

Port for the txAdmin web panel. Automatically allocated.

Default
40120

Lifecycle Scripts

Installation Script

Installation script

before installghcr.io/ptero-eggs/installers:debian

Configuration Files

Server Config

Configuration file for FiveM (file format)

//server.cfgfile
0 fields

Container Configuration

Docker Image

ghcr.io/ptero-eggs/yolks:debian

Technical Profile

Template ID

fivem

Author

GameCP Team

Last Updated

February 25, 2026

Status

Active

Configuration Metadata

Information about the origin and version of this game configuration.

Author

GameCP Team

Version

2

Source

gamecp

originalAuthor

parker@parkervcp.com

Imported: 2/8/2026, 10:08:00 PM