Soldat 2

games
Report Issue

Soldat 2 is a 2D deathmatch shooter with real guns, ragdoll violence and physics-based movement.

Contributors:
README

Soldat 2

Website

Soldat 2 is a 2D deathmatch shooter with real guns, ragdoll violence and physics-based movement. Based on classic Soldat with team game modes, ranked multiplayer, bots and built-in customization and level editing. Made by MM - creator of the original.

Server Ports

You can use any available ports, see the examples below:

Port Default
Server Port 23000
WebSockets Port (optional) 23001
WebSocket RCON Port (optional) 23002
RCON (optional) 23003
Docker Images (1)
Name Image
ghcr.io/ptero-eggs/yolks:debian ghcr.io/ptero-eggs/yolks:debian
Startup Command
./soldat2 Name={{SERVER_NAME}} Port={{SERVER_PORT}} WebSocketsPort={{WEBSOCKETS_PORT}} WebSocketsRconPort={{RCON_PORT}} MaxPlayers={{MAX_PLAYERS}} ServerPassword={{SERVER_PASSWORD}} RconPassword={{RCON_PASSWORD}}
Variables (8)

Server name

The name of your server (this will show in the master list) Do not include spaces

Environment:
SERVER_NAME
Default:
PterodactylServer
User Viewable:
User Editable:
Rules:
required|string|max:50

Max Players

The amount of players that can join your server at once. Maximum is 12.

Environment:
MAX_PLAYERS
Default:
12
User Viewable:
User Editable:
Rules:
required|integer|min:1|max:12

WebSockets Port

WebSockets port (optional). Use 0 to disable.

Environment:
WEBSOCKETS_PORT
Default:
0
User Viewable:
User Editable:
Rules:
required|integer|min:0|max:65535

RCON WebSockets Port

RCON WebSocket port (optional). Use 0 to disable.

Environment:
RCON_PORT
Default:
0
User Viewable:
User Editable:
Rules:
required|integer|min:0|max:65535

RCON Password

The password for RCON access.

Environment:
RCON_PASSWORD
Default:
RconPassword
User Viewable:
User Editable:
Rules:
nullable|string|max:100

Greet Message

This message is shown to players when they join.

Environment:
GREET_MESSAGE
Default:
Welcome! Be friendly and have fun!
User Viewable:
User Editable:
Rules:
nullable|string|max:200

Admin PlayFab ID

Your Playfab ID will show up in the server logs as 1 YOUR_NAME joined the server [YOUR_PLAYFAB_ID])

Environment:
ADMIN_PLAYFAB_ID
Default:
IDHere
User Viewable:
User Editable:
Rules:
nullable|string|max:100

Server Password

If set, players must enter this password to join.

Environment:
SERVER_PASSWORD
Default:
ServerPassword
User Viewable:
User Editable:
Rules:
nullable|string|max:100
Installation Script
Container: ghcr.io/ptero-eggs/installers:debian
Entrypoint: bash
#!/bin/bash

# download & extract server files
wget -O soldat2-linuxserver-release.tar.gz "https://dl.thd.vg/soldat2-linuxserver-release.tar.gz"
tar -zxf soldat2-linuxserver-release.tar.gz
rm soldat2-linuxserver-release.tar.gz

# move content to /mnt/server
mv soldat2-linuxserver-release/* soldat2-linuxserver-release/.* /mnt/server 2>/dev/null || true
rm -r soldat2-linuxserver-release

cd /mnt/server
chmod +x ./soldat2

echo -e "-------------------------------------------------"
echo -e "Installation completed"
echo -e "-------------------------------------------------"