Generate your Bannerlord server token with one console command: open the console with ALT + ~ in the multiplayer lobby, type customserver.gettoken, then paste the token into Start.bat.
How to generate your Bannerlord server token
- Stop your server.
- Launch Mount & Blade II: Bannerlord multiplayer and log into the game lobby.
- Open the game console by pressing
ALT+ tilde key (~). - Type
customserver.gettokenin the textbox and press Enter, as in the image below.
- Your token has been generated and saved under your
Documents\Mount & Blade II Bannerlord\Tokensfolder, as in the image below.
- Open the
DedicatedCustomServerAuthToken.txtfile, select all and copy the token. - Go to your game panel, edit the
Start.batfile under the Configuration Files button, and paste the token in the Server Token field, as in the image below.
- Start your server.
Treat your token like a password: keep it private and don't post it in public.
Bannerlord server token questions
How do I generate a Bannerlord server token?
Launch Bannerlord multiplayer and log into the lobby, open the console with ALT + tilde (~), type customserver.gettoken and press Enter. The token is saved in DedicatedCustomServerAuthToken.txt in your Documents\Mount & Blade II Bannerlord\Tokens folder.
Where do I put the token on my server?
Stop your server, open Configuration Files in the game panel, edit Start.bat and paste the token in the Server Token field. Then start your server.
The console doesn't open. What do I check?
Make sure you are in the multiplayer game lobby and logged in, then press ALT and the tilde key (~) together.
Want your own Bannerlord server? See Mount & Blade II: Bannerlord server hosting.
Related guides
Any questions or need our help? Our support team is available 24/7: open a support ticket.
