This repository contains a Pterodactyl egg and container build assets for running an S&Box dedicated server with Wine.
Provide a production-ready Pterodactyl egg that:
- uses
start-sboxas startup, - supports common server variables from the panel,
- runs as non-root in container environments,
- seeds runtime files from baked templates (Wine prefix and server template).
sandbox-pterodactyl.json: Pterodactyl egg export (import this into your panel).Yolk/DockerFile: Docker image build for the egg runtime.Yolk/entrypoint.sh: runtime startup logic.ref/: reference files used during development.
The egg in sandbox-pterodactyl.json is the main integration point.
Key details:
- Startup command:
start-sbox - Done detection:
Loading game|Server started - Main variables:
GAMESERVER_NAMEMAPTOKENSBOX_PROJECTSBOX_EXTRA_ARGS
At container start, Yolk/entrypoint.sh:
- Seeds Wine and server files from baked templates if missing.
- Starts
sbox-server.exeunder Wine with selected startup args.
- Build and push image (see
Yolk/README.md). - Import
sandbox-pterodactyl.jsoninto Pterodactyl. - Select your pushed image in egg settings.
- Create a server and set variables.
- Start server.
- This repo is tuned for Linux/amd64 container runtime.
- Changes to runtime behavior usually belong in
Yolk/entrypoint.sh. - Changes to panel UX and variables belong in
sandbox-pterodactyl.json.