Soulmask Admin Commands: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
[wiki:ss-claude-11372] Fixes: wrong or outdated steps, labels and facts corrected, current pictures, dead links fixed, search title and description
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
Line 7: Line 7:
# Enter your private server.
# Enter your private server.
# Press '''~''' (tilde) to open the console.
# Press '''~''' (tilde) to open the console.
# Type <code>gm key [password]</code>, where [password] is the administrator password ('''adminpsw''') you set in the '''Admin Pass''' field in the Survival Servers Command Center or in your server launch parameters.
# Type <code>gm key [password]</code>, where [password] is the administrator password ('''adminpsw''') you set in the '''Admin Pass''' field in the Survival Servers Command Center or in your server's launch options.
# The GM panel will open on the right side where you can adjust settings and coefficients. Enter the admin password there and click to confirm, and you'll become an administrator.
# The GM panel opens on the right, where you can change settings and coefficients. Enter the admin password there and confirm to become an administrator.
# As an administrator, press '''~''' to open the console and enter any of the commands listed below.
# As an administrator, press '''~''' to open the console and enter any of the commands on this page.


'''Note:''' Commands are case-sensitive.
'''Note:''' Commands are case-sensitive.
Line 83: Line 83:
|}
|}


== Server Status Commands ==
== Server status commands ==


These commands do not require the <code>gm</code> prefix:
These commands don't need the <code>gm</code> prefix:


{| class="wikitable" style="width: 70%;"
{| class="wikitable" style="width: 70%;"
Line 98: Line 98:
== RCON (Remote Console) ==
== RCON (Remote Console) ==


Soulmask supports RCON for remote server management without needing to be in-game. To enable RCON, add these parameters to your server launch command:
Soulmask has RCON for managing the server without being in-game. To turn on RCON, add these launch options to your server's start line:


<pre>
<pre>
Line 106: Line 106:
{| class="wikitable" style="width: 70%;"
{| class="wikitable" style="width: 70%;"
|-
|-
! Parameter !! Default !! Description
! Launch option !! Default !! What it does
|-
|-
| <code>-rconpsw</code> || None || RCON password. Required to enable RCON.
| <code>-rconpsw</code> || None || RCON password. Needed to turn on RCON.
|-
|-
| <code>-rconaddr</code> || 0.0.0.0 || Bind address. Use <code>127.0.0.1</code> to restrict RCON to local connections only (recommended if you don't need remote access).
| <code>-rconaddr</code> || 0.0.0.0 || The address RCON listens on. Use <code>127.0.0.1</code> to allow only connections from the same PC (best if you don't need remote access).
|-
|-
| <code>-rconport</code> || 19000 || TCP port for RCON connections.
| <code>-rconport</code> || 19000 || TCP port for RCON connections.
|}
|}


Connect using any standard RCON client (e.g., mcrcon, rcon-cli, or a graphical tool). RCON takes the server's own maintenance commands (type <code>help</code> to list them), not the <code>gm</code> commands on this page.
Connect with any standard RCON program, such as mcrcon, rcon-cli or a desktop RCON app. RCON takes the server's own maintenance commands (type <code>help</code> to list them), not the <code>gm</code> commands on this page.


'''Security tips:'''
'''Security tips:'''
* Use a '''strong, unique password''' for RCON: it is sent in plaintext over TCP.
* Use a '''strong, unique password''' for RCON: it's sent in plain text over TCP.
* Set <code>-rconaddr=127.0.0.1</code> if you only need local console access (prevents remote connections).
* Set <code>-rconaddr=127.0.0.1</code> if you only need local console access (this blocks remote connections).
* If exposing RCON to the internet, restrict access by IP using your firewall.
* If RCON is open to the internet, limit access by IP in your firewall.
* The RCON port (default 19000 TCP) must be forwarded on your router if you need remote access.
* The RCON port (default 19000 TCP) must be forwarded on your router if you need remote access.


== Telnet Console (Echo Port) ==
== Telnet console (Echo port) ==


Soulmask also provides a telnet console on the Echo port (default 18888 TCP) for local administration:
Soulmask also has a telnet console on the Echo port (default 18888 TCP) for local administration:


<pre>
<pre>
Line 131: Line 131:
</pre>
</pre>


The telnet console can be used for safe shutdowns and server status checks. It is recommended to keep this port '''local only''' (do not forward it through your router) for security.
Use the telnet console for safe shutdowns and server status checks. For security, keep this port '''local only''' (don't forward it on your router).


== Tips ==
== Tips ==


* The admin password (<code>adminpsw</code>) is separate from the server join password (<code>PSW</code>).
* The admin password (<code>adminpsw</code>) is separate from the server join password (<code>PSW</code>).
* GM commands only work after authenticating with <code>gm key [password]</code> each session.
* GM commands only work after you log in with <code>gm key [password]</code>, each time you join.
* If your keyboard layout doesn't have a tilde key, check your game keybindings.
* If your keyboard layout doesn't have a tilde key, check your game keybindings.
* Commands with [value] parameters accept integers (e.g., <code>gm AddExp 1000</code>).
* Commands with a [value] take whole numbers (for example, <code>gm AddExp 1000</code>).
* The <code>GPS</code> command shows your X, Y, Z coordinates, which can be used with <code>gm Go</code> to teleport.
* The <code>GPS</code> command shows your X, Y, Z coordinates, which can be used with <code>gm Go</code> to teleport.
* '''Do not close the server window directly'''. Use Ctrl+C, RCON, or the telnet console for a graceful shutdown to prevent save corruption.
* '''Don't close the server window directly'''. Use Ctrl+C, RCON or the telnet console to shut it down cleanly, so the save isn't corrupted.


Need a host? [https://www.survivalservers.com/services/game_servers/soulmask/ Soulmask server hosting] from Survival Servers comes with instant setup and 24/7 support.
[https://www.survivalservers.com/services/game_servers/soulmask/ Soulmask server hosting] from Survival Servers comes with instant setup and 24/7 support.

Revision as of 09:06, 17 November 2026

How to Use GM Commands

  1. Enter your private server.
  2. Press ~ (tilde) to open the console.
  3. Type gm key [password], where [password] is the administrator password (adminpsw) you set in the Admin Pass field in the Survival Servers Command Center or in your server's launch options.
  4. The GM panel opens on the right, where you can change settings and coefficients. Enter the admin password there and confirm to become an administrator.
  5. As an administrator, press ~ to open the console and enter any of the commands on this page.

Note: Commands are case-sensitive.

Admin Commands

GM Commands
Description Command
Open GM Panel gm key [password]
Add Awareness Experience gm AddExp [value]
Add Mask Experience gm Addmjexp [value]
Add Hunting Experience gm Addshoulieexp [value]
Increase Hunting Experience gm AddShouLieExp [value]
Reset Skill Points gm XiDian
Suicide gm ZiSha 1
Revive gm FuHuo
Delete Account gm shanhao
View Own Location GPS
Quick Recruit NPC (aim at target) gm ZhaoMu
Teleport to Coordinates gm Go [x] [y] [z]
Clear All NPCs gm ClearAllNpc
Remove Selected Target gm ClearSelect
Refresh Vegetation within Range gm ShuaXinZhiBei
Show Own Info (Quality, Skills, Talents) gm ShowInfo 1
Show Character Info (Quality, Skills, Talents) gm ShowInfo 0
Enable Invisibility gm SetAttr YinShen 1
Disable Invisibility gm SetAttr YinShen 0
Repair Mask Nodes gm JSMJ
Unlock Entire Map gm ShowMap
Unlock All Tech Tree Nodes gm KeJiShu
Show Barbarian Invasion Heat Chart gm ShowReDu
Clear All Barbarian Invasion Heat gm ClearAllReDu
Add Invasion Heat at Current Location gm AddReDu [value]
Reset Tutorial Missions gm ChongZhiRenWu
Replace Default Material gm ReplaceDefaultMaterial [name]
Add GameplayEffect to Mount gm AddGEToQiChenRen [GE_name]
Remove GameplayEffect from Mount gm RemoveQiChenRenGE [GE_name]
Show Player GameplayEffects gm ShowPlayerGE
Show Conveyor & Pillar Count gm ShowConveyorAndPillarTotalNumber

Server status commands

These commands don't need the gm prefix:

Description Command
View Server Status Information Debuginfo 1
Close Server Status Information Debuginfo 0

RCON (Remote Console)

Soulmask has RCON for managing the server without being in-game. To turn on RCON, add these launch options to your server's start line:

-rconpsw="yourpassword" -rconaddr=0.0.0.0 -rconport=19000
Launch option Default What it does
-rconpsw None RCON password. Needed to turn on RCON.
-rconaddr 0.0.0.0 The address RCON listens on. Use 127.0.0.1 to allow only connections from the same PC (best if you don't need remote access).
-rconport 19000 TCP port for RCON connections.

Connect with any standard RCON program, such as mcrcon, rcon-cli or a desktop RCON app. RCON takes the server's own maintenance commands (type help to list them), not the gm commands on this page.

Security tips:

  • Use a strong, unique password for RCON: it's sent in plain text over TCP.
  • Set -rconaddr=127.0.0.1 if you only need local console access (this blocks remote connections).
  • If RCON is open to the internet, limit access by IP in your firewall.
  • The RCON port (default 19000 TCP) must be forwarded on your router if you need remote access.

Telnet console (Echo port)

Soulmask also has a telnet console on the Echo port (default 18888 TCP) for local administration:

telnet localhost 18888

Use the telnet console for safe shutdowns and server status checks. For security, keep this port local only (don't forward it on your router).

Tips

  • The admin password (adminpsw) is separate from the server join password (PSW).
  • GM commands only work after you log in with gm key [password], each time you join.
  • If your keyboard layout doesn't have a tilde key, check your game keybindings.
  • Commands with a [value] take whole numbers (for example, gm AddExp 1000).
  • The GPS command shows your X, Y, Z coordinates, which can be used with gm Go to teleport.
  • Don't close the server window directly. Use Ctrl+C, RCON or the telnet console to shut it down cleanly, so the save isn't corrupted.

Soulmask server hosting from Survival Servers comes with instant setup and 24/7 support.