ServerSettings.iniOpen ServerSettings.ini (create if missing). Here is a working example for v1.5.0:
[Server]
ServerName=My Steampunks Dedicated Server
MaxPlayers=8
Password=YourPasswordHere
AdminPassword=AdminPass123
GamePort=27015
QueryPort=27016
GameMode=Deathmatch
MapRotation=dlc_03_tdm,dlc_04_survival,MP_01_City
TimeLimit=15
ScoreLimit=50
FriendlyFire=1
AllowKillcam=1
AllowSpectate=1
Critical parameters:
GamePort: UDP port for gameplay traffic.QueryPort: UDP port for server browser (legacy).MapRotation: Use map names from the levels folder. For v1.5.0 DLC maps: dlc_01_mountain, dlc_02_night, dlc_03_tdm, dlc_04_survival.Your server is useless if your players can't join. Each client with the same v1.5.0 Steampunks repack must: sniper elite 4 dedicated server v1 5 0steampunks repack
Edit engine.ini (inside %LocalAppData%\SniperElite4\Config\) and add:
[OnlineSubsystemSteamworks]
bUseSteamNetworking=false
bAllowDirectIPConnect=true
Launch the game via SniperElite4.exe (not the launcher). The Ultimate Guide to Sniper Elite 4: Setting
Open console (toggle with ~ or F10). Type:
open 123.45.67.89:27015
If password-protected, you'll be prompted in-game. Critical parameters:
No matchmaking browser will work – all connections must be via direct IP.
Problem: The .bat window opens and closes instantly.
Solution: The repack missing Visual C++ Redistributables. Install vcredist_x64.exe from the _Redist folder in the repack. Also, disable any antivirus (Windows Defender quarantines the steam_api64.dll crack).
The server listens on all interfaces. To test, ask a friend (on the same repack) to open console (~) and type:
open YOUR_PUBLIC_IP:27015
If they connect, success.
Note: Some ISPs use CGNAT (Carrier-Grade NAT). If you have no public IP, you cannot host. Use a VPN like Radmin VPN or ZeroTier as a workaround.