nocost Console Command
Syntaxnocost· Cheat
The nocost command in Valheim is a cheat command that, when executed, allows all crafting to be done without any resource costs. That means you can create items, tools, buildings, etc. without needing the required items in your inventory.
For example, if you want to build an item that requires 5 wood and 2 leather scraps, typically you'd need to go and gather those materials. Activating nocost mode lets you build the item without any of those materials.
This command can be incredibly useful when you want to concentrate on building structures and experimenting with crafting, without the concern of continually hoarding resources.
This command also helps with testing things without spending too much time gathering resources, allowing players to innovate and experiment freely.
It can be similarly useful for new players who are learning the ropes and want to explore the capabilities of the game without the initial resource grind.
- addstatusThis command will add the specified status effect.
- aggravateThis command aggravates neutral entities within a 20-meter radius.
- beardThis command permanently changes your beard. If used without an argument, it removes your beard.
- clearstatusThis command removes all active status effects, both positive and negative.
- dpsdebugThis command toggles the dps debug print on and off.
- envThis command sets a debug environment using given variables. View all environment IDs here: [valheimcheats.com/environment](/environment).
- eventThis command triggers the specified event. View all event IDs here: [valheimcheats.com/event](/event).
- exploremapThis command reveals the entire game map.
- ffsmoothThis command toggles the smoothing filter on the freefly camera. `1` enables smoothing for cinematic captures; `0` returns to the snappy default.
- findThis command finds and pings matching objects on the map, placing pins if required.
- flyThis command toggles flight mode.
- forcedeleteThis command removes objects within a specified radius, as well as optionally specific objects if a name is provided.
- freeflyThis command enables or disables the free camera mode.
- gcThis command displays garbage collection information.
- genlocThis command redistributes all unplaced game locations.
- ghostThis command toggles ghost mode where enemies ignore the player.
- godThis command activates god mode.
- gotoThis command teleports the player to given coordinates.
- hairThis command permanently alters your hairstyle. If used without an argument, it removes your hair.
- healThis command restores your health to maximum.
- itemsetThis command spawns a premade set of items. View all sets below. Include the `keep` flag to keep current items; if not included, current items will be dropped.
- killallThis command kills all nearby enemies and tamed creatures.
- killenemiesThis command kills all nearby enemies.
- killtameThis command eliminates all nearby tamed creatures.
- listkeysThis command lists all global keys in the game.
- locationThis command spawns a game location instance; however, saving is permanently disabled. To spawn a location instance and still keep saving enabled, append the `SAVE` flag after the location ID — see the second example below. View all Location IDs here: [valheimcheats.com/location](/location).
- modelThis command switches the player's character model from masculine to feminine.
- nextseedThis command forces the next dungeon to generate based on a new seed, disabling game saving.
- playersThis command modifies the game difficulty scale. Use `0` to reset the difficulty.
- posThis command displays the player's coordinates.