How to password protect your Starbound server
Quick Links
- 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
- Open the Blacksmith’s Portal
- First, open
Startupand setEnforce User Accountsto true. This will force your server to use the created user accounts to authenticate - Next
Filesand selectConfig Files - Select
starbound_server.configand selectView File - Within the config file, look for the
serverUserssection - 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
- Locate your
starbound_server.configfile. Typically this is located instoragesubfolder in your server - Open
starbound_server.configwith your preferred text editor - Look for
allowAnonymousConnectionsand set it to true. This will force your server to use the created user accounts to authenticate - Now, look for the
serverUserssection - 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!