Skip to content Nodecraft
Support / Don't Starve Together / How to acquire a cluster token
Don't Starve Together Icon
Create a Don't Starve Together Server today!
Start Free Trial

How to acquire a cluster token

Don't Starve Together requires that server owners specify a cluster token before the server is online and allows players to join. Acquiring a cluster token is very easy as long as you own a copy of Don't Starve Together on Steam.

NOTE: The first method shown below actually opens up a window in the Steam game overlay, and just displays your Klei account info directly from their website. You can also just go directly to the website and log in there if you wish, and follow the same steps.

Generating Cluster Token by Klei Account

Launch the game on Steam, and hit "Play" on the first menu.

Click on the Account tab as shown in the following image: A view of the Don't Starve Together client with Account highlighted

This will open the Steam overlay window, and another small window will appear with your Klei "User Info" displayed (all the private information has been covered by red bars in the screenshot below). The size of the "User Info" window can also be made larger by dragging out the size of the window, if you want.

In the upper right corner of that "User Info" window, click the three lines to open a menu. If your window is wider, then the options will be across the top of the page instead.

Click "Games" on the menu.

Then click the orange button under Don't Starve Together "Game Servers."

A view of Klei's website, Games tab with the Game Servers for Don't Starve Together highlighted

This will open a page titled "Servers", like below.

A view of creating a cluster token for a Don't Starve Together server

There is a box labeled "Cluster Name" where you can give the cluster token a user-friendly human label, just so you can remember which server the key is for.

Once you enter a label for the token and click the "Add New Server" button, it will appear in the list of tokens on this "server" window. Find the correct label, and then copy and paste the entire string of text that appears (they are blocked out with a red bar in the screenshots shown).

A view of a truncated cluster token for a Don't Starve Together server

On your Nodecraft Pro control panel, click on the "Cluster Token" tab, and then paste the entire string of text into the box shown and save it.

A view of Nodecraft Pro's Cluster Token field for a Don't Starve Together server

Save and Restart the server. Your server will now be online, and players will be able to join it shortly.

Generating Cluster Token by Console

  1. Launch the game on Steam, and hit "Play" on the first menu.

  2. Hit the ~ on your keyboard, which is directly above the "Tab" key on most keyboards, this will open the debug window, which causes a brown box to appear on the screen.

A view of generating a cluster token via a command in the Don't Starve Together client console

  1. In the brown box, copy and paste the following command and press enter:

TheNet:GenerateClusterToken()

It will look like nothing happened; that is completely normal. It creates a text file in the game files and doesn't print any confirmation message.

  1. Click ~ again, to close the debug window.

  2. Click on the "Data" icon A view of the Don't Starve Together client with Data highlighted

This will open a view of the local files. In the list, you will see a file called cluster_token.txt. That is the file that was generated by running that command.

A view of the cluster_token file location on your pc

  1. Open the cluster_token.txt file with a text editor and you will see a long series of numbers, letters, and punctuation. That's your cluster token! By the way, these tokens generated this way through the console will also show in your account on the Klei website, and when you view your server information these tokens will be listed as "Lua Console Generated."

  2. Copy the token into the Cluster Token section of the Nodecraft Pro UI, and hit Save. A view of Nodecraft Pro's Cluster Token field for a Don't Starve Together server

  3. Restart the server and it should appear online shortly.

Chat blocked!

Nodecraft is an ad-free website! Disable adblock if you have any questions.