StruxaEggs Explorer

FiveM

Game

A new FiveM /RedM egg for the latest builds due to recent changes in FiveM

Author: parker@parkervcp.comSource: pterodactyl/game-eggsUpdated: 5/24/2026

Startup Command

$(pwd)/alpine/opt/cfx-server/ld-musl-x86_64.so.1 --library-path "$(pwd)/alpine/usr/lib/v8/:$(pwd)/alpine/lib/:$(pwd)/alpine/usr/lib/" -- $(pwd)/alpine/opt/cfx-server/FXServer +set citizen_dir $(pwd)/alpine/opt/cfx-server/citizen/ +set sv_licenseKey {{FIVEM_LICENSE}} +set steam_webApiKey {{STEAM_WEBAPIKEY}} +set sv_maxplayers {{MAX_PLAYERS}} $( [ "$TXADMIN_ENABLE" == "1" ] || printf %s '+exec server.cfg' )

Docker Images

LabelImage
ghcr.io/ptero-eggs/yolks:debianghcr.io/ptero-eggs/yolks:debian

Environment Variables

NameVariableDefaultRules
fivem license
Required to start the service. Get your keys at https://portal.cfx.re/
FIVEM_LICENSEnonerequired|string|max:33
Max Players
Set the fivem max play count
MAX_PLAYERS48required|integer|between:1,48
Server Hostname
The name that shows up in the server browser
SERVER_HOSTNAMEMy new FXServer!required|string
fivem version
The fivem version that is to be installed. Invalid versions will default to recommended. An example is `6013-d8ae399d15680da569022f57ab7f2474d307c821` You can get the latest version from here - https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/
FIVEM_VERSIONrecommendedrequired|string|max:50
Download Link
This is the link to download fivem from. This is only used in the install script. The file you link to needs to be an fx.tar.zx file. Example: https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/6013-d8ae399d15680da569022f57ab7f2474d307c821/fx.tar.xz
DOWNLOAD_URLnonestring|nullable
Steam Web Api Key
Use your Steam WebApiKey or set to 'none'. Get your key at https://steamcommunity.com/dev/apikey/
STEAM_WEBAPIKEYnonerequired|string
txAdmin Port
The port for the txAdmin panel
TXHOST_TXA_PORT40120required|string|max:20
Enable txadmin
Enables txadmin. set to 1 to enable. (default is 0 for false)
TXADMIN_ENABLE0required|boolean
Game Name
Restricts to only running either FiveM or RedM servers. The setup page will only show recipes for the game specified below ! Options are : fivem or redm
TXHOST_GAME_NAMEfivemrequired|in:fivem,redm
Game type
Value to be used : gta5 for FiveM and rdr3 for RedM ! Dont fill in any value it reads the game name variable and set the correct value for it !
GAME_TYPEnonestring|nullable
TXHOST DATA PATH
Location for TX Admin
TXHOST_DATA_PATH/home/container/txDatarequired|string