Skip to content

Mount & Blade II: Bannerlord: Create a Server Token

Learn how to generate a server token for your Mount & Blade II: Bannerlord game server in-game, add it in ZapX, and renew it after 3 months

12 November 20262 min read24 Views0 helpful

Don't have your own server yet? Host your Mount & Blade II: Bannerlord server with ZAP-Hosting from €4.49 / month.Or try 3 days from €0.81

Introduction

Before your Mount & Blade II: Bannerlord game server can start and appear in the server list, it needs a server token. TaleWorlds does not support anonymous hosting: every dedicated server signs in with a token that you generate in-game. In this guide, we’ll show you how to create the token, add it in ZapX, and renew it in time.

Requirements

You need your own copy of Mount & Blade II: Bannerlord and must be able to sign in to multiplayer with it. The token is generated for your Bannerlord account, not for the server.

Generate a token in-game

  1. Start Bannerlord in Multiplayer mode and sign in to the lobby.
  2. Open the console with ALT + ~ (the tilde key, usually to the left of 1 on German keyboards).
  3. Enter the following command and press Enter:
Code
customserver.gettoken

The game will now generate your token and save it as a text file on your PC:

Code
Dokumente\Mount and Blade II Bannerlord\Tokens\DedicatedCustomServerAuthToken.txt

Open the file in a text editor and copy its entire contents. This is your token.

Important

Treat your token like a password. It is permanently linked to your Bannerlord account. According to TaleWorlds, any misuse through a server using your token will be traced back to your account. Do not share it with anyone or post it publicly.

Add your token in ZapX

  1. Open your server in ZapX and go to the Configuration tab.
  2. In the Startup Parameters category, find the Server Token field. It is marked with a red asterisk to show that it is required.
  3. Paste your token there and click Save.
  4. Start your server. If it is already running, select Restart Now to apply the new token.

ZapX takes care of the rest: when the server starts, the token is automatically passed to it as a token file, so it won’t appear in the console log. The token is hidden like a password in the field; click the eye icon to show it if needed.

Info

Your server cannot start while the Server Token field is empty. If you click Start, you’ll see the message Required settings are missing. Select Go to settings to jump straight to the right field.

With a valid token, your server signs in to TaleWorlds when it starts and then appears in the game’s Custom Server List. For instructions on how to connect, see our guide Connect to the server.

Renew your token

For security reasons, your token expires after 3 months. Once it expires, your server can no longer sign in and will shut down shortly after starting. Renewing it is quick:

  1. Generate a new token in-game using customserver.gettoken.
  2. In the Configuration tab, replace the contents of the Server Token field with the new token and save.
  3. Restart your server.
Tip

Add the expiration date to your calendar as soon as you generate a new token. That way, your server can stay online without interruption.

How many servers can I run?

You can currently run up to 50 servers at the same time with one Bannerlord account.

Conclusion

Your server is now ready to start for the first time. For setup instructions, see our guide Server configuration. If you have any other questions, our support team is available every day! 🙂

Free tools

Mount & Blade II: Bannerlord Tools

View all

FAQ

Frequently asked questions

TaleWorlds does not support anonymous hosting. Every dedicated server signs in with a token that you generate in-game using your own Bannerlord account. Without a token, you can’t start your server in ZapX.
Start Bannerlord in Multiplayer mode, sign in to the lobby, open the console with ALT + ~, and enter customserver.gettoken. The token is saved as a text file in Dokumente\Mount and Blade II Bannerlord\Tokens.
In your server’s Configuration tab, under Startup Parameters, in the required Server Token field. Save your changes and start or restart your server.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.