Guide Home › Server Settings
🖥️

Server Settings & Multiplayer

Dedicated server setup, port forwarding, config tuning via GameXishu.json, balanced presets for every playstyle

Server Setup Ports & Network Config Files GameXishu.json Reference Admin Commands Recommended Presets Troubleshooting

Getting Online

Dedicated Server Setup

Running your own server gives you full control over rules, rates, and who plays. Soulmask uses four config layers: startup parameters, Engine.ini, GameXishu.json, and the in-game GM menu.

📦 Install via SteamCMD

The dedicated server tool is free and does not require owning the game

1

Download SteamCMD

Download SteamCMD from Valve and extract it to a folder (e.g. C:\SoulmaskServer).

2

Install Server Files

Create UpdateSoulmask.bat with:
steamcmd.exe +login anonymous +force_install_dir C:\SoulmaskServer +app_update 3017310 validate +quit
Run it as Administrator. The Windows app ID is 3017310; Linux is 3017300.

3

Create Launch Script

Create StartServer.bat with a command like:
WS\Binaries\Win64\WSServer-Win64-Shipping.exe Level01_Main -server -log -UTF8Output -forcepassthrough -PORT=8777 -QueryPort=27015 -EchoPort=18888 -SteamServerName="My Server" -MaxPlayers=20 -PSW="joinpass" -adminpsw="adminpass" -pve -saving=300 -backup=900 -online=Steam

4

Use a Template (Optional)

Add -coef=PvE_10P_3x to match official server settings. Available templates are in WS/Config/GameplaySettings/ as GameXishu_Template_[Name].json.

5

Become Admin In-Game

Join your server, press ~ (tilde) to open the console, and type:
gm key youradminpass
The GM panel opens automatically. Close it — you retain admin privileges.

Hardware: 16GB RAM is the practical minimum — the server process alone consumes roughly 12GB at startup regardless of player count, and grows further as the world develops. A fast single-core CPU (3.5 GHz+) matters more than core count. Running server + client on the same machine is possible but impacts both.

Network

Ports & Forwarding

Four ports must be forwarded on your router. Assign your server machine a static local IP first.

🔌 Required Ports

PortProtocolPurposeMandatory
8777UDPGame traffic (primary port)Yes
27015UDPSteam query — server visibility in browserYes
18888TCPTelnet console (localhost only by default)Optional
19000TCPRCON remote console (requires -rconpsw)Optional

Set the game port via -Port=8777, query port via -QueryPort=27015, and echo/telnet port via -EchoPort=18888. RCON is enabled by adding -rconpsw="password" -rconport=19000.

💡 Set your server machine to a static IP via your router's DHCP reservation. Then forward all four ports to that IP. Without the Steam query port (27015 UDP) open, your server will not appear in the server browser.

Under the Hood

Config Files

Soulmask uses three configuration layers. Startup parameters have highest priority, then Engine.ini, then GameXishu.json.

📁 File Structure

Inside the dedicated server installation

  • WS/Saved/Config/WindowsServer/Engine.ini — Core settings: server name, player cap, PvP toggle, save interval. Edit under [Dedicated.Settings].
  • WS/Saved/GameplaySettings/GameXishu.json — All gameplay multipliers. Stop the server before editing — changes are overwritten while running. Contains 3 identical sections (0, 1, 2); edit all three.
  • WS/Saved/Worlds/Dedicated/Level01_Main/world.db — World save file. Back this up regularly.
  • WS/Saved/Logs/WS.log — Server log for troubleshooting.

🚀 Startup Parameters

Pass these on the command line or in your hosting panel

ParameterDefaultDescription
-SteamServerName="Name"UNNAMED_SERVERDisplay name in the server browser
-MaxPlayers=5020Player cap (configurable up to ~70)
-PSW="password"(none)Join password — omit for a public server
-adminpsw="password"(none)Admin/GM password — always set this
-pve or -pvpGame mode. Required. Choose one.
-PORT=87778777Game port (UDP)
-QueryPort=2701527015Steam query port (UDP)
-EchoPort=1888818888Telnet console port (TCP, localhost only)
-rconpsw="password"(none)RCON password (enables remote console)
-rconport=1900019000RCON port (TCP)
-GongHuiMaxMember=50Max tribe/guild member count
-saving=300300Auto-save interval in seconds
-backup=900900Backup interval in seconds
-coef=PvE_10P_3xLoad a gameplay template from GameplaySettings/
-clientserverconnect=[ip:port]Join a server cluster as a client server

Gameplay Tuning

GameXishu.json Reference

All gameplay multipliers live in this JSON file. Keys are Chinese pinyin — here are the most important ones translated. You can also edit these in real time via the GM menu (press ~, gm key your password, click "Open coefficient settings").

⚙️ Key Settings

Default is 1.0 for most multipliers. Change all 3 sections (0, 1, 2) when editing the file directly.

EnglishPinyin KeyWhat It Controls
XP MultiplierExpRatioAwareness experience gain rate
Proficiency XPShuLianDuExpRatioSkill proficiency experience rate
Collection DropCaiJiDiaoLuoRatioYield from gathering plants, herbs, bushes
Logging DropFaMuDiaoLuoRatioWood yield from chopping trees
Mining DropCaiKuangDiaoLuoRatioStone/ore yield from mining nodes
Animal Corpse DropDongWuShiTiDiaoLuoRatioLoot from animal carcasses
Normal NPC DropPuTongRenDiaoLuoRatioLoot from standard human NPCs
Elite NPC DropJingYingRenDiaoLuoRatioLoot from elite human NPCs
Boss NPC DropBossRenDiaoLuoRatioLoot from boss human NPCs
Crop DropZuoWuDropRatioHarvest yield from farms
Crop GrowthZuoWuShengZhangRatioSpeed of crop growth
Crafting TimeZhiZuoTimeRatioSpeed multiplier for crafting at workbenches
Barbarian Taming SpeedAddRenKeDuRatioRecognition gain rate when taming captured humans
Animal Taming FoodDongWuXiaoHaoShiWuRatioFood consumption rate of tamed animals
Animal GrowthDongWuShengZhangRatioGrowth rate of baby animals
Animal OutputDongWuChanChuRatioProduction rate from animal pens
Building Decay RateJianZhuFuLanMulSpeed at which unmaintained buildings decay
Building Decay ToggleJianZhuFuLanKaiGuan0 = off, 1 = on
Building RepairJianZhuXiuLiMulSpeed multiplier for repairing structures
Wild Creature DamageDamageYeShengRatioDamage dealt by wild creatures to players
Damage to WildBeDamageByYeShengRatioDamage dealt by players to wild creatures
Friendly FireHuXIangShangHaiKaiGuan0 = off, 1 = friendly fire enabled
Day/Night ProportionGameWorldDayTimePortion0.7 = 70% day, 30% night speed
Day Cycle SpeedGameWorldTimePower24 = one full day-night cycle per real hour
Chest Drop RateBaoXiangDropRatioLoot quantity from world chests
DurabilityNaiJiuXiShuEquipment durability multiplier
You can also use the XGamingServer Config Generator to build a GameXishu.json visually without memorising pinyin keys.

Power Tools

Admin Commands

Press ~ to open the console, authenticate with gm key yourpassword, then use any command below.

🎮 Essential GM Commands

CommandDescription
gm key [password]Open the GM panel and authenticate as admin
gm AddExp [value]Add experience points to yourself
gm Addmjexp [value]Add mask experience points
gm Addshoulieexp [value]Add hunting experience points
gm XiDianReset all skill points
gm ZiSha 1Respawn / suicide
gm FuHuoRevive from death
gm Go [x] [y] [z]Teleport to coordinates (press F on map to see coords)
gm ZhaoMuQuick recruit an NPC you're aiming at
gm ClearAllNpcRemove all NPCs from the world
gm ClearSelectRemove the currently selected target
gm SetAttr YinShen 1Become invisible
gm SetAttr YinShen 0Disable invisibility
gm ShowMapReveal the entire map (remove fog of war)
gm KeJiShuUnlock all tech tree nodes
gm JSMJRepair all mask nodes
gm ShuaXinZhiBeiRespawn vegetation within range
gm ShowReDuDisplay barbarian invasion heat map
gm ClearAllReDuReset all barbarian invasion heat
gm AddReDu [value]Increase barbarian invasion heat at your location
gm ChongZhiRenWuReset tutorial missions
gm shanhaoDelete your account on this server
GPSShow your current coordinates
DebugInfo 1Display server debug/performance info
DebugInfo 0Hide server debug info
💡 From the GM panel you can also spawn items (select a player, pick an item, optionally set quality/quantity), spawn NPCs, teleport to or from any player, and adjust all coefficient settings in real time. Changes persist through restarts.

⌨️ Other Useful Shortcuts

  • Free camera: Press / on the numpad to leave your character and fly around. Press again to return.
  • Map teleport: Open the map (M), hold Ctrl and right-click a location to teleport there instantly.
  • GM menu teleport: Each player in the GM panel has buttons to teleport to them or bring them to you.

Presets

Recommended Presets

Start with these templates and adjust the pinyin keys above to fine-tune. Use -coef=TemplateName to load an official template.

📊 Preset Quick Reference

Key GameXishu.json changes for each playstyle

ModeKey ChangesNotes
Solo / Single-player CaiJiDiaoLuoRatio=2.5, FaMuDiaoLuoRatio=2.5, CaiKuangDiaoLuoRatio=2.5, ExpRatio=2.0, ZhiZuoTimeRatio=0.5 Higher gathering and XP, faster crafting. Cuts the grind without removing progression.
Co-op / Small Group CaiJiDiaoLuoRatio=1.5, FaMuDiaoLuoRatio=1.5, ExpRatio=1.5, ShuLianDuExpRatio=2.0, AddRenKeDuRatio=2.0 Balanced boost. Proficiency XP at 2x is the single biggest QoL change for co-op.
PvP / Competitive Start with -coef=PvP_Official, adjust HuXIangShangHaiKaiGuan=1, JianZhuFuLanKaiGuan=1 Keep rates vanilla for a level playing field. Enable friendly fire and building decay.
Hardcore Survival GameWorldTimePower=36, DamageYeShengRatio=1.5, BaoXiangDropRatio=0.5, NaiJiuXiShu=0.5 Faster days, deadlier wildlife, scarcer loot, faster gear degradation.
💡 After editing GameXishu.json directly, set the startup mode to Custom (-coef=Custom) to prevent the server from overwriting your values with a template default.

Common Problems

Troubleshooting

Solutions to the most frequent server and multiplayer issues reported by Soulmask admins.

🔌

Connection Refused / Timeout

Check the server is running and all ports are open. Forward UDP 8777, UDP 27015 to your server's static IP. Add an inbound Windows Firewall rule for WSServer-Win64-Shipping.exe. Test with a port checker tool.

🔍

Server Not in Browser

The Steam query port (UDP 27015) is likely blocked. Ensure -QueryPort=27015 is set and the port is forwarded. Allow 5–10 minutes after startup for Steam to register the server. Use "Connect directly to server" with your IP:8777 as a fallback.

🐌

Performance / Lag

Reduce -MaxPlayers to match your hardware. Lower GameWorldTimePower to reduce AI processing load. Set -saving=600 to reduce write spikes. Soulmask is heavily single-threaded — clock speed matters more than core count.

🧩

Mod Compatibility

All players must have identical mod lists and load order. Mod mismatch is the #1 cause of "Connection Failed" errors. Pin mod versions after updates to prevent automatic upgrades from breaking compatibility.

📡

Port Forwarding Checklist

Set a static local IP for the server machine. Forward UDP 8777 (game), UDP 27015 (Steam query). Optionally forward TCP 18888 (telnet) and TCP 19000 (RCON). Confirm your ISP does not block these ports.

🔄

Server Crashes on Load

Usually a corrupt save or incompatible mod. Rename the WS/Saved folder (backup first) to reset. If using mods, disable all and re-enable one by one. Check WS.log for stack traces — search for "Fatal Error".

For persistent issues, the Soulmask community Discord and Steam forums are the best resources. Share your WS.log and GameXishu.json when asking for help — anonymise passwords first.