# How to Set a Password on Your Return to Moria Server (/docs/the-lord-of-the-rings-return-to-moria/server-password)



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

In `MoriaServerConfig.ini`:

```ini
[Main]
OptionalPassword=YourPassword
```

Max 1024 characters. Empty = public.

Related Guides [#related-guides]

* [Server Configuration](/docs/the-lord-of-the-rings-return-to-moria/server-config)
