Ügyfélkapu > Tudásbázis > Ascend Servers > Game Servers > Specific Game Servers > Starbound > Starbound user management

Starbound user management

 
This article will show you how to set admin and normal user with passwords for your Starbound server.

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. 

Hasznosnak találta ezt a választ?
0 A felhasználók hasznosnak találták ezt 0 Szavazat

Ezenkívül olvassa el