Skip to content

Godot EncoreOrchestrate Godot dedicated servers on demand

Ship multiplayer faster with template-driven orchestration and the Godot Encore SDK.

Godot Encore Logo

Hosted Game Server On-Demand in less than 5 minutes!

Fastest path from build to live, joinable match.

1. Build your Godot server (headless export)

Export your dedicated Linux headless build from Godot. This is the server binary Encore will launch on demand.

2. Upload it to an Encore Server and create a template

Upload the binary to your Encore host (via SCP or the upload API) and define one template. This turns your game mode into a reusable server product:

toml
[template]
name = "Quick Match - Deathmatch"
id = "game_QkMtDm7A2x"
binary_path = "/opt/gameservers/arena/server.x86_64"
port_liveness_probe = true

args = ["--headless", "--", "--port={{port}}"]

Validate once before going live:

bash
encore validate --config-file /etc/encore/config.toml

3. Add the Godot SDK to your client project and configure it

Drop the SDK into your client project and point it to your Encore Server URL:

gdscript
const EncoreClient = preload("res://addons/encore/client/encore_client.gd")
const EncoreConfig = preload("res://addons/encore/client/encore_config.gd")

var config = EncoreConfig.new("https://encore.yourcompany.com")
var encore_client = EncoreClient.new(config)
add_child(encore_client)

4. Request a server instance on demand

Create a match exactly when a player needs one:

gdscript
var instance = await encore_client.create_instance("game_QkMtDm7A2x", {
    "max_players": "10"
})

if not instance.is_empty():
    print("Join code: %s" % instance.user_token)
    print("Connect: %s:%d" % [instance.host, instance.port])

Done. One API call gives you a live server and a shareable join code.
Godot Encore handles the orchestration so your players connect faster and your infrastructure stays efficient.