StruxaEggs Explorer

Garrys Mod

Game

Garrys Mod, is a sandbox physics game created by Garry Newman, and developed by his company, Facepunch Studios.

Author: support@pterodactyl.ioSource: pterodactyl/game-eggsUpdated: 5/24/2026

Startup Command

./srcds_run -game garrysmod -console -port {{SERVER_PORT}} +ip 0.0.0.0 +host_workshop_collection {{WORKSHOP_ID}} +map {{SRCDS_MAP}} +gamemode {{GAMEMODE}} -strictportbind -norestart +sv_setsteamaccount {{STEAM_TOKEN}} +maxplayers {{MAX_PLAYERS}}  -tickrate {{TICKRATE}}  $( [ "$LUA_REFRESH" == "1" ] || printf %s '-disableluarefresh' )

Docker Images

LabelImage
ghcr.io/ptero-eggs/games:sourceghcr.io/ptero-eggs/games:source

Environment Variables

NameVariableDefaultRules
Map
The default map for the server.
SRCDS_MAPgm_flatgrassrequired|string|alpha_dash
Steam Account Token
The Steam Account Token required for the server to be displayed publicly.
STEAM_TOKENnonenullable|string|alpha_num|size:32
Source AppID
Required for game to update on server restart. Do not modify this.
SRCDS_APPID4020required|integer|in:4020
Workshop ID
The ID of your workshop collection (the numbers at the end of the URL)
WORKSHOP_IDnonenullable|integer
Gamemode
The gamemode of your server.
GAMEMODEsandboxrequired|string
Max Players
The maximum amount of players allowed on your game server.
MAX_PLAYERS32required|integer|max:128
Tickrate
The tickrate defines how fast the server will update each entity's location.
TICKRATE22required|integer|max:100
Lua Refresh
0 = disable Lua refresh, 1 = enable Lua refresh
LUA_REFRESH0required|boolean

Features

gsl_tokensteam_disk_space