All Server Admin Console Commands For The Front
Screenshot: Samar Studio

All Server Admin Console Commands for The Front

It's cheating time!

Sometimes it’s more fun to not play by the rules in video games. Cheats and console commands have been around for ages, and even The Front allows you to use them. This open-world survival crafting shooter has quite an enormous list of console commands. If you’re running a server and you want to play god, here are all the Server Admin Console Commands in The Front.

Recommended Videos

The Front: How to activate Server Admin Console Commands

First off, you have to actually activate the ability to use Console Commands first. It’s a lot easier than you think! The methods are a little different depending on the platform and service you’re playing on.

How to access Console Commands on Steam

  1. Find The Front in your Steam Library.
  2. Right-click The Front and select ‘Properties’.
  3. Write this into the Launch Options bar: -ServerAdminAccounts=”Your Steam User ID”.

How to access Console Commands on a different platform

If you don’t own The Front on Steam, there are still other ways to access the Command Console.

  1. Create a shortcut to the file ‘TheFront.exe’. Typically found here in File Explorer: ‘C:\…\The Front\ProjectWar\Binaries\Win64\’
  2. Rick-click on ‘TheFront.exe’ shortcut and select ‘Properties’.
  3. Add this line under ‘Target’: -ServerAdminAccounts=”Name of Windows user account”.
  4. Select ‘Apply’, then ‘Ok’.

How to open the Admin Command Console

Now that you’ve enabled Console Commands in The Front, there are two specific ways to actually access them. Either through the GM tool or through the console itself.

  • GM Tool: Press ‘Shift + G’, and you’ll notice a menu appear on the right side of your screen. You have access to several commands.
  • Console: Press ‘~’ while in the GM Tool. You’ll then get the option of entering many more commands than normal.
All Server Admin Console Commands for The Front
Screenshot: Samar Studio

The Front: All Console Commands

All Admin Commands

CommandAbility
ActivateIgnoreEnvironment 1(Enabled)/0 (Disabled)Enable/disable environmental immunity.
ActivateInfiniteRecoverHealth 1 (Enabled)/0 (Disabled)Recovers maximum HP each second.
ActivateInfiniteStamina 1 (Enabled)/0 (Disabled)Enable/disable infinite stamina.
AddTargetPlayerExp [playerID] [EXP value]Gives player experience.
BanPlayer [playerID] chatBans player from using in-game chat.
BanPlayer [playerID] loginBans player from logging into server.
ClearAllNPCKills all NPCs.
ClearAllPlayersGodModeClears all players’ God mode on server.
ClearAttackCityCD [Player ID]Clears player’s supply cooldown.
CloseServerCloses server.
DestroyPlayerByGUID [playerID]Kills the player.
FlyAllows you to fly.
ForcedChangeGuildName [squad GUID] [new squad name]Renames your squad name.
GhostAllows flight and removes character collision.
GMAddItems [itemID] [amount] [playerID]Gives specified item to player.
GMClearInventory [playerID]Empties player’s inventory.
GMCreatorMode Enable state (1 Enabled, 0 Disabled)Crafting/repairing won’t require materials.
GMSpawnNPCByLocation [creatureID] [level] [coordinate x] [coordinate y] [coordinate z]Spawns the NPC.
GMSpawnNPCByPlayerGuid [creatureID] [level] [amount] [distance (in meters)] [playerID]Spawns the NPC to specified player.
GodGod mode to never get harmed.
goto x y zTeleports you to coordinates.
GotoPlayerByAccount [playerID]Teleports you to a player.
hide 1(Enabled)/0 (Disabled)Makes player, NPC, monster, or defensive structure invisible.
JoinGuildSelect squad before using command to join them.
JoinGuildByGuid [squad GUID]Ignores squad player limit.
KickPlayerOff [playerID]Kicks player from server.
KillGuildAll 0Kills individual player in guild.
KillGuildAll 1Kills all players in guild.
KillInteractObjectKills object you’re facing.
KillRadiusGuildConstruct 0 [radius (in meters)]Affects players in radius.
KillRadiusGuildConstruct 1 [radius (in meters)]Affects players in radius.
KillRadiusGuildVehicle 1 or 0 [radius (in meters)]Affects players and vehicles in radius.
PermitPlayer [playerID] chatAllows you to permit player to use in-game chat.
PermitPlayer [playerID] loginAllows you to unban player.
PerspectiveConstruct 0 (don’t display)/1 (display)Displays structure and structure owner names.
PerspectivePlayer 0 (don’t display)/1 (display)Displays player names.
RelocatePlayerToGM [playerID]Moves another player to yourself.
SaveWorldSaves server data.
SetAttribute 36 (attribute number) [value]Sets speed.
SetEnableSuperKillEnables one-hit kills on creatures, structures, and vehicles.
SetGuildAdmin 1/0Become squad’s captain, and original captain is demoted.
SetPlayerScaleRate [scale]Alters size of character model.
SetTime [time value]Sets time in server.
SetWeather [weather ID] [region ID]Sets weather in server.
Shift+C and Shift+VEnables overhead perspective.
SloMode [0-1000]Changes server speed.
UnlockTargetAllRecipe [playerID]Unlocks all recipes for player.
UnlockTargetAllTalent [playerID]Unlocks all talents for player.
WalkGoes to walk mode.

All advanced server setting Commands

CommandAbility
AddGM [Account ID] [GM level]Adds a GM.
GMSetCanDiscardItem 0 (cannot discard)/1 (can discard)Sets whether players can drop items.
GMSetCanDropItem 0= No drops; 1= All drop:Creatures/structures won’t drop items when destroyed.
GMSetDeathDropMode [parameter]Controls item drops.
GMSetDeathInventoryLifeSpan [time (in seconds)] (Default -1 to use default settings)Controls death inventory lifespan.
GMSetDiscardBoxLifeSpan [time (in seconds)] (Default -1 to use default settings)Discarded items will disappear after set time.
GMSetOverlapRatio [multiplier]Stack limit for each item type.
MailAttchEnable 0 (Not allowed)/1 (Allowed)Prevents receiving attachments.
OpenAllHouseFlag 0 (Disabled)/1 (Enabled)Displays other players’ beacon locations,
RemoveGM [AccountID]Removes admin.
SetAttackCityCdRatioMultiplies cooldown time between supply deliveries
SetCanChat 1 (Allowed) 0 (Not allowed)Prevents players from sending messages.
SetConstructDisableRot 1 (Disabled) 0 (Enabled)Structures decay.
SetGMPenaltiesCD [time (in seconds)]Resets time for stacked revival cooldowns.
SetGMPenaltiesMaxNum [times]Sets death penalty times.
SetGMRebirthBaseCD [time (in seconds)]Sets revival cooldown duration.
SetGMRebirthExtraCD [time (in seconds)]Sets additional revival cooldown.
SetIsCanFriendDamage 0 (Disable)/1 (Enable)Allows squad members to damage each other.
SetIsCanSelfDamage 0(Disable)/1(Enable)Allows players to damage themselves.
SetMaxQueueSize [amount]Sets max amount of server players.
SetPlayerHealthDyingState 1 (Wounded state is enabled)/0 (Wounded state is disabled)Enables wounded state.
SetSaveGameInterval [seconds]Server archive interval in seconds.
ToggleGMTitleShow 0 (Not displayed)\1 (Displayed)Toggles special admin icon

All character Commands

CommandAbility
GMSetBodyHungerAddRate [multiplier]Multiples fullness recovery from eating.
GMSetBodyWaterAddRate [multiplier]Multiples hydration recovery from drinking.
GMSetCraftTimeRate [multiplier]Multiplies item crafting/repair time.
GMSetFoodDragDurationRate [multiplier]Multiplies duration of food/meds effects.
GMSetHungerDecRate [multiplier]Multiplies fullness consumption speed.
GMSetPlayerHealthRate [multiplier]Multiplies HP recovery from meds.
GMSetWaterDecRate [multiplier]Multiplies hydration consumption speed.
SetBodyWaterMaximumRate [multiplier]Multiplies max hydration.
SetBreathRecoverRate [multiplier]Multiplies max oxygen.
SetEnemyDisplayDistance [distance (in meters)]Sets max distance you can see a player’s name not in your squad.
SetFriendDisplayDistance [distance (in meters)]Sets max distance you can see a squad member’s name.
SetJumpHeightRate [multiplier]Multiplies jump height.
SetLifeRecoverRate [multiplier]Multiplies HP recovery.
SetMoveSpeedRate [multiplier]Multiplies movement speed.
SetPlayerAddExpRate [multiplier]Multiplies earned XP.
SetPlayerBreathCostRate [multiplier]Multiplies oxygen consumption speed.
SetPlayerCraftAddExpRate [multiplier]Multiplies XP earned by crafting items.
SetPlayerDeathAvatarItemDurableRate [multiplier]Sets item durability loss upon death.
SetPlayerDeatShortcutItemDurableRate [multiplier]Sets hotbar item durability loss upon death.
SetPlayerFarmAddExpRate [multiplier]Multiplies XP earned by collecting resources.
SetPlayerHotDefAddRate [multiplier]Multiplies character heat RES.
SetPlayerIceDefAddRate [multiplier]Multiplies character cold RES.
SetPlayerKillAddExpRate [multiplier]Multiplies XP earned by killing monsters.
SetPlayerLandedDamageRate [multiplier]Multiplies fall damage.
SetPlayerMaxHealthRate [multiplier]Multiplies max HP.
SetPlayerMaxHungerRate [multiplier]Multiplies max fullness.
SetPlayerMaxStaminaRate [multiplier]Multiplies max stamina.
SetStaminaConsumeRatio [multiplier]Multiplies stamina consumption speed.
SetStaminaRecoverRate [multiplier]Multiplies Stamina recovery.

All NPC Commands

CommandAbility
GMSetCityAtkNPCLootItemRate [multiplier]Multiplies item drops by raid NPCs.
GMSetInventoryGainRate [multiplier]Multiplies amount of resources received on collection.
GMSetNPCLootableItemRate [multiplier]Multiplies item drops from wild NPCs.
SetAnimalBodyStayTime [time (in seconds)]When animal NPCs will disappear.
SetCityNPCDamageRate [multiplier]Multiplies damage raid NPCs deal.
SetCityNPCHealthRate [multiplier]Multiplies raid NPCs HP.
SetCityNPCLevelRate [multiplier]Multiplies raid NPCs level.
SetCityNPCNumRate [multiplier]Multiplies raid NPCs summoned.
SetCityNPCSpeedRate [multiplier]Multiplies raid NPCs movement speed.
SetHumanBodyStayTime [time (in seconds)]When human NPC corpses will disappear.
SetNpcDisplayDistance [distance]Max distance you can see NPC names.
SetNpcRespawnRate [multiplier]Multiplies respawn rate of wild NPCs.
SetWildNPCDamageRate [multiplier]Multiplies damage wild NPCs deal.
SetWildNPCHealthRate [multiplier]Multiplies HP of wild NPCs.
SetWildNPCSpeedRate [multiplier]Multiplies wild NPCs’ movement speed.

Related: How to find food in The Front

All building Commands

CommandAbility
GMSetTTC_Fish_Rate [multiplier]Multiplies resources collected from Fish Baskets.
GMSetTTC_Oil_Rate [multiplier]Multiplies resources collected from Oil Wells.
GMSetTTC_Ore_Rate [multiplier]Multiplies resources collected from Mines.
GMSetWaterCollector_Rate [multiplier]Multiplies resources collected from Dew Collectors.
SetCHFDamagedRateByNpc [ratio]Multiplies damage that beacons take by NPCs.
SetCHFDamagedRateByPlayer [ratio]Multiplies damage to beacons from player firearms.
SetCHFDamagedRateByVehicle [ratio]Multiplies damage to beacons from player vehicles
SetConstructDefenseRatio [ratio]Multiples damage taken by structures.
SetConstructMaxHealthRatio [multiplier]Multiplies max durability of structures.
SetConstructReturnHPRatio [multiplier]Multiplies durability recovery speed of structures.
SetGJConstructMaxNumRatio [multiplier]Multiplies max amount of work-type structures
SetHFTrapMaxNum [amount]Max number of traps within beacon coverage.
SetHFTurretMaxNum [amount]Max number of turrets in beacon coverage.
SetHouseFlagExcitantTime [number]Amount of times beacons get attacked.
SetHouseFlagRepairHealthRatio [multiplier]Multiplies durability recovery of structures within the auto-repair range of beacons.
SetPlayerMaxHouseFlagNumberMax amount of beacons players can make.
SetTrapDamageRatio [multiplier]Multiplies trap damage.
SetTrapDefenseRatio [ratio]Multiplies damage taken by traps.
SetTurretDamageRatio [multiplier]Multiplies damage turrets deal.

All vehicle Commands

CommandAbility
GMVehicleDamageRateMultiplies resource collection from vehicles.
GMVehiclePlayerDamageRatio=0Multiplies player damage by vehicles.
GMVehiclePlayerDamageRatio=0Multiplies resource collection from vehicles.

All weapon Commands

CommandAbility
GMSetDurabilityCostRate [multiplier]Multiplies loss of durability when using tools/armor/weapons.
GMSetToolDamageRate [multiplier]Multiplies damage tools deal to resources.
SetMeleeConstructDamageRatio [multiplier]Multiplies melee weapon damage to structures.
SetMeleeNpcDamageRatio [multiplier]Multiplies melee weapon damage to NPCs
SetMeleePlayerDamageRatio [multiplier]Multiplies melee weapon damage to players.
SetRangedNpcDamageRatio [multiplier]Multiplies ranged weapon damage to NPCs.
SetRangedPlayerDamageRatio [multiplier]Multiplies ranged weapon damage to players.

All collecting/production Commands

CommandAbility
GMSetBushGainRate [multiplier]Multiplies amount of plants collected.
GMSetCropGrowRate [multiplier]Multiplies crop growth speed.
GMSetCropReapRate [multiplier]Multiplies amount of crops collected.
GMSetFleshGainRate [multiplier]Multiplies items collected from corpses.
GMSetMaxRetrieveProductsRate [max multiplier]Controls max gains from collection.
GMSetOreGainRate [multiplier]Multiplies ore collected.
GMSetTreeGainRate [multiplier]Multiplies wood collected.

Other The Front articles


The Front is available on Steam.


PC Invasion is supported by our audience. When you purchase through links on our site, we may earn a small affiliate commission. Learn more
related content
Read Article Gray Zone Warfare Radio Silence guide: Where to find the isolated house
Gray Zone Warfare Isolated House Featured Image
Read Article Gray Zone Warfare Native Negotiations guide: Where to find the car repair shop
Gray Zone Warfare Car Repair Shop Featured Image
Read Article Best Jobs and Traits in Abiotic Factor
Abiotic Factor Character Creation
Related Content
Read Article Gray Zone Warfare Radio Silence guide: Where to find the isolated house
Gray Zone Warfare Isolated House Featured Image
Read Article Gray Zone Warfare Native Negotiations guide: Where to find the car repair shop
Gray Zone Warfare Car Repair Shop Featured Image
Read Article Best Jobs and Traits in Abiotic Factor
Abiotic Factor Character Creation
Author
Anyka Pettigrew
Anyka Pettigrew has been a Staff Writer for PC Invasion since November 2023 and a Contributing Writer since February 2023. She is a Canadian graduate of a Bachelor of Arts degree who has been writing in games journalism for four years. Anyka is an avid guides writer but also enjoys writing anything from news pieces, to reviews, and even opinion pieces. Having a never-ending passion for video games for as long as she can remember got her into a plethora of genres like action adventure, RPGs, horror, survival etc. Some of her favorite franchises are God of War, Persona, The Last of Us, Zelda, and Resident Evil. She also enjoys reading fantasy and sci-fi books, as well as drawing digital art. Anyka also regularly listens to podcasts on gaming news from 'Kinda Funny Games', and 'Play, Watch, Listen'.