Disable Building and Crafting Costs on Your Valheim Server
Enable free building mode on your Valheim dedicated server using the nobuildcost world modifier or the hammer preset.
The nobuildcost modifier removes all material requirements for building and crafting. Perfect for creative building servers, base testing, or RP servers focused on construction.
Enable No Build Cost
Open Startup
In the XGamingServer Panel, click Startup in the sidebar.
Add the modifier
Add -setkey nobuildcost to the startup parameters, or use the hammer preset which includes no build cost:
-preset hammerRestart the server
Go to Console and restart.
If you have the Server Devcommands mod installed, you can toggle this in-game without restarting:
Open the in-game console
Press F5 as an admin player.
Enable dev commands and the modifier
devcommands
setkey nobuildcost
saveDev commands require the Server Devcommands mod. See Enable Devcommands.
What No Build Cost Does
- Building pieces (walls, floors, roofs) require no materials to place
- Workbench crafting requires no resources
- Repairing items is still free (it's always free in Valheim)
- Smelting and cooking still require inputs
The Hammer Preset
The hammer preset is purpose-built for creative building servers:
-preset hammerIncludes:
- No build cost — free building and crafting
- Casual death penalty — no skill loss on death
- Much more resources — abundant gathering
- No raids — bases can't be attacked
- Casual portals — all items pass through portals
Disable No Build Cost
Remove -setkey nobuildcost from your startup parameters (or change the preset), then restart. Or via console:
devcommands
removekey nobuildcost
saveRelated Guides
How is this guide?

How to Change Difficulty on Your Valheim Server
Use Valheim's built-in difficulty presets and granular world modifiers to tune combat, death penalty, resources, raids, and portals.
Enable Dev Commands on Your Valheim Server
Install the Server Devcommands mod to use spawn, fly, god mode, and other debug commands on your Valheim dedicated server.