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

  1. Stop your server.
  2. Launch Mount & Blade II: Bannerlord multiplayer and log into the game lobby.
  3. Open the game console by pressing ALT + tilde key (~).
  4. Type customserver.gettoken in the textbox and press Enter, as in the image below.

    Bannerlord multiplayer lobby console with the customserver.gettoken command typed in

  5. Your token has been generated and saved under your Documents\Mount & Blade II Bannerlord\Tokens folder, as in the image below.

    Windows Explorer showing the Bannerlord Tokens folder with the DedicatedCustomServerAuthToken.txt file

  6. Open the DedicatedCustomServerAuthToken.txt file, select all and copy the token.
  7. Go to your game panel, edit the Start.bat file under the Configuration Files button, and paste the token in the Server Token field, as in the image below.

    Bannerlord Start.bat in the game panel with the token pasted in the Server Token field

  8. 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.

Was this answer helpful? 0 Users Found This Useful (0 Votes)