# How to Wipe & Reinstall Your Valheim Server (/docs/valheim/wipe-reinstall)



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

<Tabs items={['World Wipe', 'Full Reinstall']}>
  <Tab value="World Wipe">
    Deletes the world but keeps configuration, mods, and admin list.

    <Steps>
      <Step>
        Create a backup [#create-a-backup]

        In the [XGamingServer Panel](https://panel.xgamingserver.com), go to **Backups** and save your current state.
      </Step>

      <Step>
        Stop the server [#stop-the-server]

        Stop from **Console**.
      </Step>

      <Step>
        Delete the world files [#delete-the-world-files]

        Click **Files** in the sidebar. Navigate to the worlds directory (typically `worlds_local/`) and delete the `.db` and `.fwl` files for the world you want to wipe.

        {/* Screenshot needed: File Manager showing worlds directory */}

        You can also delete the matching `.db.old` and `.fwl.old` backup files if you don't want to keep them.
      </Step>

      <Step>
        Start the server [#start-the-server]

        Start from **Console**. A new world generates automatically using the world name set in `-world`.
      </Step>
    </Steps>

    > **Tip:** To start a fresh world without deleting the old one, change `-world` in **Startup** to a different name. The old world stays on disk and can be restored later by changing the name back.
  </Tab>

  <Tab value="Full Reinstall">
    Removes everything — world, config, mods, admin list.

    <Steps>
      <Step>
        Create a backup [#create-a-backup-1]

        Go to **Backups** and save everything.
      </Step>

      <Step>
        Stop the server [#stop-the-server-1]

        Stop from **Console**.
      </Step>

      <Step>
        Delete all files [#delete-all-files]

        In **Files**, select all files and delete them.
      </Step>

      <Step>
        Reinstall [#reinstall]

        On the **Dashboard**, click **Reinstall Server**. Fresh server files download.

        {/* Screenshot needed: Dashboard with Reinstall Server widget */}
      </Step>

      <Step>
        Reconfigure [#reconfigure]

        Set up your **Startup** parameters (server name, password, world name). If you want mods, go to **Mods** and switch to BepInEx mode. Add admin SteamIDs to `adminlist.txt`. Start the server.
      </Step>
    </Steps>
  </Tab>
</Tabs>

Related Guides [#related-guides]

* [World Save Files](/docs/valheim/world-save-files)
* [Manage Worlds](/docs/valheim/manage-worlds)
* [Upload an Existing World](/docs/valheim/upload-existing-world)
