Soldat 2
Soldat 2 is a 2D deathmatch shooter with real guns, ragdoll violence and physics-based movement.
Ports
Add an allocation on the node for each port.
- Server Port 23000
- WebSockets Port (optional) 23001
- WebSocket RCON Port (optional) 23002
- RCON (optional) 23003
Install
- Installer image
- ghcr.io/ptero-eggs/installers:debian
- Install script
- 17 lines
Image
- Debian ghcr.io/ptero-eggs/yolks:debian
Startup
The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.
8 variables
Startup command
./soldat2 Name=PterodactylServer Port=23000 WebSocketsPort=0 WebSocketsRconPort=0 MaxPlayers=12 ServerPassword=ServerPassword RconPassword=RconPasswordDotted values come from the server settings. These values are examples.
The name of your server (this will show in the master list) Do not include spaces
SERVER_NAMEUsers can edit
required|string|max:50
The amount of players that can join your server at once. Maximum is 12.
MAX_PLAYERSUsers can edit
required|integer|min:1|max:12
WebSockets port (optional). Use 0 to disable.
WEBSOCKETS_PORTUsers can edit
required|integer|min:0|max:65535
RCON WebSocket port (optional). Use 0 to disable.
RCON_PORTUsers can edit
required|integer|min:0|max:65535
The password for RCON access.
RCON_PASSWORDUsers can edit
nullable|string|max:100
This message is shown to players when they join.
GREET_MESSAGEUsers can edit
nullable|string|max:200
Your Playfab ID will show up in the server logs as 1 YOUR_NAME joined the server [YOUR_PLAYFAB_ID])
ADMIN_PLAYFAB_IDUsers can edit
nullable|string|max:100
If set, players must enter this password to join.
SERVER_PASSWORDUsers can edit
nullable|string|max:100
Wings
- Stop command
- ^SIGKILL
- Running when the console shows
- ALL RULES SCRIPTS INITIALIZED
Files Wings edits
Wings sets these values in these files before each start.
autoconfig.ini ini
- GameServerConfig.Name
- {{env.SERVER_NAME}}
- GameServerConfig.Port
- {{server.build.default.port}}
- GameServerConfig.WebSocketsPort
- {{env.WEBSOCKETS_PORT}}
- GameServerConfig.WebSocketsRconPort
- {{env.RCON_PORT}}
- GameServerConfig.RconPassword
- {{env.RCON_PASSWORD}}
- GameServerConfig.MaxPlayers
- {{env.MAX_PLAYERS}}
- GameServerConfig.GreetMessage
- {{env.GREET_MESSAGE}}
- GameServerConfig.AdminPlayfabId
- {{env.ADMIN_PLAYFAB_ID}}
- GameServerConfig.ServerPassword
- {{env.SERVER_PASSWORD}}
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 |
Problem with this egg?
Open an issue on GitHub. Include your Panel and Wings versions.
Install script 17 lines bash in ghcr.io/ptero-eggs/installers:debian Show Hide
#!/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 "-------------------------------------------------"