This guide covers everything you need to know about admin commands in The Front, including setting up admin access, opening the console, and a comprehensive reference of all available commands for player management, spawning, combat tuning, building, resources, and more. For initial server setup and configuration, see The Front Server Setup Guide.
Setting Up Admin Access
Before you can use admin commands, you must register your Steam account as an administrator on the server. There are two methods to do this:
Method 1: ServerConfig_.ini (Recommended)
- Stop your server from the Console tab in GPanel.
- Navigate to
TheFrontManager/ServerConfig_.inivia the GPanel Files tab or SFTP. - Find or add the
ServerAdminAccountssetting under the[BaseServerConfig]section. - Add your Steam64 ID(s), separated by semicolons:
[BaseServerConfig] ServerAdminAccounts=76561198012345678;76561198087654321; - Save the file and start the server.
Method 2: In-Game Console Command
If you already have admin access, you can add additional admins with the console command:
AddGM 76561198012345678 1
The second parameter is the GM (Game Master) level. To remove an admin, use:
RemoveGM 76561198012345678
Opening the Admin Console
To access the in-game admin console, follow these steps:
- Ensure your Steam64 ID is listed in the
ServerAdminAccountssetting. - Join the server and enter the game world.
- Open the GM Tool by pressing Shift + G.
- Once the GM Tool is active, press the ~ (tilde) key (to the left of the
1key) to open the command console input box at the bottom of the screen. - Type your command and press Enter to execute it.
~) key, which requires an English keyboard layout. If you are using a different layout, switch to English (US) before pressing the key.
Admin Visibility
You can toggle whether players see an admin icon next to your name:
ToggleGMTitleShow 0
Set to 0 to hide the admin icon, or 1 to show it.
Player Management Commands
These commands allow you to manage players on your server, including kicking, banning, and teleporting.
| Command | Description |
|---|---|
KickPlayerOff [playerID] |
Kicks the specified player from the server without notification. |
BanPlayer [playerID] login |
Bans the player from logging in to the server. |
PermitPlayer [playerID] login |
Unbans a previously banned player, allowing them to log in again. |
BanPlayer [playerID] chat |
Mutes the player, preventing them from sending chat messages. |
PermitPlayer [playerID] chat |
Unmutes a previously muted player. |
DestroyPlayerByGUID [playerID] |
Kills the specified player instantly. |
GMClearInventory [playerID] |
Clears the specified player's entire inventory. |
SetCanChat [1/0] |
Enables (1) or disables (0) the in-game chat for all players. |
[playerID] in commands refers to the player's Steam64 ID. You can find connected players' IDs through the GM Tool interface.
Teleport Commands
These commands allow you to move yourself or other players around the map.
| Command | Description |
|---|---|
GotoPlayerByAccount [playerID] |
Teleports you to the specified player's location. |
RelocatePlayerToGM [playerID] |
Teleports the specified player to your current location. |
goto [x] [y] [z] |
Teleports you to the specified world coordinates. |
Movement and God Mode Commands
These commands give admins special movement abilities and invulnerability for server management.
| Command | Description |
|---|---|
God |
Toggles God mode, making you invulnerable to all damage. |
Fly |
Enables flight mode, allowing you to fly freely around the map. |
Walk |
Disables flight and returns you to normal walking mode. |
Ghost |
Enables noclip mode -- flight with no collision, allowing you to pass through walls and terrain. |
hide [1/0] |
Makes your character invisible (1) or visible (0) to other players. |
ClearAllPlayersGodMode |
Disables God mode for all players on the server. |
ActivateInfiniteStamina [1/0] |
Toggles infinite stamina for your character. |
ActivateIgnoreEnvironment [1/0] |
Toggles immunity to environmental effects (heat, cold, radiation). |
ActivateInfiniteRecoverHealth [1/0] |
Toggles automatic health regeneration to full HP per second. |
SetPlayerScaleRate [scale] |
Changes the size of your character model. Default is 1. |
Spawn and Item Commands
Use these commands to spawn NPCs, give items, and manage player experience.
| Command | Description |
|---|---|
GMAddItems [itemID] [amount] [playerID] |
Gives the specified item to a player. Requires the item's internal ID. |
AddTargetPlayerExp [playerID] [amount] |
Grants the specified amount of experience points to a player. |
UnlockTargetAllRecipe [playerID] |
Unlocks all crafting recipes for the specified player. |
UnlockTargetAllTalent [playerID] |
Unlocks all talent tree abilities for the specified player. |
GMSpawnNPCByLocation [creatureID] [level] [x] [y] [z] |
Spawns an NPC with the specified level at the given world coordinates. |
GMSpawnNPCByPlayerGuid [creatureID] [level] [amount] [distance] [playerID] |
Spawns the specified number of NPCs at the given distance (in meters) from a player. |
GMSpawnPetByPlayerGuid [creatureID] [level] [amount] [distance] [playerID] |
Spawns a pet creature near the specified player. |
ClearAllNPC |
Kills all currently spawned NPCs on the server. |
KillInteractObject |
Destroys whatever object you are looking at (structure, creature, or vehicle). |
SetEnableSuperKill |
Enables one-hit kill mode on creatures, vehicles, and structures. |
GMCreatorMode [1/0] |
Toggles Creator Mode. When enabled, crafting does not consume materials. |
Server Management Commands
These commands control core server settings and operations.
| Command | Description |
|---|---|
SaveWorld |
Forces an immediate save of all world data. |
CloseServer |
Gracefully shuts down the server. |
SetTime [value] |
Sets the in-game time of day (0-24 range). |
SetWeather [weatherID] [regionID] |
Changes the weather in the specified region. |
SloMode [0-1000] |
Controls server speed. Default is 1. Higher values speed up the server, 0 pauses it. |
SetQueueThreshold [amount] |
Sets the maximum number of players allowed on the server. |
SetMaxQueueSize [amount] |
Same as SetQueueThreshold. |
SetSaveGameInterval [seconds] |
Sets how often the server auto-saves world data (in seconds). |
AddGM [Steam64ID] [level] |
Adds a new admin to the server. The 17-digit Steam64 ID is required. |
RemoveGM [Steam64ID] |
Removes admin privileges from the specified account. |
Damage and Combat Multiplier Commands
These commands adjust damage ratios between players, NPCs, structures, and vehicles. All values are multipliers -- 1 is default, 2 doubles the effect, 0.5 halves it.
Player vs NPC Damage
| Command | Description |
|---|---|
SetMeleeNpcDamageRatio [N] |
Player melee damage to NPCs. |
SetRangedNpcDamageRatio [N] |
Player ranged damage to NPCs. |
SetWildNPCDamageRate [N] |
Wild NPC damage output to players. |
SetWildNPCHealthRate [N] |
Wild NPC hit points multiplier. |
SetWildNPCSpeedRate [N] |
Wild NPC movement speed multiplier. |
Player vs Player Damage
| Command | Description |
|---|---|
SetMeleePlayerDamageRatio [N] |
Player melee damage to other players (PvP). |
SetRangedPlayerDamageRatio [N] |
Player ranged damage to other players (PvP). |
SetIsCanSelfDamage [1/0] |
Toggles whether players can damage themselves. |
SetIsCanFriendDamage [1/0] |
Toggles friendly fire between squad members. |
Structure and Vehicle Damage
| Command | Description |
|---|---|
SetMeleeConstructDamageRatio [N] |
Player melee damage to structures. |
SetRangedConstructDamageRatio [N] |
Player ranged damage to structures. |
SetVehiclePlayerDamageRatio [N] |
Vehicle damage to players. |
SetVehicleConstructDamageRatio [N] |
Vehicle damage to structures. |
SetConstructDefenseRatio [N] |
Damage reduction multiplier for structures. |
SetConstructMaxHealthRatio [N] |
Maximum durability multiplier for structures. |
SetTrapDamageRatio [N] |
Damage output multiplier for traps. |
GMSetToolDamageRate [N] |
Tool damage to resources multiplier. |
GMSetDurabilityCostRate [N] |
Durability loss rate for tools, weapons, and armor. |
Raid NPC Settings
| Command | Description |
|---|---|
SetCityNPCLevelRate [N] |
Raid NPC level multiplier. |
SetCityNPCDamageRate [N] |
Raid NPC damage output multiplier. |
SetCityNPCHealthRate [N] |
Raid NPC hit points multiplier. |
SetCityNPCSpeedRate [N] |
Raid NPC movement speed multiplier. |
SetCityNPCNumRate [N] |
Raid NPC spawn count multiplier. |
GMSetNPCLootableItemRate [N] |
NPC loot drop quantity multiplier. |
SetNpcRespawnRate [N] |
NPC respawn speed multiplier. Higher values make NPCs respawn faster. |
Player Stat Multiplier Commands
These commands adjust player character stats and survival mechanics.
Health, Stamina, and Movement
| Command | Description |
|---|---|
SetPlayerMaxHealthRate [N] |
Maximum health multiplier. |
SetPlayerMaxStaminaRate [N] |
Maximum stamina multiplier. |
SetStaminaRecoverRate [N] |
Stamina regeneration speed. |
SetStaminaConsumeRatio [N] |
Stamina consumption rate. Lower values reduce stamina drain. |
SetMoveSpeedRate [N] |
Player movement speed multiplier. |
SetJumpHeightRate [N] |
Player jump height multiplier. |
Hunger, Thirst, and Oxygen
| Command | Description |
|---|---|
SetPlayerMaxHungerRate [N] |
Maximum fullness (hunger bar) multiplier. |
GMSetHungerDecRate [N] |
Rate at which hunger decreases. |
GMSetBodyHungerAddRate [N] |
Amount of hunger restored when eating food. |
SetBodyWaterMaximumRate [N] |
Maximum hydration multiplier. |
GMSetWaterDecRate [N] |
Rate at which thirst increases. |
GMSetBodyWaterAddRate [N] |
Amount of hydration restored when drinking. |
SetBreathMaximumRate [N] |
Maximum oxygen capacity multiplier. |
SetBreathRecoverRate [N] |
Oxygen recovery speed multiplier. |
SetPlayerBreathCostRate [N] |
Oxygen consumption rate. Lower values reduce oxygen drain. |
Environmental Resistance
| Command | Description |
|---|---|
SetPlayerHotDefAddRate [N] |
Heat resistance multiplier. |
SetPlayerIceDefAddRate [N] |
Cold resistance multiplier. |
Building and Structure Commands
| Command | Description |
|---|---|
SetPlayerMaxHouseFlagNumber [N] |
Maximum number of Beacons each player can place. |
SetHFTrapMaxNum [N] |
Maximum number of traps within a Beacon's coverage area. |
SetHouseFlagExcitantTime [0-24] |
Sets the attack window for Beacon territories (in hours). |
SetConstructDisableRot [1/0] |
Toggle structure decay. 1 enables decay, 0 disables it. |
GMSetCraftTimeRate [N] |
Crafting and repair time multiplier. Lower values speed up crafting. |
GMSetDeathDropMode [0/1/2] |
Controls what players drop on death. 0 = nothing, 1 = drop everything, 2 = drop inventory only (keep equipment). |
PerspectiveConstruct [0/1] |
Displays structure names and owner information when looking at buildings. |
Squad (Guild) Commands
These commands manage squads (guilds/clans) on the server.
| Command | Description |
|---|---|
SetGuildAdmin [1/0] |
Makes yourself the captain of any squad you are in. |
JoinGuildByGuid [squadGUID] |
Joins a squad by its GUID, bypassing member limits. |
ForcedChangeGuildName [squadGUID] [newName] |
Force-renames a squad. |
KillGuildAll [1/0] |
Destroys the entire squad. 1 = drop items, 0 = no drops. |
KillRadiusGuildConstruct [1/0] [radius] |
Destroys all squad structures within the specified radius. |
KillRadiusGuildVehicle [1/0] [radius] |
Destroys all squad vehicles within the specified radius. |
ClearAttackCityCD [playerID] |
Resets the supply/raid cooldown for the specified player. |
Resource and Experience Rate Commands
For a full reference of experience rate and resource collection rate commands, see the Experience and Resource Rate Settings section in the The Front Server Setup Guide.
Quick reference for the most commonly used rate commands:
| Command | Description |
|---|---|
SetPlayerAddExpRate [N] |
Global experience gain multiplier for all players. |
GMSetTreeGainRate [N] |
Wood collection multiplier. |
GMSetOreGainRate [N] |
Ore and mineral collection multiplier. |
GMSetCropGrowRate [N] |
Crop growth speed multiplier. |
ServerConfig_.ini file.
Related Articles
- The Front Server Setup Guide
- How to Find Your Server IP and Port
- How to Upload Files via SFTP
- Getting Started with Your New Server
Need Help?
If you need assistance with admin commands or server management for The Front, please open a support ticket and our team will be happy to assist you.