{# Generated from docs/custom-server-templates.md by scripts/build-custom-template-help.py. #}
Full instructions: create, install and update custom game templates

Custom server templates: administrator and user guide

Requires SteamCMD Panel 0.4.0a30 or later for direct downloads. Administrators can create, publish and share dedicated-server templates without editing the panel’s source. Users install from the active game catalog within their permissions and server allowance. Existing ready-made templates still work.

1. Choose the installation method

Method What happens App ID
Upload server files manually Creates an empty game folder; upload the dedicated-server files afterward. 0
Anonymous SteamCMD Downloads and updates the dedicated server through SteamCMD. Linux and Wine presets only. Dedicated-server App ID
Download from URL Downloads a public HTTPS file directly inside the game container and extracts it if needed. 0

Direct downloads support ZIP, TAR (.tar, .tar.gz, .tgz, .tar.bz2, .tar.xz) and a single JAR, executable or script. Use the publisher’s dedicated-server package, not the game client. A compatible dedicated-server runtime is required.

2. Create a direct-download template

  1. Sign in as an administrator and open Template creator.
  2. Expand Create from scratch and choose a runtime:
  3. Linux native / shell script for a compatible Linux dedicated server.
  4. Java 17, Java 21 or Java 25 JAR for the required Java version.
  5. Windows executable through Wine for a compatible Windows server.
  6. Select Download from URL and leave Steam dedicated-server App ID at 0.
  7. Enter the Direct HTTPS download URL. Use the actual file URL, not a web page containing a download button. HTTPS redirects to other public HTTPS addresses are supported. Links requiring browser login, cookies, custom authentication, HTTP, private/local addresses or nonstandard ports are not. URLs are included in exported templates; do not embed private credentials.
  8. Choose Package format explicitly. ZIP and TAR are extracted; a single file is saved at the executable/JAR path you specify.
  9. Enter the publisher’s SHA-256 checksum, when available. It must contain 64 hexadecimal characters. A mismatch fails installation before game files are changed. Leaving it blank is allowed; HTTPS is still verified, and the calculated checksum appears in the console. Prefer a version-specific URL with its matching checksum when repeatable installations matter.
  10. Set Strip leading folders, using the examples below. Use 0 for a single file. This controls the package layout, not the game’s working directory.
  11. Enter Server executable or JAR relative to the final game folder. Enter the primary internal game port and protocol. Extra ports are added below.
  12. Enter a reusable Template ID, display name and version, such as example-server, Example Server, 1.0.0. Click Create Blank Draft. Creating or reviewing a draft does not download or start a game. For a custom SteamCMD draft, correcting the App ID updates the reviewed/exported package and invalidates an earlier review. If that Template ID already has a published version using another App ID, use a new Template ID for the corrected game; existing installed download identities are protected.

The URL and download settings stay editable while reviewing a URL draft. If you need to change the installation method or runtime, create a new draft with those choices. Make sure you save/export any previous work first.

How to choose Strip leading folders
Inside the downloaded archive Strip folders Executable in the template
server.sh at the archive root 0 server.sh
bin/server 0 bin/server
release-1.2/bin/server 1 bin/server
vendor/release-1.2/bin/server 2 bin/server
Single downloaded server.jar 0 server.jar

All entries are installed after stripping that many leading path components. Check that doing so does not drop required files or collapse different paths onto the same filename. If the expected executable is missing, installation fails before merging the extracted files into the game folder.

3. Configure the reusable launch contract

  1. Add Resource and compatibility notice information: RAM, disk space, game version, license requirements and anything the user must supply or accept.
  2. Review the Default port mappings and Host-port rules. Container ports are the internal ports used by launch arguments/configuration. Host ports are suggested public ports and can be changed through server Settings within the allowed ranges. Add query/game traffic ports required by this game.
  3. Open Executable and launch contract. Enter arguments one argument per line, without surrounding shell quotes. Spaces within one line remain part of that argument. Shell substitutions are not evaluated.
  4. Enter any required library directories and a configuration directory, relative to the game folder. Use . as a library directory when shared libraries are located at the game-folder root. For App ID 90 / HLDS, set SteamCMD content mod to the required mod, for example dod for Day of Defeat. That selection applies to SteamCMD downloads, independently of the launch -game argument. If the publisher specifies a separate Steam game App ID, enter it in the optional field: original Day of Defeat downloads through App 90, selects mod dod, and runs with Steam game App ID 30. Set Working directory to . for the game root, or a subfolder such as bin. The executable path remains relative to the game root.
  5. Set Save/configuration directories to preserve during updates to the game’s real locations, one per line. The defaults saves and config are examples; replace them as appropriate. Also include mod/plugin data folders that updates must preserve. Paths must stay inside the game folder. Persistent folders protect data during updates; they do not replace scheduled backups.
  6. For Java, put JVM options such as -Xmx2G in JVM options, one per line. Put game arguments such as nogui in Arguments. The launcher produces java [JVM options] -jar [JAR path] [game arguments].
  7. Choose SIGTERM or SIGINT, according to the server’s shutdown support, and a timeout of 10–120 seconds. The game needs to save and exit when it receives that signal. Launch scripts should use exec for the server process. Games that require a special save command may need a console integration.
  8. If needed, define editable user settings and INI mappings as described below.
Editable user settings

In Define custom editable settings (advanced), supply a JSON array of field objects. For example:

[
  {
    "id": "Players",
    "label": "Maximum players",
    "description": "Player limit",
    "type": "integer",
    "default": 16,
    "required": true,
    "minimum": 1,
    "maximum": 64,
    "choices": [],
    "editable": true
  }
]

Reference that value using two argument lines:

--players
__GM_FIELD_Players__

Supported field types are text, password, integer, boolean and enum. Keep password defaults empty. Enum fields need their allowed choices. INI mappings use the field ID and an installation-relative .ini target under the configuration directory. An example mapping array is:

[
  {"path": "config/server.ini", "section": "Server", "key": "MaxPlayers", "field": "Players"}
]

Use config as the configuration directory for this example. Unrelated INI entries are preserved. Custom JSON/XML configuration generation is not provided; use the game’s existing files through Files or an appropriate launch mechanism.

4. Review, publish and share

  1. Click Review Template, examine the exact definition and compatibility messages, then check the acknowledgement. The status beside Publish tells you whether review is needed, the acknowledgement is missing, or a specific validation error is blocking publication.
  2. Click Publish Reviewed Template to import and activate that version. Editing any launch/download settings requires a fresh review.
  3. The active template appears in Install game for authorized users with remaining server allocations. Publishing does not create a game instance.
  4. Use Download Template JSON to export a portable package. Import it through Template Library on another panel with this feature, then review/activate it there. The package contains the download instructions, not game files.
  5. Prepare the runtime as administrator using the existing image preparation controls. An ordinary user cannot build missing runtime images.

5. Install and run a server as a user

  1. Open Install game, select the active template and enter a server name.
  2. Click Download and Create Server. Open the server’s console to watch download progress, checksum verification, extraction and installation.
  3. Wait for Download complete. Configure this server in Settings before Start. The download container stops when complete. This is expected.
  4. Open Settings, enter the exposed game settings, choose available host ports and save. Keep arguments/configuration using the correct internal ports.
  5. Click Start, inspect the console and test a player connection. Running means the process is running; it does not prove this game is joinable.
  6. Allow the selected public game/query ports in your firewall where necessary. Public address and host port are what players use to connect.

For upload templates, step 2 prepares an empty folder instead. Upload individual files or use Extract ZIP in Files, matching the executable layout, then continue with Settings and Start. Native executables receive owner execute permission when started. The browser upload limits still apply: 64 MB per file or ZIP, 64 MB per extracted file and 512 MB expanded ZIP. Direct downloads use separate, larger limits and do not pass through the browser.

6. Update a URL-installed server

  1. Make a backup and stop the game cleanly.
  2. Click Update. The server downloads the URL stored in its installed template again, checks its configured checksum and stages the package before merging game files. Declared persistent directories are restored afterward, including when the download or extraction fails.
  3. Check the console for completion, then start and test the server again. Updating game files does not automatically change the installed template.

A pinned URL/checksum installs the same package again. If a moving URL returns a new file, the old checksum will reject it. Change the URL/checksum in a new reviewed template version for new installations. Existing instances keep their installed template version; changing the catalog does not retarget them. For an existing instance needing a different pinned source, use a new instance with the updated template and restore its game-compatible saves/configuration, or replace the game files manually while stopped. There is no in-place template migration control in this release.

New packages merge into the game folder; files removed upstream are not deleted automatically. If a merge is interrupted, installation is incomplete and must be retried before Start. Save restoration does not roll back every changed binary. Take a backup first. Upload installations update by replacing files manually; SteamCMD installations retain their normal SteamCMD update behavior.

7. Limits and troubleshooting

Custom templates provide log output and signal-based stop. Interactive RCON/stdin commands, configurable readiness checks, arbitrary container images and authenticated download sessions need separate integrations. Templates never grant Docker privileges or access to arbitrary host paths. Test installation, settings, start, stop/save, restart, update, backups and a player join before making a new game available to other users.

Independent engine updates and AMP requirements

From core 0.4.0a34, administrators can update the template engine separately: open Template library → Template engine extensions, upload a signed engine ZIP, review compatibility, acknowledge the management-code update and activate it. The management services restart briefly; game containers stay running. A core update is not needed for each compatible importer or adapter release.

AMP drafts preserve their unresolved translation requirements inside exported JSON. Configuration items require an actual correction and a recorded resolution note. Required engine capabilities cannot be waived: install a compatible signed engine release and build a fresh draft. A draft that passes review still needs installation, startup and player testing. Existing approved template versions are preserved.

Use Restore a previous engine on the same page to select an installed or bundled version. Restoration is blocked if a saved template requires a newer engine or its launch contract would change. Only publisher-signed engine ZIPs are accepted; an AMP ZIP or a template JSON is not an engine package. Activation targets the Ubuntu systemd installation. See the release's template-engine-updates.md for the complete operator and publisher instructions.