4. Platforms and build packages
| Platform | Default Entry Point File | Default start command |
|---|---|---|
| Unity (Linux Dedicated Server) | None. You must enter it | ./<entry> -batchmode -nographics -logFile /dev/stdout -port <port> |
| .NET 10 | Program.dll |
dotnet <entry> |
| Node.js 22 | index.js |
node <entry> |
| Python 3.11, Python 3.12 | main.py |
python <entry> |
| Go | app |
./<entry> |
| Rust | app |
./<entry> |
| Java 17, Java 21 | app.jar |
java -jar <entry> |
<entry> is your Entry Point File and <port> is your Container Port. The form shows the exact default for your choices under Start Command.
A start command runs one program with its arguments. Shell features such as &&, |, redirection and $(...) are not allowed.
Nothing is installed for you. Upload your server ready to run, with every package it needs inside the zip.
| Platform | What the zip contains |
|---|---|
| Unity | A Linux Dedicated Server build. Windows and macOS server builds are not accepted |
| .NET | The output of dotnet publish. A console app that opens a socket is enough, no ASP.NET needed |
| Node.js | Your code with production node_modules installed |
| Python | Your code with its packages included in the zip |
| Go | A Linux binary. It runs on a small Alpine Linux image, so build it statically linked |
| Rust | A Linux binary |
| Java | A runnable .jar |
Script 4.1: Unity build layout
build.zip
├── MyGameServer.x86_64 ← entry point
├── MyGameServer_Data/
└── UnityPlayer.so
Script 4.2: .NET build layout (output of dotnet publish -c Release -o ./publish)
build.zip
├── MyServer.dll ← entry point
└── MyServer.runtimeconfig.json
Script 4.3: Node.js build layout (after npm ci --omit=dev)
build.zip
├── package.json
├── server.js ← start command: node server.js
└── node_modules/
Script 4.4: Zip the build so the entry point is at the top level
# Unity
cd Builds/LinuxServer && zip -r ../../build.zip .
# .NET
dotnet publish -c Release -o ./publish
cd publish && zip -r ../build.zip .
# Node.js
npm ci --omit=dev
zip -r build.zip . -x ".git/*"
Unity users with MultiConnectSDK can build the zip from inside Unity. See the Developer Guide.
Whatever the platform, your server must listen on the container port, on 0.0.0.0.

