Soulmask Admin Commands: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
(Updated for Soulmask 1.0 launch: added new commands, RCON section, code formatting, tips section)
(Updated for Soulmask 1.0 launch)
 
Line 92: Line 92:
|}
|}


== RCON Commands ==
== RCON (Remote Console) ==


Soulmask supports RCON (Remote Console) for remote server management. To enable RCON, add these parameters to your server launch command:
Soulmask supports RCON for remote server management without needing to be in-game. To enable RCON, add these parameters to your server launch command:


<pre>
<pre>
Line 100: Line 100:
</pre>
</pre>


All GM commands listed above can be sent via RCON by connecting to the RCON port with a compatible RCON client. The default RCON port is '''19000''' (TCP).
{| class="wikitable" style="width: 70%;"
|-
! Parameter !! Default !! Description
|-
| <code>-rconpsw</code> || — || RCON password. Required to enable 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>-rconport</code> || 19000 || TCP port for RCON connections.
|}
 
Connect using any standard RCON client (e.g., mcrcon, rcon-cli, or a graphical tool). All GM commands listed above can be sent via RCON.
 
'''Security tips:'''
* Use a '''strong, unique password''' for RCON — it is sent in plaintext over TCP.
* Set <code>-rconaddr=127.0.0.1</code> if you only need local console access (prevents remote connections).
* If exposing RCON to the internet, restrict access by IP using 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 provides a telnet console on the Echo port (default 18888 TCP) for local administration:
 
<pre>
telnet localhost 18888
</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.


== Tips ==
== Tips ==
Line 109: Line 136:
* Commands with [value] parameters accept integers (e.g., <code>gm AddExp 1000</code>).
* Commands with [value] parameters accept integers (e.g., <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.

Latest revision as of 19:09, 9 April 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 on your Survival Servers control panel or in your server launch parameters.
  4. After entering the admin password, you'll become an administrator. The GM panel will open on the right side where you can adjust settings and coefficients.
  5. As an administrator, press ~ to open the console and enter any of the commands listed below.

Note: Commands are case-sensitive. This list has been updated for the Soulmask 1.0 release.

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 do not require the gm prefix:

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

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:

-rconpsw="yourpassword" -rconaddr=0.0.0.0 -rconport=19000
Parameter Default Description
-rconpsw RCON password. Required to enable RCON.
-rconaddr 0.0.0.0 Bind address. Use 127.0.0.1 to restrict RCON to local connections only (recommended if you don't need remote access).
-rconport 19000 TCP port for RCON connections.

Connect using any standard RCON client (e.g., mcrcon, rcon-cli, or a graphical tool). All GM commands listed above can be sent via RCON.

Security tips:

  • Use a strong, unique password for RCON — it is sent in plaintext over TCP.
  • Set -rconaddr=127.0.0.1 if you only need local console access (prevents remote connections).
  • If exposing RCON to the internet, restrict access by IP using 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 provides a telnet console on the Echo port (default 18888 TCP) for local administration:

telnet localhost 18888

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.

Tips

  • The admin password (adminpsw) is separate from the server join password (PSW).
  • GM commands only work after authenticating with gm key [password] each session.
  • The ~ key opens the console. If your keyboard layout doesn't have a tilde key, check your game keybindings.
  • Commands with [value] parameters accept integers (e.g., gm AddExp 1000).
  • The GPS command shows your X, Y, Z coordinates, which can be used with gm Go 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.