# How to Set a Password on Your Vintage Story Server (/docs/vintage-story/server-password)



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

Set a Password [#set-a-password]

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

    In the [XGamingServer Panel](https://panel.xgamingserver.com), go to **Console** and stop the server.
  </Step>

  <Step>
    Edit serverconfig.json [#edit-serverconfigjson]

    Click **Files** in the sidebar and open `serverconfig.json`. Set:

    ```json
    "Password": "YourPassword"
    ```

    Set to `null` or `""` for no password (public).
  </Step>

  <Step>
    Save and start [#save-and-start]

    Click **Save Content** and start from **Console**.
  </Step>
</Steps>

Related Guides [#related-guides]

* [Server Configuration](/docs/vintage-story/server-config)
