background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
Categories

Soulmask Admin Commands

soulmask admin commands 0 han trobat això útil

This guide covers admin setup, in-game admin commands, RCON configuration, and server management commands for your Soulmask dedicated server on Legion Hosting. For server setup and configuration, see Soulmask Server Setup Guide.

Server Panel: All server management is done through GPanel at gpanel.legionhosting.net. Use the File Manager or SFTP to edit configuration files.

Setting Admin Privileges

Soulmask uses a password-based admin system. To become an admin, you need to set an admin password in the server startup configuration and then authenticate in-game.

Step 1: Set the Admin Password

  1. In GPanel, select your Soulmask server.
  2. Click the Startup tab.
  3. Set the ADMIN_PASSWORD variable to a strong, unique password. This corresponds to the -adminpsw command-line parameter.
  4. Restart the server for the change to take effect.
Keep your admin password secret. Anyone who knows the admin password can gain full GM privileges on your server. Only share it with trusted co-admins.

Step 2: Authenticate In-Game

  1. Join your Soulmask server as a player.
  2. Open the in-game console by pressing the ` (grave/tilde) key or Numpad - (numpad minus).
  3. Type the following command and press Enter:
    gm key YOUR_ADMIN_PASSWORD
  4. If the password is correct, you will see a confirmation message and gain GM (Game Master) admin privileges.
  5. You can also click the "Become the admin" button that appears in the GM panel interface.
Session-based authentication. You must re-authenticate each time you join the server. Admin status is not saved between sessions -- you will need to run gm key each time you log in.

In-Game Admin Commands

Once authenticated as an admin, open the console (` or Numpad -) and enter commands. All admin commands begin with the gm prefix.

Player Management

Command Description
gm AddExp [value] Add general experience points to your character.
gm Addmjexp [value] Add mask experience to your character (levels up the mask).
gm Addshoulieexp [value] Add hunting experience to your character.
gm XiDian Reset all skill points for your character, allowing respec.
gm FuHuo Revive your character (use when dead).
gm ZiSha 1 Kill your own character (suicide command).
gm shanhao Delete your account/character from the server. Use with extreme caution -- this is irreversible.
gm ShowInfo 1 Display detailed information about your own character (stats, IDs, position).
gm ShowInfo 0 Display detailed information about the currently targeted character or NPC.
gm ChongZhiRenWu Reset all tutorials and guide quests for your character.

Navigation and Visibility

Command Description
gm Go [x] [y] [z] Teleport to specific world coordinates. Use GPS to find your current coordinates first.
GPS Display your current world coordinates (X, Y, Z). Useful for teleportation targets.
gm SetAttr YinShen 1 Enable invisibility. Monsters and NPCs cannot detect you.
gm SetAttr YinShen 0 Disable invisibility. Return to normal visibility.
gm ShowMap Reveal the entire map, unlocking all fog of war for your character.

NPC and World Control

Command Description
gm ZhaoMu Instantly recruit the targeted NPC to your tribe.
gm ClearAllNpc Remove all non-player NPCs from the server. Use with caution -- affects all NPCs server-wide.
gm ClearSelect Remove the currently selected/targeted entity (NPC, creature, or object).
gm ShuaXinZhiBei Refresh and regrow all nearby vegetation and harvestable plants.
gm KeJiShu Unlock all technology tree nodes for your character.

Invasion and Heat Management

Command Description
gm ShowReDu Display the current invasion heat chart, showing threat levels in different areas.
gm ClearAllReDu Clear all invasion heat across the map, resetting threat levels to zero.
gm AddReDu [value] Manually increase invasion heat by the specified amount. Higher heat attracts more invasions.

Server and Debug

Command Description
gm exit Gracefully shut down the server with a save. This is the safest way to stop the server from in-game.
Debuginfo 1 Enable server performance monitoring overlay, showing tick rate, entity counts, and resource usage.
Debuginfo 0 Disable the server performance monitoring overlay.
Use commands sparingly. Admin commands can significantly impact server stability and player experience. Spawning large numbers of entities, clearing NPCs server-wide, or rapidly modifying world data can cause lag or crashes. Test commands on a low-population period first.

Server Management Commands

These commands are used for server-wide management and can be executed both in-game (via console) and remotely (via RCON/Telnet).

Server Control

Command Description
SaveWorld Force an immediate world save to memory (and optionally to disk). Use before performing risky operations.
SaveAndExit [seconds] Save the world and shut down the server after the specified number of seconds. Players receive a warning countdown.
StopCloseServer Cancel a pending shutdown that was initiated with SaveAndExit.
shutdown [seconds] Initiate a graceful server shutdown with the specified countdown in seconds.
broadcast [message] Send a global message to all connected players. Useful for announcements and warnings.

Player Administration (Remote)

Command Description
List_AllPlayers List all player accounts registered on the server (online and offline).
List_OnlinePlayers List all currently connected players with their Steam IDs and character names.
List_Guilds List all tribes (guilds) on the server with member counts.
kick [PlayerName] Kick a player from the server by character name.
ban [PlayerName] Ban a player from the server. They will not be able to reconnect.
CreateItemForPlayer [SteamID] [ItemID] [Amount] Add items directly to a specific player's inventory by Steam ID.
GotoPosition [SteamID] [x] [y] [z] Teleport a specific player to world coordinates.
FlyMode [SteamID] [0/1] Enable (1) or disable (0) ghost/fly mode for a player.

Server Information

Command Description
ServerFPS Display the current server tick rate (FPS). Healthy servers should maintain 30+ FPS.
Show_Coefficient_Settings List all current gameplay coefficient settings from GameXishu.json.
Set_Coefficient [key] [value] Modify a gameplay coefficient at runtime without editing files. Changes take effect immediately.
List_AllTalent [level] View all natural gifts (talents) available at the specified level.

Debug and Advanced

Command Description
Dump_AllActorPositions Export all actor positions to a data file for debugging world state.
DrawActorImage Generate a visualization of actor positions on the map.
ExecScriptCommands [filename] Run a batch file of commands. Useful for executing multiple commands at once.

RCON Access

RCON (Remote Console) allows you to execute server commands remotely without being connected to the game. Soulmask supports both RCON and Telnet for remote administration.

Enabling RCON

RCON is disabled by default and must be enabled through startup parameters:

  1. In GPanel, go to the Startup tab.
  2. Add the following parameters (through additional startup parameters or by contacting support to have them added):
    -rconpsw="YOUR_RCON_PASSWORD" -rconport=19000
  3. Restart the server.
RCON security. Soulmask's RCON implementation uses an IP whitelist for security. Only whitelisted IP addresses can connect to the RCON service. Check the server documentation or configuration files for the whitelist location if you need to add your IP.

Connecting via RCON

Once RCON is enabled, you can connect using any standard RCON client:

  1. Download an RCON client such as rcon-cli or a GUI tool like mcrcon.
  2. Connect to your server using:
    • Host: Your server's IP address
    • Port: The RCON port (default 19000)
    • Password: The RCON password you set with -rconpsw
  3. Once connected, type help to see a list of available commands.

Telnet Access

Soulmask also supports Telnet-based administration on the Echo Port (default 18888). Telnet is restricted to local connections only by default and does not require additional port forwarding. This is primarily used for scripted administration on the server machine itself.

Example RCON Session

# Connect to RCON (using rcon-cli as example)
rcon -a your.server.ip:19000 -p YOUR_RCON_PASSWORD

# Check server performance
ServerFPS

# List online players
List_OnlinePlayers

# Send a global message
broadcast Server restart in 10 minutes!

# Initiate a 600-second (10-minute) shutdown countdown
SaveAndExit 600

# Cancel the shutdown if needed
StopCloseServer

Proper Server Shutdown

There are several safe methods to shut down a Soulmask server. Always use one of these to prevent data loss:

  • GPanel Stop button: The simplest method. Click Stop in the GPanel Console tab.
  • In-game command: Authenticate as admin and run gm exit to save and shut down.
  • RCON/Telnet: Run shutdown [seconds] or SaveAndExit [seconds] for a countdown shutdown that gives players time to prepare.
Avoid force-killing the server. Using the GPanel Kill button or force-terminating the process will skip the save step. Any progress since the last automatic disk backup will be lost. Only use Kill as a last resort when the server is completely unresponsive.

Tips for Server Administrators

  • Set up automatic backups. Use -initbackup and -backupinterval=30 to create regular backup snapshots.
  • Monitor server FPS. Use the ServerFPS command regularly. If the tick rate drops below 15-20 FPS, the server is struggling and may need optimization or a restart.
  • Use Set_Coefficient for live tuning. You can adjust gameplay settings at runtime without restarting the server. Run Show_Coefficient_Settings first to see current values.
  • Schedule regular restarts. Restart the server daily to clear memory leaks and apply any pending updates.
  • Broadcast before maintenance. Always use the broadcast command to warn players before server restarts or maintenance windows.
  • Use SaveWorld before risky operations. Force a save before making significant changes like clearing NPCs or modifying coefficients.

Related Articles


Need Help?

If you need further assistance with Soulmask admin commands or server management, please open a support ticket and our team will be happy to assist you.


T'ha estat útil aquest article?

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.