Skip to content
Back to Homepage

How to password protect your Starbound server

Starbound has a robust system for adding user accounts which you can use for authenticating players on your server. Settings this up will prevent anonymous people with the IP address of your server from connecting.

  1. Open the Blacksmith’s Portal
  2. First, open Startup and set Enforce User Accounts to true. This will force your server to use the created user accounts to authenticate
  3. Next Files and select Config Files
  4. Select starbound_server.config and select View File
  5. Within the config file, look for the serverUsers section
  6. Within this section, you can add your users with the following syntax
"<username>" : {
"admin" : false,
"password" : "<userpassword>"
},
"<username2>" : {
"admin" : false,
"password" : "<user2password>"
}

6. If you are adding multiple users, be sure to add a comma after each closed curly bracket } except for the last user in your file 7. Save the file and restart your server

  1. Locate your starbound_server.config file. Typically this is located in storage subfolder in your server
  2. Open starbound_server.config with your preferred text editor
  3. Look for allowAnonymousConnections and set it to true. This will force your server to use the created user accounts to authenticate
  4. Now, look for the serverUsers section
  5. Within this section, you can add your users with the following syntax
"<username>" : {
"admin" : false,
"password" : "<userpassword>"
},
"<username2>" : {
"admin" : false,
"password" : "<user2password>"
}

6. If you are adding multiple users, be sure to add a comma after each closed curly bracket } except for the last user in your file 7. Save the file and restart your server