Aller au contenu
News ticker
  • Bienvenue sur le nouveau forum VeryGames
  • Welcome to the new VeryGames forum
  • VeryNews

    How to add an admin ?


    Charles

    Messages recommandés

    To add an admin (or several admins) on your Starbound server, go to the Configuration tab of your panel.

     

    You have to add users in the ServerUsers section of the file.

     

    1EN.thumb.png.5f2e46a8feb939a789956bd306cb14db.png

    If you wish to add a single user, use this format :

     

    "jean" : {

    "admin" : true,

    "password" : "pass123"

    }

     

     

     

    You will then get this :

     

    2.png.cd3f6d8de4f887a05bf7d44317fa5b2a.png

     

    If you wish to add 2 or more users, Jean being admin, Jacques being a simple user :

    [b][i]"jean" : {[/i][/b]
    [b][i]"admin" : true,[/i][/b]
    [b][i]"password" : "pass123"[/i][/b]
    [b][i]},[/i][/b]
    [b][i]"jacques" : {[/i][/b]
    [b][i]"admin" : false,[/i][/b]
    [b][i]"password" : "toto123"[/i][/b]
    [b][i]}[/i][/b]
    

     

     

    Note the comma (very important !) after the first user configuration.

    Only the closing singleton ( } ) of the last user doesn't get a comma after it.

    You therefore have to get your configuration file like this :

     

    3.png.dbc5f87e69fbaa7eb946aefad0672127.png

     

    Save the file and restart your server.

     

    Connect to your server using the created logins.

     

     

     

    Note : adding non-admin users is useful when y ou wish to restrict your server's access with the "allowAnonymousConnections" : false configuration, which prevent anonymous players connection.

     

    Lien vers le commentaire
    Partager sur d’autres sites

    ×
    ×
    • Créer...