How to Set Up Admin & Use GM Commands on Your Soulmask Server
Gain admin access, use the GM panel, and run all admin commands on your Soulmask dedicated server — including teleport, spawning, NPC recruitment, and weather control.
Soulmask's admin system uses a GM (Game Master) password. Once authenticated, you get access to an in-game GM panel and a full set of console commands.
Setting the Admin Password
The admin password is set via Startup in the XGamingServer Panel:
| Parameter | Description |
|---|---|
-adminpsw="YourAdminPassword" | Password to authenticate as GM in-game |
Gaining Admin In-Game
Open the console
Press ~ (tilde) or Numpad Minus (-) to open the in-game console.
Authenticate
Type:
gm key YourAdminPasswordThis grants you GM access and opens the GM Panel — a visual interface for spawning items, NPCs, and managing the server.
GM Commands
All commands start with gm after authentication.
| Command | Description |
|---|---|
gm Go <x> <y> <z> | Teleport to coordinates |
gm GoF <distance> <z> | Teleport forward by distance |
gm GoToJiTan | Teleport to nearest altar |
gm GPS | Print your current coordinates |
gm SetAttr YinShen 1 | Become invisible to AI (0 to disable) |
gm GhostMode 1 | Fly + invisible (0 to disable) |
gm AddExp <value> | Add general experience |
gm AddMJExp <value> | Add mask experience |
gm DengJi <level> | Set character level |
gm FuHuo | Revive your character |
gm XiDian | Reset/refund all stat points |
gm ShowInfo | Display detailed player info |
gm ShowMap | Reveal the entire map |
| Command | Description |
|---|---|
gm ZhaoMu | Recruit the NPC you're aiming at |
gm ZhuaBu | Knock out the targeted NPC |
gm TameDongWu | Tame the targeted animal |
gm ClearAllNpc | Remove all NPCs from the server |
gm CreateSpecifiedMan <num> <sex> | Spawn tribesman NPCs |
gm CreateSWByClass <class> <baby> <level> <owned> <qty> <quality> | Spawn specific NPC by class |
gm KeJiShu | Unlock all technologies/recipes |
gm JSMJ | Unlock all mask nodes |
gm UnLockAllMaskAndParts | Unlock all masks and parts |
| Command | Description |
|---|---|
gm PrayWeather <type> <duration> | Change weather (types 0–6) |
gm Set24hTime <HH:mm> | Set time of day (24h format, e.g., 12:00) |
gm SetTimePower <multiplier> | Change time speed |
gm ShuaXinZhiBei <range> | Respawn resources within range |
gm CuiHuiZhiBei <range> | Destroy vegetation within range |
| Command | Description |
|---|---|
gm ShowJianZhuTotalNumber | Display total building piece count |
gm SaveJianZhuToFile <filename> | Export buildings to file |
gm LoadJianZhuFromFile <name> <split> <origin> <file> | Import buildings from file |
gm CuiHuiViewGongHuiJianZhuByRadius <radius> | Destroy all buildings within radius |
gm ShowReDu | Display invasion heat level |
gm AddReDu <value> | Increase raid heat (triggers raids sooner) |
gm ClearAllReDu | Reset all invasion heat |
| Command | Description |
|---|---|
gm BaoCun | Force save the world immediately |
gm exit | Save and shut down the server |
gm KickPlayer <steam_id> | Kick a player by SteamID |
gm LT <channel> <message> | Send a chat message |
gm RefreshServerGlobalConfig | Reload server configuration |
gm AddServerPermissionList <type> <steam_id> | Add to whitelist/blacklist |
gm RemoveServerPermissionList <type> <steam_id> | Remove from list |
gm EnableServerPermissionList <type> <0/1> | Enable/disable permission list |
gm ShowServerPermissionDetails | Show all permission list details |
Telnet / RCON Access
For remote administration without being in-game:
Telnet (Default)
The Telnet console listens on port 18888 (TCP), localhost only by default.
telnet 127.0.0.1 18888Commands: help, quit <seconds>, shutdown <seconds>
RCON (Optional)
Enable RCON by adding to Startup parameters:
-rconpsw="YourRCONPassword" -rconport=19000Connect with any Source RCON-compatible client using TCP on the configured port.
Related Guides
How is this guide?
