Skip to content

How to password protect your Starbound server

  • Using AleForge’s Blacksmith’s Portal
  • Self-Hosting/Other Providers

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.

Adding User Accounts

Using Blacksmith’s Portal

  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

Self-Hosting/Other Providers

  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

Closing

Now you know how to stop anonymous users from joining your server!

Get your own super powered and affordable Starbound server today!