مكتبة الشروحات
البوابة الرئيسية > مكتبة الشروحات > Ascend Servers > Game Servers > Specific Game Servers > Starbound > Starbound user management
Starbound user management
Your server’s starbound.config file should now have an empty serverUsers entry. This is where you will add player and administrator accounts. Here’s an example configuration:
"serverUsers" : { "fred" : { "admin" : true, "password" : "hunter2" }, "george" : { "admin" : false, "password" : "swordfish" } }, "allowAnonymousConnections" : false, "allowAdminCommands" : true, "allowAdminCommandsFromAnyone" : false, "bannedIPs" : [ ], "bannedUuids" : [ ],
Note that both admin and non-admin user accounts are configured here, and all of these accounts require a user name (entered on the join server dialog in game). Multiple users can log into the same account, so if you want a simple server password, you can create an account named e.g. ‘guest’ with the shared non-admin password.
In order to enforce login for all users, you’ll also need to set allowAnonymousConnections to false in your server’s starbound.config. If allowAnonymousConnections is true (as it is by default) then any user can connect to the server without providing a user name or password. Admins will, of course, still need to log in if those privileges are restricted by the allowAdminCommandsFromAnyone setting.