How do I generate an auth token for my Mount & Blade II Bannerlord server?
In order to start your server and connect it to a server browser, you will have to generate an auth token. These tokens are good for up to 5 servers but will have to be regenerated every 3 months.
Here is how you can generate one of these tokens for your own server.
- Open Mount & Blade II Bannerlord multiplayer and log in
- Open the in-game console by pressing
ALT+~ - Type
customserver.gettokeninto the console and press enter. This will generate a file on your computer - Go to
Documents\Mount & Blade II Bannerlord\Tokens - Open DedicatedCustomServerAuthToken.txt and copy all the text in the file.
- Go to the AleForge Panel.
- Go to
Startupand paste the text into theAuth Tokenvariable
Now you will be able to launch and connect to your server.