# Disable Building and Crafting Costs on Your Valheim Server (/docs/valheim/disable-build-cost)



import { Tab, Tabs } from 'fumadocs-ui/components/tabs';
import { Step, Steps } from 'fumadocs-ui/components/steps';

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 [#enable-no-build-cost]

<Tabs items={['Via Startup', 'Via Console (Admin)']}>
  <Tab value="Via Startup">
    <Steps>
      <Step>
        Open Startup [#open-startup]

        In the [XGamingServer Panel](https://panel.xgamingserver.com), click **Startup** in the sidebar.
      </Step>

      <Step>
        Add the modifier [#add-the-modifier]

        Add `-setkey nobuildcost` to the startup parameters, or use the **hammer** preset which includes no build cost:

        ```
        -preset hammer
        ```
      </Step>

      <Step>
        Restart the server [#restart-the-server]

        Go to **Console** and restart.
      </Step>
    </Steps>
  </Tab>

  <Tab value="Via Console (Admin)">
    If you have the Server Devcommands mod installed, you can toggle this in-game without restarting:

    <Steps>
      <Step>
        Open the in-game console [#open-the-in-game-console]

        Press **F5** as an admin player.
      </Step>

      <Step>
        Enable dev commands and the modifier [#enable-dev-commands-and-the-modifier]

        ```
        devcommands
        setkey nobuildcost
        save
        ```
      </Step>
    </Steps>

    > Dev commands require the Server Devcommands mod. See [Enable Devcommands](/docs/valheim/enable-devcommands).
  </Tab>
</Tabs>

What No Build Cost Does [#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]

The `hammer` preset is purpose-built for creative building servers:

```
-preset hammer
```

Includes:

* **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 [#disable-no-build-cost]

Remove `-setkey nobuildcost` from your startup parameters (or change the preset), then restart. Or via console:

```
devcommands
removekey nobuildcost
save
```

Related Guides [#related-guides]

* [World Modifiers](/docs/valheim/world-modifiers)
* [Difficulty Presets](/docs/valheim/difficulty-presets)
* [Enable Devcommands](/docs/valheim/enable-devcommands)
* [Server Launch Parameters](/docs/valheim/server-launch-parameters)
