Other Games

Farming Simulator 22 Console Commands List and How to Enable Cheats

Other Games·April 15, 2024·45 min read

Farming Simulator 22 console commands can speed up testing, fix awkward situations, or reshape a save without waiting through the usual grind. They are especially useful for money, weather, vehicles, farmland, fields, and debug tools.

These commands only work on the Windows and Mac versions of the game. On dedicated servers, you also need the correct access level before admin-style commands will work.

Farming Simulator 22 Console Commands and Cheats

Commands are entered through the in-game console after cheats and console access are enabled. Many commands are case-sensitive, so type them carefully.

Common Gameplay Commands

  • gsPlayerFlightMode: Activates flight mode. Press Q and E to adjust altitude.
  • gsMoneyAdd: Adds 10,000 money, or use gsMoneyAdd <amount> to add a custom amount.
  • gsTeleport: Teleports to a field or x/z position.
  • gsFillUnitAdd <fillUnitIndex> <fillTypeName> [amount]: Fills the selected unit.
  • gsTimeSet <hour>: Sets the time.
  • gsBaleAdd fillTypeName isRoundBale [width] [height/diameter] [length] [wrapState] [modName]: Adds a bale in front of the player.
  • gsPalletAdd <type>: Spawns a pallet.
  • gsFarmSet: Sets the farm for the current player or vehicle.
  • gsFarmlandBuy: Buys farmland by ID.
  • gsFarmlandBuyAll: Buys every farmland.
  • gsFarmlandSell: Sells farmland by ID.
  • gsFarmlandSellAll: Sells every farmland.
  • gsFieldSetFruit: Sets a fruit type on a field.
  • gsFieldSetFruitAll: Sets a fruit type on all fields.
  • gsFieldSetGround: Sets a ground state on a field.
  • gsFieldSetGroundAll: Sets a ground state on all fields.
  • gsSnowAdd: Adds snow.
  • gsSnowAddSalt: Adds salt around the player.
  • gsSnowReset: Resets snow.
  • gsSnowSet: Sets snow.
  • gsTreeAdd: Loads a tree.
  • gsVehicleAddDamage: Adds damage to the current vehicle.
  • gsVehicleAddDirt: Adds dirt to the current vehicle.
  • gsVehicleAddWear: Adds wear to the current vehicle.
  • gsVehicleFuelSet: Sets vehicle fuel level.
  • gsVehicleLoadAll: Loads all vehicles.
  • gsVehicleOperatingTimeSet: Sets vehicle operating time.
  • gsWeatherAdd: Adds a weather object by type.
  • gsWeatherSet: Sets a weather object by type.
  • gsWeedSystemAddDelta: Adds weed delta to a field.
  • gsWeedSystemSetState: Sets weed state on a field.
  • gsStoneSystemAddDelta: Adds stone delta to a field.
  • gsStoneSystemSetState: Sets stone state on a field.
  • gsTipAnywhereAdd: Tips a fillType.
  • gsTipAnywhereClear: Clears a tip area.

For gsPalletAdd, supported types include Butter, Lettuce, Cake, Bread, Silage_Additive, Fertilizer, Wool, Liquidfertilizer, Mineral_Feed, Wheat, Oat, Olive, Sugar, Soybean, Herbicide, Lime, Oilseedradish, Barley, Furniture, Boards, Chocolate, Strawberry, Cereal, Canola_Oil, Grapejuice, Sunflower_Oil, Raisins, Olive_Oil, Honey, Maize, Seeds, Grape, Canola, Flour, Clothes, Cotton, Fabric, Sunflower, Sorghum, Potato, Sugarcane, Egg, Cheese, and Tomato.

Debug, System, and Utility Commands

  • enableAnimalStatesDebugRendering: Toggles animal state debug rendering.
  • enableCloudFx: Toggles cloudfx.
  • enableDoF: Toggles DoF.
  • enableFramerateLimit: Toggles the frame limiter.
  • enableOccluderDebugRendering: Toggles occluder debug rendering.
  • enablePostFx: Toggles postfx.
  • exit: Quits the application.
  • framerateLimitFPS: Sets the FPS limit attribute.
  • gsAICostsExport: Exports costmap to an image file.
  • gsAICostsShow: Shows costs per cell.
  • gsAICostsUpdate: Updates costmap around the camera.
  • gsAIEnableDebug: Enables AI debugging.
  • gsAIObstaclesShow: Shows obstacles around the camera.
  • gsAISetLastTarget: Sets the AI target to the last position.
  • gsAISetTarget: Sets an AI target.
  • gsAISplinesShow: Toggles AI system spline visibility.
  • gsAIStart: Starts driving to target.
  • gsAIStationsShow: Toggles AI station node visibility.
  • gsAmbientSoundSystemReload: Reloads the ambient sound system.
  • gsAmbientSoundSystemToggleDebugView: Toggles ambient sound debug view.
  • gsAutoSave: Enables or disables autosave.
  • gsAutoSaveInterval: Sets the autosave interval.
  • gsBaleList: Lists available bale types.
  • gsBenchmark: Starts a benchmark camera flight with working vehicles.
  • gsBenchmarkMapPerformanceTest: Runs a basic map performance test.
  • gsCameraFovSet: Sets camera field of view.
  • gsCollisionFlagShowAll: Shows all collision flags.
  • gsDebugManagerClearElements: Clears permanent DebugManager elements and functions.
  • gsDensityMapToggleDebug: Toggles density map debug mode.
  • gsEnvironmentAreaSystemToggleDebugView: Toggles environment checker debug view.
  • gsEnvironmentFixedVisualsSet: Sets fixed seasonal visuals.
  • gsEnvironmentMaskSystemToggleDebugView: Toggles environment mask debug view.
  • gsEnvironmentReload: Reloads environment.
  • gsEnvironmentSeasonalShaderDebug: Shows seasonal shader parameter.
  • gsEnvironmentSeasonalShaderSet: Forces seasonal shader value.
  • gsFieldToggleStatus: Shows field status.
  • gsHudVisibility: Toggles HUD visibility.
  • gsI3DCacheClean: Clears cached i3d files.
  • gsI3DLoadingDelaySet: Sets i3d loading delay.
  • gsI3DPrintActiveLoadings: Prints active loadings.
  • gsI3DShowCache: Shows active i3d cache.
  • gsIndoorMaskToggle: Toggles indoor mask visualization.
  • gsNetworkDebug: Toggles network debugging.
  • gsNetworkShowObjects: Toggles network object display.
  • gsNetworkShowTraffic: Toggles network traffic visualization.
  • gsPedestrianSystemReload: Reloads pedestrian system XML.
  • gsPedestrianSystemToggle: Toggles pedestrian system.
  • gsPlacementCollisionsShow: Shows placement and terraforming collisions.
  • gsPlayerDebug: Toggles player debug information.
  • gsPlayerFsmDebug: Toggles player state machine debug mode.
  • gsPlayerFsmStateJumpDebug: Toggles jump debug mode.
  • gsPowerConsumerSet: Sets powerConsumer specialization properties.
  • gsProductionPointSetFillLevel: Sets production point fill level.
  • gsProductionPointSetOutputMode: Sets production point output mode.
  • gsProductionPointSetOwner: Sets production point owner.
  • gsProductionPointSetProductionState: Sets production state.
  • gsProductionPointToggleDebug: Toggles production point debugging.
  • gsProductionPointsList: Lists all production points.
  • gsProductionPointsPrintAutoDeliverMapping: Prints fillType requirements by production point.
  • gsRenderColorAndDepthScreenShot: Captures color and depth screenshot.
  • gsRenderingDebugMode: Toggles rendering debug mode.
  • gsReverbSystemToggleDebugView: Toggles reverb debug view.
  • gsScriptCommandsList: Lists script-based commands. Use help to see all commands.
  • gsSetFixedExposureSettings: Sets fixed exposure settings.
  • gsSetHighQuality: Increases draw and LOD distances.
  • gsShopUIToggle: Toggles shop configuration UI.
  • gsSoundManagerDebug: Toggles global SoundManager debug mode.
  • gsStoreItemsReload: Reloads storeItem data.
  • gsTakeEnvProbes: Takes environment probes from the current camera position.
  • gsTensionBeltDebug: Toggles tension belt debug rendering.
  • gsTestForceFeedback: Tests force feedback.
  • gsTipCollisionsShow: Shows tipping collisions.
  • gsVehicleAnalyze: Analyzes vehicle.
  • gsVehicleDebug: Toggles vehicle debug values.
  • gsVehicleDebugReverb: Toggles vehicle reverb debug rendering.
  • gsVehicleReload: Reloads the current vehicle or vehicles within a radius.
  • gsVehicleShowDistance: Shows distance between vehicle and camera.
  • gsVehicleTemperatureSet: Sets motor temperature.
  • gsVineSystemSetGrowthState: Sets vineyard growth state.
  • gsWeatherDebug: Toggles weather debug.
  • gsWeatherReload: Reloads weather data.
  • gsWeatherSetClouds: Sets cloud data.
  • gsWeatherSetDebugWind: Sets wind data.
  • gsWeatherSetFog: Sets fog height, mieScale, and duration.
  • gsWeatherToggleRandomWindWaving: Toggles random wind waving.
  • gsWildlifeDebug: Toggles wildlife debug information.
  • gsWildlifeDebugAnimalAdd: Adds an animal to a debug list.
  • gsWildlifeDebugAnimalRemove: Removes an animal from a debug list.
  • gsWildlifeDebugAnimation: Toggles animal animation information.
  • gsWildlifeDebugId: Toggles wildlife animal IDs.
  • gsWildlifeDebugSteering: Toggles animal steering information.
  • gsWildlifeToggle: Toggles wildlife on the map.
  • gsWiperStateSet: Sets wiper state for all vehicles.
  • gsWoodCuttingMarkerVisiblity: Toggles chainsaw woodcutting marker.
  • gsXMLGenerateSchemas: Generates XML schemas.
  • listEntities: Prints a detailed entity list.
  • listResources: Prints a detailed resource list.
  • parallelRenderingAndPhysics: Enables parallel rendering and physics.
  • q: Quits the application.
  • quit: Quits the application.
  • reloadAnimalConfiguration: Reloads animal husbandry configuration.
  • setAsymmetryFactor: Sets CornetteShrank asymmetry factor [0..1].
  • setBloomMagnitude: Sets bloom magnitude [0..1].
  • setBloomThreshold: Sets bloom mask threshold.
  • setCirrusCloudDensityScaling: Sets cirrus cloud coverage scaling.
  • setCirrusCloudVelocity: Sets cirrus cloud velocity.
  • setCloudBaseShapeScaling: Scales cloud base shape sampling.
  • setCloudErosionScaling: Scales cloud erosion texture sampling.
  • setCloudNoiseVelocity: Sets volumetric noise scroll velocity.
  • setCloudPrecipitation: Sets cloud precipitation coefficient [0 1].
  • setCloudScatteringCoeff: Sets cloud scattering coefficient.
  • setDLSSQuality: Sets DLSS quality.
  • setDoFBlendWeight: X-fade distances d0, d1, d2.
  • setDoFBlurArea: Sets DoF blur area.
  • setDoFFarCoC: Sets far DoF CoC radius.
  • setDoFNearCoC: Sets near DoF CoC radius.
  • setDoFParams: Sets DoF parameters.
  • setFogPlaneHeight: Sets fog plane top height [0..1000].
  • setFogPlaneMieScaling: Scales fog plane mie scattering [0.001..1000].
  • setHistogramLogLuminanceRange: Sets histogram luminance range.
  • setMSAA: Sets MSAA.
  • setMieScaling: Scales mie scattering [0.001..1000].
  • setMinMaxLuminanceAdaption: Sets luminance adaptation range.
  • setMoonSizeScale: Scales moon disc size.
  • setPostFxAA: Sets post-process anti-aliasing.
  • setSSAOIntensity: Sets SSAO intensity.
  • setSSAORadius: Sets world-space SSAO radius.
  • setSSAOSamples: Sets SSAO sample count [1..12].
  • setSunBrightnessScale: Scales sun brightness.
  • setSunSizeScale: Scales sun disc size.
  • setTextureStreamingBehavior: Sets texture streaming behavior.
  • setTextureStreamingPaused: Pauses texture streaming.
  • setVolumetricCloudVelocity: Sets volumetric cloud wind direction and velocity.
  • showFps: Shows frames per second.

How to Enable Console Commands

Enabling console commands is a two-part process on Windows and Mac.

Step 1: Enable Cheats

  • Open Steam and go to your Library.
  • Right-click Farming Simulator 22 and choose Properties.
  • Open the General tab.
  • Add -cheats to the Launch Options field.

Step 2: Enable the Command Console

  • Right-click Farming Simulator 22 in Steam.
  • Select Manage Files.
  • Open game.xml in a text editor such as Notepad.
  • Find <controls>false</controls>.
  • Change false to true.

Launch the game, load your save, and press ` or ~ to open the console.

If the standard method does not work, installing a mod that enables the command console may activate the feature.

For multiplayer farms, a HolyHosting dedicated server can keep the world online while admins use the proper access level to manage the save.

Still have questions?

Come chat with us and we will get back to you as soon as possible!

Contact Support