# Console commands

275 commands the game registers, read from its scripts. 96 of them need the -cheats launch option.

Source page: https://fs25db.com/console-commands/

## How to open the console

The game comes with the developer controls off: its `game.xml` has `<controls>false</controls>` under `<development>`. Set it to `true` in the copy of `game.xml` in your profile folder (Documents\My Games\FarmingSimulator2025) to turn the console on.

The cheat commands load only when the game starts with `-cheats`: the game checks for it once at launch. In Steam, right-click the game, Properties, Launch options, and add `-cheats`.

## Commands that work in every game

| Command | What it does |
| --- | --- |
| `gsActivatableObjectsSystemToggleDebug` | Toggle ActivatableObjectsSystem Debug |
| `gsAIClearPath` | Clears debug path |
| `gsAIMoveVehicle` | Moves vehicles |
| `gsAISetTurnRadius` | Set Turn radius |
| `gsAmbientSoundSystemReload` | Reloads the ambient sound system |
| `gsAmbientSoundSystemToggleDebugView` | Toggles the ambient sound system debug view |
| `gsAutoSave [true/false]` | Enables/disables auto save |
| `gsAutoSaveInterval [minutes]` | Sets the auto save interval |
| `gsBrandUsageList` | Prints a list of all used brands |
| `gsCameraFovSet` | Sets camera field of view angle |
| `gsCameraManagerDebug` | Toggle camera manager debug mode |
| `gsCollisionFlagShowAll` | Shows all available collision flags |
| `gsConsoleAcceptInvite` | Console simulator accept invitation |
| `gsDebugCameraCloneSetIndex` | Sets the camera clone index |
| `gsDebugManagerClearElements` | Removes all permanent elements and functions from DebugManager |
| `gsDebugManagerGroupRemove` | Remove group and its debug elements |
| `gsDebugManagerGroupsList` | List all currently used debug element groups with visibility and number of elements |
| `gsDebugManagerGroupVisibilitySet groupId; [visibility]` | Toggle or set visibility of given group name |
| `gsDebugPhysicsCollisionsGroup` | Opens a dialog to modify collision group debug options |
| `gsDepthOfFieldSetFarParams farCoC; farStart; farEnd` | Set far depth of field parameters |
| `gsDepthOfFieldSetNearParams` | enabled; nearCoC; nearEnd |
| `gsDestructibleObjectsDamageAdd` | Add damage to destructible object camera is pointed at |
| `gsDestructibleObjectsDebug` | Toggle DestructibleMapObjectSystem debug |
| `gsEnvironmentAreaSystemToggleDebugView` | Toggles the environment checker debug view |
| `gsEnvironmentMaskSystemToggleDebugView` | Toggles the environment mask system debug view |
| `gsFarmSet` | Set farm for current player or vehicle |
| `gsFunctionDrawTriggerCallbacks` | Draw last performed trigger callbacks on screen |
| `gsFunctionUnwrap` | Unwrap all functions |
| `gsFunctionWrap` | Wrap a global function with a profiling zone |
| `gsFunctionWrapClass` | Wrap all functions with profiling zones |
| `gsFunctionWrapEngine` | Wrap all engine functions with profiling zones |
| `gsFunctionWrapEngineCategory` | Wrap all global functions of a specific category with profiling zones |
| `gsFunctionWrapVisualize` | Enable custom visualization for overlaps, raycasts, etc |
| `gsGameTestPrintVehicleSetups` | Prints all vehicle setups on the map to be used inside a test config file |
| `gsGenerateDocumentation` | Generates HTML documentation for marketing |
| `gsI3DCacheShow` | Show active i3d cache |
| `gsI3DLoadingDelaySet minDelaySec; [maxDelaySec]; [minDelayCachedSec]; [maxDelayCachedSec]` | Sets loading delay for i3d files |
| `gsI3DPrintActiveLoadings` | Print active loadings |
| `gsIgnitionLockDebug` | Toggles the iginition lock debug view |
| `gsLicensePlateCreateAIIcons numX; numY; variationIndex; position` | Create license plate icons for AI vehicles |
| `gsLightProfileToggle` | Toggles between high and low light profile on vehicles & placeables |
| `gsMaterialManagerDebug` | Debug particle effect |
| `gsMobileSimulatorToggleNotch` | mobile simulator toggle notch |
| `gsNetworkDebug` | Toggle network debugging |
| `gsNetworkShowObjects` | Toggle network show objects |
| `gsNetworkShowTraffic` | Toggle network traffic visualization |
| `gsNetworkShowTrafficClients` | Toggle client network traffic visualization |
| `gsNetworkStatsPrint [groupByFunction=false]` | print network traffic stats |
| `gsNetworkStatsReset` | reset network traffic stats |
| `gsNetworkStatsToggle` | toggle network traffic stats collection |
| `gsNoteExport` | Exports currently created note nodes as i3d file |
| `gsNoteList` | Lists currently created note nodes in console/log |
| `gsOverlayManagerReset` | Deletes all currently loaded texture configurations |
| `gsParticleSystemDebug` | Debug particle effect |
| `gsPedestrianSystemDebug` | Debug pedestrian system |
| `gsPedestrianSystemReload` | Reload pedestrian system xml |
| `gsPedestrianSystemToggle` | Toggle pedestrian system |
| `gsPlayerAnimationDebug` | Toggles animation debug view |
| `gsPlayerAnimationReload` | Reloads the animations |
| `gsPlayerSoundsDebug` | Toggles sounds debug view |
| `gsPlayerSoundsReload` | Reloads the sounds |
| `gsPlayerSuperStrengthToggle` | Toggles the super strength mode for the player |
| `gsPowerConsumerSet` | Sets properties of the powerConsumer specialization |
| `gsProductionPointsList` | List all production points on map |
| `gsProductionPointsPrintAutoDeliverMapping` | Prints which fillTypes are required by which production points |
| `gsReverbSystemSettingsReload` | Reloads the reverb settings |
| `gsReverbSystemToggleDebugView` | Toggles the reverb debug view |
| `gsScriptCommandsList` | Lists script-based console commands. Use 'help' to get all commands |
| `gsSearch` | Searches for script-based console commands containing the given string (name and description). Use 'help' to get all commands |
| `gsShallowWaterSimDebug` | Toggle shallow water simulation debug mode |
| `gsShallowWaterSimExtraDepthSet` | Set water simulation extra depth |
| `gsShallowWaterSimFoamParamSet accumulationRate; decayRate` | Set water simulation foam parameters |
| `gsShallowWaterSimPaint [circle/rect]; [velocityScale]; [radiusOrWidth]; [height]` | Paint shape on simulation |
| `gsShallowWaterSimParamSet updateStepTime; externalAcceleration; dampening` | Set water simulation parameters |
| `gsShallowWaterSimPMLParamSet dampeningFactor; dampeningUpdateFactor; dampeningDecay; numBorderCells` | Set perfectly matched layer boundary condition params |
| `gsShallowWaterSimReset` | Reset water simulation |
| `gsShallowWaterSimSizeSet` | Set water simulation size |
| `gsShopUIToggle` | Toggle shop config screen UI visibility |
| `gsSoundManagerDebug` | Toggle SoundManager global debug mode |
| `gsSoundMixerDebug` | Toggle sound mixer debug mode |
| `gsSplineDebug [displayEPs]` | Toggles debug visualization for all splines currently in the scene |
| `gsStoreItemsReload` | Reloads storeItem data |
| `gsTensionBeltDebug` | Toggles the debug tension belt rendering of the vehicle |
| `gsTerrainDeformationDebug` | Toggles debug mode |
| `gsTerrainLayerDebug` | Toggles debug visualization for terrain layers |
| `gsToneMapping` | Toggle Tone Mapping dialog visibility |
| `gsTrafficSystemReload` | Reloads traffic system |
| `gsTrafficSystemToggleDebug` | Enables debug rendering for the collision geometry |
| `gsTrafficSystemValidate` | Validates traffic system setup |
| `gsVehicleBottomArmSetWidth` | Sets the width of the bottom arm to a certain category width |
| `gsVehicleCharacterVisibilityToggle` | Locally toggles visibility of all vehicle characters/drivers/players |
| `gsVehicleDebugLightIESProfiles` | Enables and disables IES profiles on the light source (only the automatically assigned profiles) |
| `gsVehicleDebugLOD` | Enables vehicle LOD debug |
| `gsVehicleDebugPassengerSeats` | Enables debugging for passenger seat character targets |
| `gsVehicleDebugPowerTakeOffs` | Spawns all power take offs in front of the player |
| `gsVehicleDebugSharedLights [defaultLight]; [brakeLight]; [highBeam]; [workLightBack]; [workLightFront]; [turnLightLeft]; [turnLeftRight]; [reverseLight]` | Spawns all shared lights in front of the player |
| `gsVehicleDebugTopLights` | Toggles between top and bottom lights |
| `gsVehicleRecordAnimation` | Turns on the state recording for the given animationName |
| `gsVehicleRecordState` | Starts and stops vehicle state recording |
| `gsVehicleSaleSystemRefresh` | Generate new set of sale items |
| `gsWeatherAdd` | Adds a weather object by type |
| `gsWeatherDebug` | Toggles weather debug |
| `gsWeatherReload` | Reloads weather data |
| `gsWeatherSet` | Sets a weather object by type |
| `gsWeatherSetClouds` | Sets cloud data |
| `gsWeatherSetDebugWind` | Sets wind data |
| `gsWeatherSetFog enabled;coverageEdge0;coverageEdge1;groundFogLevelDensity;groundFogExtraHeight;groundFogMinVallyDepth;heightFogMaxHeight;heightFogLevelDensity` | Sets fog values |
| `gsWeatherToggleRandomWindWaving` | Toggles waving of random wind |
| `gsWeatherTwisterSpawn` | Adds a twister at current position in current direction |
| `gsWiperStateSet` | Sets the given wiper state for all vehicles |
| `gsXMLGenerateSchemas [deleteExisting=false]` | Generates xml schemas |

## Cheat commands (start with -cheats)

| Command | What it does |
| --- | --- |
| `gsActivateCameraPath` | Activate camera path |
| `gsAIAgentSetState` | Sets the AI Agent State |
| `gsAICostsExport` | Export costmap to image file |
| `gsAICostsShow` | Shows the costs per cell |
| `gsAICostsUpdate [width=30]` | Update costmap given width around the camera |
| `gsAIEnableDebug` | Enables AI debugging |
| `gsAIObstaclesShow` | Shows the obstacles around the camera |
| `gsAIPlanningDebug` | Shows the last planning bit vector map |
| `gsAISetLastTarget` | Sets AI Target to last position |
| `gsAISetTarget` | Sets AI Target |
| `gsAISplinesCheckInterference [stepLength]; [heightOffset]; [defaultSplineWidth]; [defaultSplineHeight]` | Check if AI splines interfere with any objects |
| `gsAISplinesShow` | Toggle AI system spline visibility |
| `gsAIStart` | Starts driving to target |
| `gsAIStationsShow` | Toggle AI system stations ai nodes visibility |
| `gsBaleAdd [fillTypeName]; [isRoundbale]; [width]; [height]; [length]; [wrapState]; [modName]` | Adds a bale |
| `gsBaleList` | List available bale types |
| `gsCameraAutoRotate` | Auto rotate vehicle outdoor camera |
| `gsCameraOffset x; y; z` | Offset vehicle outdoor camera target |
| `gsCameraRotationSaveLoad` | Save and load current camera rotation + zoom |
| `gsCollectiblesShowAll` | Shows all collectibles on the map |
| `gsConstructionScreenUIToggle` | Toggle construction screen UI |
| `gsDensityMapToggleDebug` | Toggles debug mode |
| `gsDisplacementDebug` | Opens the displacement debug dialog |
| `gsDisplacementReset` | Resets the displacement |
| `gsEnvironmentAutoExposureToggle` | Toggles auto exposure |
| `gsEnvironmentExposureFixedLuminance` | Set exposure fixed luminance |
| `gsEnvironmentFixedVisualsSet` | Sets the visual seasons to a fixed period |
| `gsEnvironmentReload` | Reloads environment |
| `gsEnvironmentSeasonalShaderDebug` | Shows the current seasonal shader parameter |
| `gsEnvironmentSeasonalShaderSet` | Sets the seasonal shader to a forced value |
| `gsExportVehicleSets` | Exports vehicle sets |
| `gsFarmlandBuy` | Buys farmland with given id |
| `gsFarmlandBuyAll` | Buys all farmlands |
| `gsFarmlandSell` | Sells farmland with given id |
| `gsFarmlandSellAll` | Sells all farmlands |
| `gsFarmlandShow` | Show farmlands |
| `gsFieldSetState [fieldId]; [fruitName]; [growthState]` | Opens UI to set state for specific field(s) |
| `gsFieldToggleNPCLogging` | Toggle field npc action logging |
| `gsFieldToggleStatus` | Shows field status |
| `gsFillUnitAdd fillUnitIndex; fillTypeName; [amount]` | Changes a fillUnit with given filllevel and filltype |
| `gsGreatDemandStart` | Starts a great demand |
| `gsI3DCacheClean` | Removes all cached i3d files to ensure the latest versions are loaded from disk |
| `gsIndoorMaskToggle` | Toggle indoor mask visualization |
| `gsLanguageSet` | Set active language |
| `gsMoneyAdd [amount]; [farmId]` | Add a lot of money |
| `gsPalletAdd fillTypeName; [fillAmount]; [worldX]; [worldZ]` | Adds a pallet |
| `gsPhysicsStressTest` | Starts spawning random physic objects |
| `gsPlacementCollisionsShow` | Shows the collisions for placement and terraforming |
| `gsRunFSDensityMapUtilBenchmark` | Runs a benchmark on FS Density Map Util |
| `gsSaveGame` | Saves the current savegame |
| `gsSetFixedExposureSettings keyValue; minExposure; maxExposure` | Sets fixed exposure settings |
| `gsSetHighQuality coeff;[foliageCoeff: default=coeff*0.5]` | Increase draw and LOD distances of foliage, terrain and objects |
| `gsSnowAdd` | Add snow |
| `gsSnowAddSalt` | Salt around player |
| `gsSnowReset` | Reset snow |
| `gsSnowSet` | Set snow |
| `gsSnowShaderSet` | Force snow shader value for map objects |
| `gsStoneSystemAddDelta fieldId; [delta]` | Add stone delta to field |
| `gsStoneSystemSetState fieldId; state` | Set stone state to field |
| `gsStoneSystemToggleDebug` | Toggles debug view |
| `gsStoreItemsExport` | Exports storeItem data |
| `gsTakeEnvProbes` | Takes env. probes from current camera position |
| `gsTeleport farmlandId or xPos; [zPos]; [useWorldCoords]` | Teleports to given field or x/z-position |
| `gsTimeSet timeHours; [skipDayOnly]` | Sets the day time in hours |
| `gsTipAnywhereAdd fillTypeName; amount; [length]; [rows]; [spacing]` | Tips a fillType |
| `gsTipAnywhereAddAll` | Tips a heap of every fill type that can be tipped |
| `gsTipAnywhereClear` | Clears tip area |
| `gsTipCollisionsShow` | Shows the collisions for tipping on the ground |
| `gsTipCollisionsUpdate` | Updates the collisions for tipping on the ground around the current camera |
| `gsTreeAdd length; treeType; [growthState]; [delimb]` | Load a loose tree trunk |
| `gsTreeCut [radius]` | Cut all trees around a given radius |
| `gsTreeDebug` | Toggle tree/splitshape debug mode |
| `gsTreeLoadAll` | Spawn all trees in front of player |
| `gsTreePlant treeType; number; growthState; variationIndex; isGrowing` | Plant given number of trees of a specified type |
| `gsTreeRemove` | Remove currently looked at split shape or tree |
| `gsUnloadTriggersValidate` | Validate the height of unload triggers to detect if they are below the terrain |
| `gsVehicleAddDamage` | Adds a given amount to current damage amount |
| `gsVehicleAddDirt` | Adds a given amount to current dirt amount |
| `gsVehicleAddWear` | Adds a given amount to current wear amount |
| `gsVehicleAddWetness` | Adds a given amount to current wetness amount |
| `gsVehicleFuelSet` | Sets the vehicle fuel level |
| `gsVehicleLoadAll [loadConfigs]; [modsOnly]; [palletsOnly]; [verbose]` | Load all vehicles |
| `gsVehicleOperatingTimeSet` | Sets the vehicle operating time |
| `gsVehicleReload [resetVehicle]; [radiusAroundPlayer]` | Reloads currently entered vehicle or vehicles within a range when second radius parameter is given |
| `gsVehicleRemoveAll` | Removes all vehicles from current mission |
| `gsVehicleShowDistance` | Shows the distance between vehicle and cam |
| `gsVehiclesPendingLoadings` | Prints the pending vehicle loadings |
| `gsVehicleTemperatureSet` | Sets the vehicle motor temperature |
| `gsVehicleToggleRandomFail` | Toggles random vehicle load failing |
| `gsVineSystemDMUpdateDebugToggle` | Toggles the density map update debug view of the node closest to the camera |
| `gsVineSystemPrintCellMapping` | Print the current cellmapping |
| `gsVineSystemSetGrowthState fruitTypeName; growthStateNameOrIndex; [farmlandId]` | Sets the growth state of all vine/orchard areas of a fruit type, optionally limited to one field/farmland |
| `gsVineSystemToggleDebug` | Toggles debug view |
| `gsVineSystemUpdateVisuals` | Updates the visuals |
| `gsWeedSystemAddDelta fieldId; [delta]` | Add weed delta to field |
| `gsWeedSystemSetState fieldId; state` | Set weed state to field |

## Developer commands

These are in the code but load only in the developers' build, so they will not run in yours.

| Command | What it does |
| --- | --- |
| `gsAdsSystemDecalsToggle` | Toggle ad decals visibility in the map |
| `gsAdsSystemShowOcclusionRegions` | Renders occlusion areas |
| `gsBeehiveDebug` | Toggles beehive debug mode |
| `gsCollisionPresetsExport` | Export all collision presets to xml files |
| `gsExtraContentSystemCreateKeys` | Create keys for a given item code |
| `gsExtraContentSystemCreateKeysAll` | Create keys for all items |
| `gsExtraContentSystemUnlockAll` | Unlocks all items |
| `gsFootballFieldReload` | Reload football field |
| `gsGameStatsUpdate` | Updates the game stats xml file |
| `gsGrowNow` | Force growth on foliage |
| `gsHandToolReload` | Reloads the currently held hand tool |
| `gsHandToolsPendingLoadings` | Prints the pending handtool loadings |
| `gsHUDCoordinatesToggle` | toggles coordinates displayed in the bottom left of the screen |
| `gsHUDToggleUIScale` | toggles ui scale |
| `gsHudVisibility` | Toggle HUd visibility |
| `gsHusbandryAddAnimals numAnimals; [subTypeIndex]` | Add or remove animals from husbandry where player is currently located |
| `gsHusbandryDebugToggle` | Toggle husbandry debug mode |
| `gsI18nVerify [ignoreTodos=false]; [l10nDir]; [l10nFilePrefix]` | Checks all localization files for empty or 'TODO' texts, warns if placeholders mismatch between languages |
| `gsItemRemoveAll` | Removes all items from current mission |
| `gsMissionGenerate farmlandId; missionType` | Force generating a new mission for given farmland |
| `gsMissionLoadVehiclesAll` | Loads all mission vehicles |
| `gsMissionLoadVehicleSet missionType; [size (small/medium/large)]; [groupIndex]` | Loads a specific vehicle set |
| `gsModHubUninstallAll` | Uninstalls all mods |
| `gsNPCAnimationReload` | Reloads the animations |
| `gsNPCSetNextConversation` | Sets the next conversation |
| `gsNPCValidate [languageSuffix]` | Validates selected language |
| `gsObjectMaskPresetsExport` | Export all object mask presets to xml files |
| `gsPlaceablesDeleteAll` | Deletes all placeables |
| `gsPlaceablesLoadAll [modsOnly]` | Loads all placeables |
| `gsPlaceablesPendingLoadings` | Prints the pending placeable loadings |
| `gsPlaceablesReloadAll` | Reloads all placeables |
| `gsPlaceableSystemDrawBoundary` | Draws the placeable map boundaries |
| `gsPlayerDebugFlagToggle` | Toggles the debug display flag with the given name for the player |
| `gsPlayerDebugFlagVerbosityToggle` | Toggles the debug display verbosity flag with the given name for the player |
| `gsPlayerFlightToggle [disableCollision=false]` | Enables flight to be toggled (key J). Use keys Q and E to change altitude. First argument is a boolean to determine if the collision of the player should be disabled while flying |
| `gsPlayerNoClipToggle [disableTerrainCollision=false]; [ignorePlayerInTriggers=false]` | Toggles player collision. First argument is a boolean to determine if collision with the terrain should also be disabled. Second argument to determine if player should interact with triggers |
| `gsPlayerSuperSpeedToggle` | Massively increases the movement speed of the player. Optional argument sets the speed multiplier |
| `gsPlayerToggleForceHandToolFirstPerson` | Toggle the force handtool mode |
| `gsPlayerToggleStrafeWalkMode` | Toggles strafe walk mode |
| `gsRender360Screenshot` | Renders 360 screenshots from current camera position |
| `gsRiceFieldCreateFromField` | Create a rice field from a field using the same outline |
| `gsRiceFieldSetRice fruitTypeName; growthState; groundAngle` | Set field rice state |
| `gsRiceFieldWaterSetLevel` | Set rice field water level percentage |
| `gsRiceFieldWaterSetShaderParameters r; g; b; a; depthScale; refractionColorScale; getWaterDepthScale; inscatteringScale` | Set rice field water plane shader parameters |
| `gsSavegameDownload` | Downloads given savegame |
| `gsSavegameUploadSelected` | Uploads the selected savegame |
| `gsShaderParamsSet nodeName; shaderParameterName; x; y; z; w; shared` | Sets shader parameters for given nodeName and shader parameter name |
| `gsSplitTypesExport` | Exports registered split types to xml files |
| `gsTipToTrigger fillTypeName; amount` | Tips a fillType into a trigger |
| `gsTireTracksDebug` | Toggle tire track debug mode with permanently active and colored tracks |
| `gsTireTracksRemoveAll` | Remove all tire tracks from terrain |
| `gsVehicleAnalyze` | Analyze vehicle |
| `gsVehicleDebug` | Toggles the vehicle debug values rendering |
| `gsVehicleDebugAttacherJointConnections` | Visualization of the connection hoses and power take offs per attacher joint |
| `gsVehicleDebugCameraReset` | Resets the vehicle camera to default state |
| `gsVehicleDebugCastShadow` | Visualizes all shapes that cast shadows |
| `gsVehicleDebugCylinderedUpdateDebug` | Shows the name of each movingPart or movingTool that is updated |
| `gsVehicleDebugDecalLayer` | Visualizes all shapes with decal layer |
| `gsVehicleDebugMaterial` | Visualizes all shapes that got the given material template assigned |
| `gsVehicleDebugMergeGroups` | Visualizes all merge groups |
| `gsVehicleDebugMotorStart` | Enabled or disable automatic motor start setting via console command |
| `gsVehicleDebugToggleWheelDisplacement` | Toggles the interaction of the wheels with the displacement |
| `gsVehicleDebugToolConnections` | Visualization of the tool connection hoses |
| `gsVehicleDebugWetness` | Visualizes the wetness masking of the vehicle |
| `gsVehicleDebugWheelEffects` | Enabled the wheel effects all the time |
| `gsVehicleExportScenegraph` | Exports the vehicle scenegraph to a xml file |
| `gsWildlifeDebugToggle` | Toggles debug draw |
| `gsWildlifeSpawn speciesName;distance;numInstances;rotation` | Spawns a species instance |

From the game files of Farming Simulator 25, version 1.25.1.0.
