Farming Simulator 22 Cheats: Console Commands for PC
- PC Enable controls in game.xml, add -cheats to your Steam launch options, then press ` (backtick) to type commands.
Published by Andrew B.
No cheats match that filter.
Money and resources
| Cheat | Command | Effect |
|---|---|---|
| Add money | PCgsMoneyAdd [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
| Cheat | Command | Effect |
|---|---|---|
| Buy all farmland | PCgsFarmlandBuyAll | Buys every available farmland plot on the map |
| Sell all farmland | PCgsFarmlandSellAll | Sells every farmland plot you own |
| Buy farmland | PCgsFarmlandBuy [ID] | Buys the farmland plot with the given ID |
| Sell farmland | PCgsFarmlandSell [ID] | Sells the farmland plot with the given ID |
Vehicles and goods
| Cheat | Command | Effect |
|---|---|---|
| Fill a vehicle | PCgsFillUnitAdd [FillUnitIndex] [FillType] [Amount] | Fills the given fill unit on your current vehicle with the given fill type and amount |
| Add a bale | PCgsBaleAdd | Adds a generic bale of hay or straw in front of you |
| Add a pallet | PCgsPalletAdd [Type] | Spawns a pallet of the given goods type in front of you, for example WHEAT |
Movement and time
| Cheat | Command | Effect |
|---|---|---|
| Flight mode | PCgsPlayerFlightMode | Enables flight mode, which you then switch on and off with J; use Q and E to change altitude |
| Teleport | PCgsTeleport [Field ID or X] [Z] | Teleports you to the given field ID, or to specific X/Z coordinates |
| Set time of day | PCgsTimeSet [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
- Edit game.xml and change the controls setting from false to true.
- Add -cheats to the game's Steam launch options.
- 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
- In Steam, right-click Farming Simulator 22 and choose Manage, then Browse local files.
- Open game.xml in a text editor such as Notepad.
- In the development section, change the controls value from false to true and save the file.
- In Steam, open the game's Properties, General tab, and type -cheats in Launch options.
- 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.
- Windows and Mac BisectHosting says the console commands work in both the Windows and the Mac versions of the game, not only on Windows. BisectHosting: Farming Simulator 22 Console Commands, Cheats, & How to Enable
- Dedicated servers BisectHosting says you need the right access level for the commands to work, especially on a dedicated server, but it does not explain how to get that access. BisectHosting: Farming Simulator 22 Console Commands, Cheats, & How to Enable
- game.xml date prompt A commenter on the Steam guide, on game version 1.14.0.0, reports a startup prompt offering to replace game.xml because its edit date differs from the other files. The console only worked after redoing the edit and answering Yes. Steam Community Guide: How to use built-in cheats (and console)
- gsMoneyAdd default The Steam guide says gsMoneyAdd with no number adds 10 million, while BisectHosting says 10,000. Type an amount after the command if you want a known sum. Steam Community Guide: How to use built-in cheats (and console)
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.
