Home » How-To » Gaming » The Front Cheats and Console Commands

The Front Cheats and Console Commands

The Front is an open-world survival shooter where players fight to prevent the rise of an evil empire.

It features base building, crafting, combat, and vehicles, with a focus on teamwork and strategy.

Players can explore diverse biomes, recruit NPC allies, and defend their bases using traps.

Future updates include new customization options, and mobile base vehicles for deeper gameplay.

In this guide, you’ll learn how to access and use The Front Cheats and a list of console commands (and how to open the console).

How to use The Front Cheats

  1. Launch The Front, start a new game, or load a save.
  2. Press SHIFT + G on your keyboard to open the GM Tool.
  3. Use cheats like ghost, invincibility, 100,000 HP, and more.
  4. Under “Items”, you can search and spawn any object.

How to open the console in The Front

On Steam:

  1. Go to your Steam library.
  2. Right-click “The Front” and select “Properties”.
  3. Enter this into the “Launch Options” field:
    • -ServerAdminAccounts=”Your Steam ID” (e.g. -ServerAdminAccounts=7544659097653356).
  4. Launch the game as an administrator and load a save.
  5. Press the “~” key on your keyboard to open the console.

Non-Steam:

  1. Navigate to the game’s exe file in the installation folder (e.g. C:\…\The Front\ProjectWar\Binaries\Win64\).
  2. Right-click “TheFront.exe” and select “Properties”.
  3. Add this line under “Target”:
    • -ServerAdminAccounts=”Your Steam ID” (e.g. -ServerAdminAccounts=7544659097653356).
  4. Select “Apply” and select “OK”.
  5. Launch the game as an administrator and load a save.
  6. Press the “~” key on your keyboard to open the console.

The Front console commands

Admin commands:

  • ActivateIgnoreEnvironment [1(Enabled)/0 (Disabled)]: Enable/disable environmental immunity
  • ActivateInfiniteRecoverHealth [1 (Enabled)/0 (Disabled)]: Recovers Max HP every second
  • ActivateInfiniteStamina [1 (Enabled)/0 (Disabled)]: Enable/disable infinite stamina
  • AddTargetPlayerExp [playerID] [EXP value]: Gives XP amount to specific player
  • BanPlayer [playerID] login: Bans a player from logging back into the server
  • BanPlayer [playerID] chat: Bans a player from using the in-game chat
  • ClearAllNPC: Kills all spawned NPCs
  • ClearAllPlayersGodMode: Clears all players’ God Mode status on the current server
  • ClearAttackCityCD [Player ID]: Clears target player’s supply cooldown
  • CloseServer: Closes the current server
  • DestroyPlayerByGUID [playerID]: Kills the specified player
  • fly: Enables flight
  • GMAddItems [itemID] [amount] [playerID]: Gives specified item to the player
  • GMClearInventory [playerID]: Clears a specified player’s inventory
  • GMCreatorMode Enable state (1 Enabled, 0 Disabled): Crafting and repairing will not require materials
  • GMSpawnNPCByLocation [creatureID] [level] [coordinate x] [coordinate y] [coordinate z]: Spawn an NPC with specified level at the set location
  • GMSpawnNPCByPlayerGuid [creatureID] [level] [amount] [distance (in meters)] [playerID]: Does the same as the previous command but the admin specifies the distance instead of the coordinates
  • GMSetCraftTimeRate [multiplier]: Multiplies item crafting/repair time
  • GMSetInventoryGainRate [multiplier]: Multiplies the amount of resources received upon collection
  • GMSetToolDamageRate [multiplier]: Multiplies damage that tools deal to resources
  • GMSetWaterDecRate [multiplier]: Multiplies Hydration consumption speed
  • GotoPlayerByAccount [playerID]: Teleports to the specified player’s location
  • ghost: Enables flight and removes character collision
  • god: Enables god mode, player will take no damage
  • JoinGuild: Joins selected squad
  • JoinGuildByGuid [squad GUID]: Join a specific guild by their squad UID
  • KillGuildAll [1]: If target player is not on a squad, only they will be affected. If target player is on a squad, the whole squad will be affected. Upon death/destruction, items will be dropped
  • KillGuildAll [0]: If target player is not on a squad, only they will be affected. If target player is on a squad, the whole squad will be affected. Upon death/destruction, items will not be dropped
  • KillInteractObject: Kills unit you are facing (any structure, creature, vehicle)
  • KillRadiusGuildConstruct [1] [radius (in meters)]: If target player is not on a squad, only they will be affected. If target player is on a squad, the whole squad will be affected
  • KillRadiusGuildConstruct [0] [radius (in meters)]: If target player is not on a squad, only they will be affected. If target player is on a squad, the whole squad will be affected
  • KillRadiusGuildVehicle [1 or 0] [radius (in meters)]: If target player is not on a squad, only they will be affected. If target player is on a squad, the whole squad will be affected
  • KickPlayerOff [playerID]: Kicks a player from the server
  • PermitPlayer [playerID] login: Unbans a player
  • PermitPlayer [playerID] chat: Permits a player to use the in-game chat
  • PerspectiveConstruct [0 (don’t display)/1 (display)]: Displays structure names and structure owner names
  • PerspectivePlayer [0 (don’t display)/1 (display)]: Displays player names, making it easier to find players
  • RelocatePlayerToGM [playerID]: Teleports the specified player to the admin’s location
  • SaveWorld: Save server data
  • SetAttribute [36 (attribute number)] [value]: Sets speed
  • SetEnableSuperKill: Enables one-hit kills on creatures, vehicles, and structures
  • SetGuildAdmin [1/0]: The player becomes the squad captain, and the original squad captain will be demoted to a member. This function is only for GM operation.
  • SetPlayerScaleRate [scale]: Changes the size of the character model
  • SetPlayerMaxHealthRate [multiplier]: Multiplies max HP
  • SetPlayerMaxStaminaRate [multiplier]: Multiplies max stamina
  • SetPlayerAddExpRate [multiplier]: Multiplies all XP earned
  • SetPlayerDeathAvatarItemDurableRate [multiplier]: On death, the Durability of equipped items will fall by max Durability times this amount (does not affect drops)
  • SetTime [time value]: Set world time
  • SetWeather [weather ID] [region ID]: Sets the server weather
  • Shift+C and Shift+V: Enables use of specific shortcut keys to switch to an overhead perspective of a player, at the same time enabling noclip, flight, and invulnerability
  • walk: Cancels the fly command and grounds the character

Server commands:

  • AddGM [Account ID] [GM level]: Enter a 17-digit Steam ID. Use semicolons between each ID. GM level defaults to the highest level (Lv. 25)
  • GMSetCanDropItem [0= No drops; 1= All drop]: When enabled, creatures and structures will drop items when killed/destroyed
  • GMSetDeathDropMode [parameter]: 0 = No drops, 1 = Drop all, 2 = Drop inventory (does not include equipped or hotkey items)
  • GMSetDiscardBoxLifeSpan [time (in seconds)]: Items discarded will disappear after this amount of time
  • GMSetDeathInventoryLifeSpan [time (in seconds)]: Items dropped on death will disappear after this amount of time
  • GMSetOverlapRatio [multiplier]: Stack limit for each type of item
  • GMSetPenaltiesCD [time (in seconds)]: Time after which stacked revival cooldowns are reset
  • GMSetPenaltiesMaxNum [times]: Death penalty multiplier
  • GMSetRebirthBaseCD [time (in seconds)]: Basic revival cooldown duration
  • GMSetRebirthExtraCD [time (in seconds)]: Amount by which revival cooldown increases after multiple deaths
  • MailAttchEnable [0 (Not allowed)/1 (Allowed)]: When disabled, prevents receiving attachments in-game
  • OpenAllHouseFlag [0 (Disabled)/1 (Enabled)]: Displays the location of other players’ Beacons on the map
  • RemoveGM [AccountID]: Removes an admin
  • SetAttackCityCdRatio: Multiplies the cooldown time between supply deliveries
  • SetCanChat [1 (Allowed) 0 (Not allowed)]: When disabled, prevents players from sending chat messages in-game
  • SetConstructDisableRot [1 (Disabled) 0 (Enabled)]: When enabled, structures will decay
  • SetGMRebirthBaseCD [time (in seconds)]: Basic revival cooldown duration
  • SetIsCanFriendDamage [0 (Disable)/1 (Enable)]: Allows squadmates to damage each other
  • SetIsCanSelfDamage [0(Disable)/1(Enable)]: Allows players to damage themselves
  • SetMaxQueueSize [amount]: Has the same effect as the previous admin command
  • SetPlayerHealthDyingState [1 (Wounded state is enabled)/0 (Wounded state is disabled)]: Enables whether the wounded state is triggered when HP falls to 0 or the player immediately dies
  • SetQueueThreshold [amount]: Sets the maximum number of players on the current server
  • SetSaveGameInterval [seconds]: Server archive interval (in seconds)
  • SetTime [time value]: Set world time

Character survival commands:

  • GMSetBodyHungerAddRate [multiplier]: Multiplies the amount of Fullness recovered by eating
  • GMSetBodyWaterAddRate [multiplier]: Multiplies the amount of Hydration recovered by drinking
  • GMSetCraftTimeRate [multiplier]: Multiplies item crafting/repair time
  • GMSetFoodDragDurationRate [multiplier]: Multiplies the duration of the effect of food and meds
  • GMSetHungerDecRate [multiplier]: Multiplies Fullness consumption speed
  • GMSetPlayerHealthRate [multiplier]: Multiplies amount of HP recovered from meds
  • GMSetWaterDecRate [multiplier]: Multiplies Hydration consumption speed
  • SetBodyWaterMaximumRate [multiplier]: Max Hydration will be multiplied by this value
  • SetBreathRecoverRate [multiplier]: Multiplies max Oxygen
  • SetBreathRecoverRate [multiplier]: Max Oxygen will be multiplied by this value
  • SetEnemyDisplayDistance [distance (in meters)]: Max distance at which you can see a non-squadmate’s name (in meters)
  • SetFriendDisplayDistance [distance (in meters)]: Max distance at which you can see a squadmate’s name (in meters)
  • SetJumpHeightRate [multiplier]: Multiplies jump height
  • SetLifeRecoverRate [multiplier]: HP recovery will be multiplied by this value
  • SetMoveSpeedRate [multiplier]: Multiplies movement speed
  • SetPlayerAddExpRate [multiplier]: Multiplies all XP earned
  • SetPlayerBreathCostRate [multiplier]: Multiplies Oxygen consumption speed
  • SetPlayerDeathAvatarItemDurableRate [multiplier]: On death, the Durability of equipped items will fall by max Durability times this amount (does not affect drops)
  • SetPlayerDeatShortcutItemDurableRate [multiplier]: On death, the Durability of hotbar items will fall by max Durability times this amount (does not affect drops)
  • SetPlayerFarmAddExpRate [multiplier]: Multiplies XP earned from collecting resources
  • SetPlayerHealthRate [multiplier]: Multiplies max HP
  • SetPlayerHotDefAddRate [multiplier]: Multiplies character Heat RES
  • SetPlayerIceDefAddRate [multiplier]: Multiplies character Cold RES
  • SetPlayerKillAddExpRate [multiplier]: Multiplies XP earned from killing monsters
  • SetPlayerLandedDamageRate [multiplier]: Multiplies damage taken from falls
  • SetPlayerMaxHungerRate [multiplier]: Max Fullness will be multiplied by this value
  • SetPlayerMaxHealthRate [multiplier]: Multiplies max HP
  • SetPlayerMaxStaminaRate [multiplier]: Multiplies max stamina
  • SetPlayerMaxStaminaRate [multiplier]: Multiplies max stamina
  • SetPlayerStaminaRecoverRate [multiplier]: Stamina recovery will be multiplied by this value
  • SetPlayerStaminaConsumeRatio [multiplier]: Multiplies stamina consumption speed
  • SetStaminaConsumeRatio [multiplier]: Multiplies stamina consumption speed

Vehicle commands:

  • GMVehiclePlayerDamageRatio=0: Multiplies the amount of damage vehicles deal to players. min 0,max100
  • GMVehiclePlayerDamageRatio=0: Multiplies the amount of resources collected by vehicles. min 0,max100
  • GMVehicleDamageRate: Multiplies the amount of resources collected by vehicles.

NPC commands:

  • GMSetCityAtkNPCLootItemRate [multiplier]: Multiplies the number of items dropped by a raid NPC on death
  • GMSetInventoryGainRate [multiplier]: Multiplies the amount of resources received upon collection
  • GMSetNPCLootableItemRate [multiplier]: Multiplies the number of items dropped by a wild NPC on death
  • SetAnimalBodyStayTime [time (in seconds)]: Animal NPC corpses will disappear after this amount of time (in seconds)
  • SetCityNPCDamageRate [multiplier]: Multiplies the damage dealt by raid NPCs
  • SetCityNPCHealthRate [multiplier]: Multiplies the HP of raid NPCs
  • SetCityNPCLevelRate [multiplier]: Multiplies the level of raid NPCs, making them more powerful
  • SetCityNPCNumRate [multiplier]: Multiplies the total amount of raid NPCs summoned each round
  • SetCityNPCSpeedRate [multiplier]: Multiplies the movement speed of raid NPCs
  • SetHumanBodyStayTime [time (in seconds)]: Human NPC corpses will disappear after this amount of time (in seconds)
  • SetNpcDisplayDistance [distance]: Max distance at which you can see an NPC’s name (in meters)
  • SetNpcRespawnRate [multiplier]: Multiplies time before dead wild NPCs can respawn
  • SetWildNPCDamageRate [multiplier]: Multiplies the damage dealt by wild NPCs
  • SetWildNPCHealthRate [multiplier]: Multiplies the HP of wild NPCs
  • SetWildNPCSpeedRate [multiplier]: Multiplies the movement speed of wild NPCs

Weapon commands:

  • GMSetToolDamageRate [multiplier]: Multiplies damage that tools deal to resources.
  • GMSetDurabilityCostRate [multiplier]: Multiplies durability lost when using tools, weapons, and armor.
  • SetMeleeNpcDamageRatio [multiplier]: Multiplies melee weapon damage that characters deal to NPCs.
  • SetRangedNpcDamageRatio [multiplier]: Multiplies ranged weapon damage that characters deal to NPCs.
  • SetMeleePlayerDamageRatio [multiplier]: Multiplies melee weapon damage that characters deal to players.
  • SetRangedPlayerDamageRatio [multiplier]: Multiplies ranged weapon damage that characters deal to players.
  • SetMeleeConstructDamageRatio [multiplier]: Multiplies melee weapon damage that characters deal to structures.

Item collection and production commands:

  • GMSetMaxRetrieveProductsRate [max multiplier] (Default -1 means no upper limit is determined): Controls max gains from collection. This value must be bigger than other collection rates.
  • GMSetTreeGainRate [multiplier]: Multiplies amount of wood collected.
  • GMSetBushGainRate [multiplier]: Multiplies amount of plants collected.
  • GMSetOreGainRate [multiplier]: Multiplies the amount of ore collected.
  • GMSetCropReapRate [multiplier]: Multiplies amount of crops collected.
  • GMSetFleshGainRate [multiplier]: Multiplies amount of items collected from corpses.
  • GMSetCropGrowRate [multiplier]: Multiplies growth speed of planted crops.

Building defense commands:

  • 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]: Damage that beacons take from NPCs is multiplied by this value
  • SetCHFDamagedRateByPlayer [ratio]: Damage that beacons take from player firearms is multiplied by this value
  • SetCHFDamagedRateByVehicle [ratio]: Damage that beacons take from player vehicles is multiplied by this value
  • SetConstructDefenseRatio [ratio]: Damage taken is multiplied by this value
  • SetConstructMaxHealthRatio [multiplier]: Multiplies the max Durability of structures
  • SetConstructReturnHPRatio [multiplier]: Multiplies the Durability recovery speed of placed structures
  • SetHouseFlagExcitantTime [number]: Sets the amount of time that beacons can be attacked. Values must be between 0 and 24
  • SetHouseFlagRepairHealthRatio [multiplier]: Multiplies the Durability recovery speed of structures within auto-repair range of a Beacon
  • SetHFTrapMaxNum [amount]: Max number of traps that can be within Beacon coverage
  • SetHFTurretMaxNum [amount]: Max number of turrets that can be within Beacon coverage
  • SetPlayerMaxHouseFlagNumber: Max number of Beacons each player can build
  • SetTrapDamageRatio [multiplier]: Multiplies damage dealt by traps
  • SetTrapDefenseRatio [ratio]: Damage taken is multiplied by this value
  • SetTurretDamageRatio [multiplier]: Multiplies damage dealt by turrets
  • SetGJConstructMaxNumRatio [multiplier]: Max number of work-type structures each player can build will be multiplied by this value

Further reading

Her New Memory Cheats and Console Commands

How to Access Jump Harem Cheats

How to Access Something Unlimited Cheats

Tags

About the author

Lim How Wei

Lim How Wei is the founder of followchain.org, with 8+ years of experience in Social Media Marketing and 4+ years of experience as an active investor in stocks and cryptocurrencies. He has researched, tested, and written thousands of articles ranging from social media platforms to messaging apps.

Lim has been quoted and referenced by major publications and media companies like WikiHow, Fast Company, HuffPost, Vice, New York Post, The Conversation, and many others. One of his articles about the gig economy was quoted by Joe Rogan who hosts The Joe Rogan Experience (arguably the most popular podcast in the world), in the This Past Weekend podcast by Theo Von.

In his free time, Lim plays multiple games like Genshin Impact, League of Legends, Counter-Strike, Hearthstone, RuneScape, and many others. He creates guides, walkthroughs, solutions, and more on games that he plays to help other players with their progression.