Farming Simulator 22 Cheats: Console Commands for PC

Published by

Money and resources

CheatCommandEffect
Add moneyPCgsMoneyAdd [Amount]Adds money to your farm; give it an amount to add (or a negative number to remove), or leave it blank for a default sum

Farmland and fields

CheatCommandEffect
Buy all farmlandPCgsFarmlandBuyAllBuys every available farmland plot on the map
Sell all farmlandPCgsFarmlandSellAllSells every farmland plot you own
Buy farmlandPCgsFarmlandBuy [ID]Buys the farmland plot with the given ID
Sell farmlandPCgsFarmlandSell [ID]Sells the farmland plot with the given ID

Vehicles and goods

CheatCommandEffect
Fill a vehiclePCgsFillUnitAdd [FillUnitIndex] [FillType] [Amount]Fills the given fill unit on your current vehicle with the given fill type and amount
Add a balePCgsBaleAddAdds a generic bale of hay or straw in front of you
Add a palletPCgsPalletAdd [Type]Spawns a pallet of the given goods type in front of you, for example WHEAT

Movement and time

CheatCommandEffect
Flight modePCgsPlayerFlightModeEnables flight mode, which you then switch on and off with J; use Q and E to change altitude
TeleportPCgsTeleport [Field ID or X] [Z]Teleports you to the given field ID, or to specific X/Z coordinates
Set time of dayPCgsTimeSet [Hour]Sets the in-game hour

A code here did not work? Tell us and it gets rechecked. Report a code

How to enter cheats in Farming Simulator 22

PC

  1. Edit game.xml and change the controls setting from false to true.
  2. Add -cheats to the game's Steam launch options.
  3. Press ` (backtick) twice in-game to open the console for typing, enter a command, and press Enter.

How to enable developer mode in Farming Simulator 22

  1. In Steam, right-click Farming Simulator 22 and choose Manage, then Browse local files.
  2. Open game.xml in a text editor such as Notepad.
  3. In the development section, change the controls value from false to true and save the file.
  4. In Steam, open the game's Properties, General tab, and type -cheats in Launch options.
  5. Start the game and press the backtick key (left of 1, no Shift): once shows the console read-only, a second press opens the input box, a third hides it.

Steam Community Guide: How to use built-in cheats (and console)

Compatibility notes

Which releases these codes apply to, and where one behaves differently. Each note links to the source that documents it.

FAQ

How do you enable cheats in Farming Simulator 22?

Set the controls setting to true in game.xml, add -cheats to your Steam launch options, then press ` (backtick) to open the console.

Is there a money cheat in Farming Simulator 22?

Yes. gsMoneyAdd adds money to your farm; add a number after it to add or remove a specific amount.

Can you use these console commands on PS5 or Xbox?

No. The developer console only works on the PC version.

How do you buy all the farmland instantly in Farming Simulator 22?

Open the console and type gsFarmlandBuyAll.

Is there a full list of Farming Simulator 22 console commands in-game?

Yes. Type help in the console and press Enter to scroll through every command with a short description.

Part of

References: BisectHosting: Farming Simulator 22 Console Commands, Cheats, & How to Enable; Steam Community Guide: How to use built-in cheats (and console).