Welcome back!

Sign in or create an account to enjoy GINX perks, enter competitions and access exclusive features.

GINX TV > Guides & Tutorial > The Front

The Front Admin Commands: All Commands and How To Use

Access everything this survival game offers with our guide that breaks down all of the admin commands and how to use them in The Front.
The Front Admin Commands: All Commands and How To Use
Samar Studio

The Front is an upcoming open-world survival shooter (currently in Early Access) that provides players with a wide range of unique features and content to enjoy as they embark on a mission to thwart the rise of a tyrannical empire. However, for those who wish to fully explore all that the game has to offer without going through the standard gameplay cycle, players have the option to utilize various admin commands. 

If you're interested in delving into and taking on a god-like role within The Front using these admin commands and codes to experiment with elements such as NPCs, weapons, game physics, and more, you've come to the right place. Below, you will find a comprehensive list of all The Front admin commands, providing you with control over every aspect you desire while playing the game.

The Front Admin Commands: How To Use Command Console

To access the in-game Command console in The Front, players must configure specific settings in the game's shortcuts. There are two methods for doing this, depending on whether you're playing The Front on Steam or through an alternative client. We'll outline both methods for enabling the command console:

All Console Commands And How To Use Them In The Front Setup
To set up the use of console/admin commands, there are two methods players can use depending on whether they're playing on Steam or other platforms. (Picture: Samar Studio)

Accessing the Command Console on Steam:

  1. Locate The Front in your Steam library.
  2. Right-click on the game title.
  3. Choose "Properties."
  4. In the ensuing small window, append the following line to the launch options: `-ServerAdminAccounts="Your Steam User ID" (e.g., "quickbrownfox123").

Accessing the Command Console on Other Platforms:

If you have a version of The Front not on Steam, you'll need to add the same line to the startup options of the game's shortcut. Here's how to do it:

  1. Create a shortcut for the file "TheFront.exe," typically found at "C:\…\The Front\ProjectWar\Binaries\Win64."
  2. Right-click on the "TheFront.exe" shortcut.
  3. Select "Properties."
  4. In the small window, include the line under "Target": `-ServerAdminAccounts="Name of your Windows user account" (e.g., "jumpingjack94").
  5. Click "Apply" and then "OK."

With the game now set up to utilize admin commands, you have two ways to access console commands: the GM Tool (an in-house cheat menu) and the console itself, which accepts commands.

How To Use Console Commands In The Front
To use console/admin commands, players can either use the GM Tool or the Admin command input. (Picture: Samar Studio)

Using the GM Tool:

To open the GM Tool, press Shift + G. This menu appears in the top right of the screen and provides several commands, including those for health, flight, increased speed, and more.

Using the Console:

The console offers more extensive functionality than the GM Tool. To access it, simply press the "~" key while the GM Tool is active. This action will bring up an input box at the bottom of the screen, allowing you to enter a wide range of commands.

The Front Admin Commands: All In-Game Console Commands

Below, you'll find a comprehensive list of admin commands that players can input into the console when playing The Front.

All Console Commands In The Front listed below
Below is a full list of all the current console/admin commands in The Front. (Picture: Samar Studio)

List of Admin Commands:

  1. God - Enables God mode to prevent character harm.
  2. Fly - Allows flying around the map.
  3. Walk - Reverts to walking mode.
  4. SloMode [0-1000] - Adjusts server speed.
  5. GMAddItems [itemID] [amount] [playerID] - Gives items to a player.
  6. AddTargetPlayerExp [playerID] [EXP value] - Adds experience to a player.
  7. GMSpawnNPCByLocation [creatureID] [level] [coordinate x] [coordinate y] [coordinate z] - Spawns an NPC.
  8. GMSpawnNPCByPlayerGuid [creatureID] [level] [amount] [distance (in meters)] [playerID] - Spawns an NPC.
  9. GotoPlayerByAccount [playerID] - Teleports to a player.
  10. RelocatePlayerToGM [playerID] - Moves a player to your location.
  11. DestroyPlayerByGUID [playerID] - Kills a specified player.
  12. GMClearInventory [playerID] - Clears a player's inventory.
  13. UnlockTargetAllRecipe [playerID] - Unlocks all recipes.
  14. UnlockTargetAllTalent [playerID] - Unlocks all talents.
  15. KickPlayerOff [playerID] - Kicks a player from the server.
  16. BanPlayer [playerID] login - Bans a player from logging in.
  17. PermitPlayer [playerID] login - Unbans a player.
  18. BanPlayer [playerID] chat - Bans a player from in-game chat.
  19. PermitPlayer [playerID] chat - Permits a player to use in-game chat.
  20. CloseServer - Closes the server.
  21. SaveWorld - Saves server data.
  22. SetTime [time value] - Sets world time.
  23. SetWeather [weather ID] [region ID] - Sets server weather.
  24. hide 1 (Enabled)/0 (Disabled) - Renders objects invisible.
  25. SetAttribute 36 (attribute number) [value] - Sets speed.
  26. Ghost - Enables flight and removes character collision.
  27. PerspectiveConstruct 0 (don't display)/1 (display) - Displays structure names.
  28. PerspectivePlayer 0 (don't display)/1 (display) - Displays player names.
  29. goto x y z - Teleports to coordinates.
  30. ClearAllNPC - Kills all spawned NPCs.
  31. SetPlayerScaleRate [scale] - Adjusts character size.
  32. ClearAllPlayersGodMode - Affects all players.
  33. ActivateInfiniteStamina 1 (Enabled)/0 (Disabled) - Enables/disables infinite stamina.
  34. ActivateIgnoreEnvironment 1 (Enabled)/0 (Disabled) - Enables/disables environmental immunity.
  35. ActivateInfiniteRecoverHealth 1 (Enabled)/0 (Disabled) - Recovers Max HP every second.
  36. KillGuildAll 1 - Affects all players in the guild.
  37. KillGuildAll 0 - Affects individual players in the guild.
  38. KillRadiusGuildConstruct 1 [radius (in meters)] - Affects players in the radius.
  39. KillRadiusGuildConstruct 0 [radius (in meters)] - Affects players in the radius.
  40. KillRadiusGuildVehicle 1 or 0 [radius (in meters)] - Affects players and vehicles in the radius.
  41. ClearAttackCityCD [Player ID] - Clears player's supply cooldown.
  42. SetEnableSuperKill - Enables one-hit kills.
  43. JoinGuild - Select a squad before using this command.
  44. SetGuildAdmin 1/0 - Promotes you to squad captain.
  45. ForcedChangeGuildName [squad GUID] [new squad name] - Renames a squad.
  46. JoinGuildByGuid [squad GUID] - Joins a squad by GUID.
  47. KillInteractObject - Kills an interactable object.
  48. GMCreatorMode Enable state (1 Enabled, 0 Disabled) - Craft and repair without materials.
  49. Shift+C and Shift+V - Enables an overhead perspective.

List of Server Advanced Settings Commands:

  1. SetQueueThreshold [amount] - Maximum server player limit.
  2. SetMaxQueueSize [amount] - Maximum server player limit.
  3. SetIsCanSelfDamage 0 (Disable)/1 (Enable) - Allows self-damage.
  4. SetIsCanFriendDamage 0 (Disable)/1 (Enable) - Allows squadmates to damage each other.
  5. SetCanChat 1 (Allowed) 0 (Not allowed) - Enables/disables in-game chat.
  6. MailAttchEnable 0 (Not allowed)/1 (Allowed) - Enables/disables receiving attachments.
  7. SetSaveGameInterval [seconds] - Server archive interval.
  8. GMSetOverlapRatio [multiplier] - Stack limit for items.
  9. GMSetDeathDropMode [parameter] - Controls item drops.
  10. SetConstructDisableRot 1 (Disabled) 0 (Enabled) - Enables/disables structure decay.
  11. GMSetCanDropItem 0= No drops; 1= All drop - Controls drops from creatures and structures.
  12. GMSetCanDiscardItem 0 (cannot discard)/1 (can discard) - Sets item discard permission.
  13. SetPlayerHealthDyingState 1 (Wounded state is enabled)/0 (Wounded state is disabled) - Enables wounded state.
  14. AddGM [Account ID] [GM level] - Adds a GM.
  15. RemoveGM [AccountID] - Removes an admin.
  16. ToggleGMTitleShow 0 (Not displayed)\1 (Displayed) - Toggles admin icon display.
  17. GMSetDiscardBoxLifeSpan [time (in seconds)] (Default -1 to use default settings) - Controls item discard lifespan.
  18. GMSetDeathInventoryLifeSpan [time (in seconds)] (Default -1 to use default settings) - Controls death inventory lifespan.
  19. SetAttackCityCdRatio - Multiplies supply delivery cooldown.
  20. SetGMRebirthBaseCD [time (in seconds)] - Sets revival cooldown duration.
  21. SetGMRebirthExtraCD [time (in seconds)] - Sets additional revival cooldown.
  22. SetGMPenaltiesMaxNum [times] - Death penalty times.
  23. SetGMPenaltiesCD [time (in seconds)] - Reset time for stacked revival cooldowns.
  24. OpenAllHouseFlag 0 (Disabled)/1 (Enabled) - Displays the location of other players' Beacons on the map.

List of Character Survival Commands:

  1. SetPlayerHotDefAddRate [multiplier] - Multiplies character Heat RES.
  2. SetPlayerIceDefAddRate [multiplier] - Multiplies character Cold RES.
  3. SetFriendDisplayDistance [distance (in meters)] - Max distance for seeing squadmate names.
  4. SetEnemyDisplayDistance [distance (in meters)] - Max distance for seeing non-squadmate names.
  5. SetPlayerDeathAvatarItemDurableRate [multiplier] - Adjusts item durability loss on death.
  6. SetPlayerDeatShortcutItemDurableRate [multiplier] - Adjusts hotbar item durability loss on death.
  7. GMSetCraftTimeRate [multiplier] - Multiplies crafting/repair time.
  8. SetPlayerAddExpRate [multiplier] - Multiplies all XP earned.
  9. SetPlayerKillAddExpRate [multiplier] - Multiplies XP earned from killing monsters.
  10. SetPlayerFarmAddExpRate [multiplier] - Multiplies XP earned from collecting resources.
  11. SetPlayerCraftAddExpRate [multiplier] - Multiplies XP earned from crafting items.
  12. SetMoveSpeedRate [multiplier] - Multiplies movement speed.
  13. SetJumpHeightRate [multiplier] - Multiplies jump height.
  14. SetPlayerLandedDamageRate [multiplier] - Multiplies fall damage.
  15. SetPlayerMaxHealthRate [multiplier] - Multiplies max HP.
  16. SetLifeRecoverRate [multiplier] - Multiplies HP recovery.
  17. SetPlayerMaxStaminaRate [multiplier] - Multiplies max stamina.
  18. SetStaminaRecoverRate [multiplier] - Multiplies stamina recovery.
  19. SetStaminaConsumeRatio [multiplier] - Multiplies stamina consumption speed.
  20. SetPlayerMaxHungerRate [multiplier] - Multiplies max Fullness.
  21. GMSetHungerDecRate [multiplier] - Multiplies Fullness consumption speed.
  22. GMSetBodyHungerAddRate [multiplier] - Multiplies Fullness recovery from eating.
  23. SetBodyWaterMaximumRate [multiplier] - Multiplies max Hydration.
  24. GMSetWaterDecRate [multiplier] - Multiplies Hydration consumption speed.
  25. GMSetBodyWaterAddRate [multiplier] - Multiplies Hydration recovery from drinking.
  26. SetBreathRecoverRate [multiplier] - Multiplies max Oxygen.
  27. SetBreathRecoverRate [multiplier] - Multiplies max Oxygen.
  28. SetPlayerBreathCostRate [multiplier] - Multiplies Oxygen consumption speed.
  29. GMSetPlayerHealthRate [multiplier] - Multiplies HP recovery from meds.
  30. GMSetFoodDragDurationRate [multiplier] - Multiplies the duration of food and med effects.

List of Vehicle Commands:

  1. GMVehiclePlayerDamageRatio=0 - Multiplies player damage from vehicles.
  2. GMVehicleResourcesRatio=0 - Multiplies resource collection by vehicles.
  3. GMVehicleDamageRate - Multiplies resource collection by vehicles.

List of NPC Commands:

  1. SetNpcRespawnRate [multiplier] - Multiplies NPC respawn time.
  2. SetAnimalBodyStayTime [time (in seconds)] - Controls animal NPC corpse disappearance.
  3. SetHumanBodyStayTime [time (in seconds)] - Controls human NPC corpse disappearance.
  4. GMSetNPCLootableItemRate [multiplier] - Multiplies item drops from wild NPCs.
  5. SetWildNPCDamageRate [multiplier] - Multiplies damage dealt by wild NPCs.
  6. SetWildNPCHealthRate [multiplier] - Multiplies wild NPC HP.
  7. SetWildNPCSpeedRate [multiplier] - Multiplies wild NPC movement speed.
  8. SetCityNPCLevelRate [multiplier] - Multiplies raid NPC levels.
  9. SetCityNPCDamageRate [multiplier] - Multiplies raid NPC damage.
  10. SetCityNPCHealthRate [multiplier] - Multiplies raid NPC HP.
  11. SetCityNPCSpeedRate [multiplier] - Multiplies raid NPC movement speed.
  12. SetCityNPCNumRate [multiplier] - Multiplies total raid NPC summons.
  13. SetNpcDisplayDistance [distance] - Max distance for seeing an NPC's name.
  14. GMSetInventoryGainRate [multiplier] - Multiplies resources received from the collection.
  15. GMSetCityAtkNPCLootItemRate [multiplier] - Multiplies item drops from raid NPCs.

List of Weapon Combat Commands:

  1. SetMeleeNpcDamageRatio [multiplier] - Multiplies melee weapon damage to NPCs.
  2. SetRangedNpcDamageRatio [multiplier] - Multiplies ranged weapon damage to NPCs.
  3. SetMeleePlayerDamageRatio [multiplier] - Multiplies melee weapon damage to players.
  4. SetRangedPlayerDamageRatio [multiplier] - Multiplies ranged weapon damage to players.
  5. SetMeleeConstructDamageRatio [multiplier] - Multiplies melee weapon damage to structures.
  6. GMSetToolDamageRate [multiplier] - Multiplies tool damage to resources.
  7. GMSetDurabilityCostRate [multiplier] - Multiplies durability loss when using tools, weapons, and armor.

List of Collection Production Commands:

  1. GMSetMaxRetrieveProductsRate [max multiplier] - Controls max gains from collection.
  2. GMSetTreeGainRate [multiplier] - Multiplies wood collection.
  3. GMSetBushGainRate [multiplier] - Multiplies plant collection.
  4. GMSetOreGainRate [multiplier] - Multiplies ore collection.
  5. GMSetCropReapRate [multiplier] - Multiplies crop collection.
  6. GMSetFleshGainRate [multiplier] - Multiplies item collection from corpses.
  7. GMSetCropGrowRate [multiplier] - Multiplies crop growth speed.

List of Building Defense Commands:

  1. SetPlayerMaxHouseFlagNumber - Max number of Beacons each player can build.
  2. SetGJConstructMaxNumRatio [multiplier] - Multiplies max number of work-type structures.
  3. SetHFTrapMaxNum [amount] - Max number of traps within Beacon coverage.
  4. SetHFTurretMaxNum [amount] - Max number of turrets within Beacon coverage.
  5. SetConstructDefenseRatio [ratio] - Multiplies damage taken by structures.
  6. SetTrapDefenseRatio [ratio] - Multiplies damage taken by traps.
  7. SetTrapDamageRatio [multiplier] - Multiplies trap damage.
  8. SetTurretDamageRatio [multiplier] - Multiplies turret damage.
  9. SetConstructMaxHealthRatio [multiplier] - Multiplies max Durability of structures.
  10. SetConstructReturnHPRatio [multiplier] - Multiplies Durability recovery of placed structures.
  11. SetHouseFlagRepairHealthRatio [multiplier] - Multiplies Durability recovery of structures within the auto-repair range of a Beacon.
  12. GMSetTTC_Oil_Rate [multiplier] - Multiplies resources collected from Oil Wells.
  13. GMSetWaterCollector_Rate [multiplier] - Multiplies resources collected from Dew Collectors.
  14. GMSetTTC_Ore_Rate [multiplier] - Multiplies resources collected from Mines.
  15. GMSetTTC_Fish_Rate [multiplier] - Multiplies resources collected from Fish Baskets.
  16. SetCHFDamagedRateByPlayer [ratio] - Multiplies damage to Beacons from player firearms.
  17. SetCHFDamagedRateByVehicle [ratio] - Multiplies damage to Beacons from player vehicles.
  18. SetCHFDamagedRateByNpc [ratio] - Multiplies damage to Beacons from NPCs.
  19. SetHouseFlagExcitantTime [number] - Sets the duration that Beacons can be attacked.