Console Commands & Dev Mode
Scrap Mechanic includes a developer console with commands for spawning items, teleporting, changing game settings, and more. This guide covers Dev Mode activation, command categories, item IDs, and important warnings about cheating and multiplayer restrictions.
⚠️ Important Warnings
- Cheat Engine and third-party trainers are NOT recommended — They can corrupt saves, trigger anti-cheat, and contain malware.
- Console commands may disable achievements — Using cheats in Survival can prevent Steam achievements from unlocking.
- Multiplayer restrictions — Most commands only work for the server host or players with admin permissions.
- Back up your save — Before experimenting with commands, back up your world save file.
- Commands can break your game — Spawning too many items or using certain commands can cause crashes or corruption.
Dev Mode Activation
Developer Mode unlocks the full console and additional debugging tools. Here's how to enable it:
Method 1: In-Game Toggle
- Launch Scrap Mechanic
- From the main menu, go to Settings
- Look for "Developer Mode" or "Enable Console" option
- Toggle it ON
- Restart the game if prompted
Method 2: Launch Parameter
- Open Steam
- Right-click Scrap Mechanic → Properties
- Under "Launch Options", add:
-devor-console - Close properties and launch the game
Method 3: Config File
- Navigate to the game's config directory
- Find the settings or config file (usually .json or .xml)
- Add or modify:
"devMode": true - Save and launch the game
Opening the Console
Once Dev Mode is enabled, open the console with the tilde key (`) or the key below Escape. Press again to close.
Console Command Categories
Player Commands
| Command | Description | Usage |
|---|---|---|
/god | Toggle god mode (invincibility) | /god |
/fly | Toggle flight mode | /fly |
/noclip | Toggle no-clip (pass through blocks) | /noclip |
/speed [value] | Set movement speed multiplier | /speed 2 |
/heal | Restore full health | /heal |
/kill | Kill your character (respawn) | /kill |
/tp [x] [y] [z] | Teleport to coordinates | /tp 100 50 200 |
/tphere [player] | Teleport another player to you | /tphere PlayerName |
Item / Spawn Commands
| Command | Description | Usage |
|---|---|---|
/give [item] [count] | Give items to your inventory | /give scrapmetal 50 |
/spawn [entity] | Spawn an entity or vehicle | /spawn haybot |
/clearinventory | Clear your inventory | /clearinventory |
/unlockall | Unlock all crafting recipes | /unlockall |
World / Environment Commands
| Command | Description | Usage |
|---|---|---|
/time [value] | Set time of day (0-24) | /time 12 |
/day | Set time to day | /day |
/night | Set time to night | /night |
/weather [type] | Change weather | /weather clear |
/gravity [value] | Set gravity multiplier | /gravity 0.5 |
Game Mode Commands
| Command | Description | Usage |
|---|---|---|
/gamemode [mode] | Change game mode | /gamemode creative |
/difficulty [level] | Set difficulty | /difficulty easy |
/enemies [on/off] | Toggle enemy spawning | /enemies off |
/raid [on/off] | Toggle farm raids | /raid off |
Debug / Utility Commands
| Command | Description | Usage |
|---|---|---|
/fps | Toggle FPS counter | /fps |
/pos | Show current coordinates | /pos |
/help | List all available commands | /help |
/clear | Clear console output | /clear |
/save | Force save the world | /save |
Item ID List
Common item IDs used with the /give command:
| Item ID | Name | Category |
|---|---|---|
scrapmetal | Scrap Metal | Resource |
wood | Wood Block | Building |
metalblock | Metal Block | Building |
concrete | Concrete Block | Building |
componentkit | Component Kit | Crafting |
circuitboard | Circuit Board | Electronics |
battery | Battery | Power |
gascan | Gas Can | Fuel |
sledgehammer | Sledgehammer | Tool |
spudgun | Spud Gun | Weapon |
potato | Potato (ammo) | Ammo/Food |
engine_small | Small Engine | Vehicle |
engine_medium | Medium Engine | Vehicle |
wheel | Wheel | Vehicle |
driverseat | Driver Seat | Vehicle |
piston | Piston | Mechanism |
controller | Controller | Logic |
sensor | Sensor | Logic |
vacuumpump | Vacuum Pump | Automation |
Note: Item IDs may vary by game version. Use /help or /listitems for the complete, up-to-date list.
Cheat Engine Risks
Some players use Cheat Engine or third-party trainers to modify game values. This is strongly discouraged:
- Save corruption — Modifying memory values can corrupt your save file, losing all progress
- Malware risk — Many "trainers" and cheat programs contain viruses, keyloggers, or adware
- Anti-cheat detection — Even in single-player, some anti-cheat systems may flag cheat programs
- Game instability — Modified values can cause crashes, physics glitches, and broken quests
- Achievement lock — Using cheats may permanently disable Steam achievements for that save
Safer alternative: Use the in-game console commands (Dev Mode) instead. They're built-in, documented, and much less likely to cause problems.
Multiplayer Permission Limits
In multiplayer servers, console commands are restricted based on permissions:
- Server host — Full access to all commands by default
- Admins — Access to most commands (set by host in server config)
- Regular players — Limited to basic commands (chat, maybe /help, /pos)
- Cheat commands — /god, /give, /spawn, etc. are typically admin-only
- Teleportation — /tp and /tphere usually require admin or host permission
Server hosts can configure permissions in the server settings file, granting or revoking command access for specific players or groups.
Version Changes
The 1.0 Drilling Thunder update introduced changes to the console and command system:
- New commands — Added commands for underground mine, new items, and 1.0 features
- Item ID changes — Some item IDs changed with the 1.0 update; old IDs may not work
- Achievement system — 1.0 added Steam Achievements; using cheats may disable them
- Dev Mode changes — The activation method may have changed; check in-game settings first
- Command syntax — Some commands use different syntax in 1.0; use /help for current syntax
Console Command Tips
- Use Tab completion — Type part of a command and press Tab to auto-complete
- Command history — Use Up/Down arrows to browse previously entered commands
- Always back up saves — Before using any command that modifies the world, save and back up
- Start with /help — Lists all available commands and their syntax for your game version
- Don't overuse — Excessive spawning or teleporting can cause performance issues or crashes
- Test in Creative first — Experiment with commands in Creative Mode before using them in Survival
- Use coordinates wisely — /pos shows your location; note good coordinates for future teleportation
Related Guides
- Mods Guide — Modding tools and console extensions
- Multiplayer & Servers — Server permissions and admin commands
- Blueprints & Schematics — Spawn and manage creations
