# How To Add Admins to Your Starbound Server (/docs/starbound/adding-admins)



import { Step, Steps } from 'fumadocs-ui/components/steps';

Admins on a Starbound server can use server commands to manage players, teleport, spawn items, and more. Admin accounts are configured in the `starbound_server.config` file.

<div className="fd-steps">
  <div className="fd-step">
    Open the XGamingServer Panel [#1-open-the-xgamingserver-panel]

    Log in to the [XGamingServer Panel](https://panel.xgamingserver.com).
  </div>

  <div className="fd-step">
    Stop Your Server [#2-stop-your-server]

    Make sure your server is **stopped** before making changes.
  </div>

  <div className="fd-step">
    Open Files [#3-open-files]

    In the sidebar, click **Files**.
  </div>

  <div className="fd-step">
    Open starbound_server.config [#4-open-starbound_serverconfig]

    Find and click on `starbound_server.config` to open it in the editor.
  </div>

  <div className="fd-step">
    Add Server Admin Accounts [#5-add-server-admin-accounts]

    Find the `"serverUsers"` section in the configuration file. Add admin accounts with a username and password:

    ```
    "serverUsers" : {
        "adminUsername" : {
            "admin" : true,
            "password" : "adminPassword123"
        },
        "moderatorUsername" : {
            "admin" : true,
            "password" : "modPassword456"
        }
    },
    ```
  </div>

  <div className="fd-step">
    Save and Start Your Server [#6-save-and-start-your-server]

    Click **Save** and then **Start** your server.
  </div>

  <div className="fd-step">
    Log In as Admin In-Game [#7-log-in-as-admin-in-game]

    Once connected to the server, open the chat and type:

    ```
    /auth adminUsername adminPassword123
    ```

    Replace the username and password with the credentials you set in the config file.
  </div>
</div>

Admin Commands [#admin-commands]

Once authenticated, you can use admin commands in the chat. Some useful commands include:

| Command               | Description                   |
| --------------------- | ----------------------------- |
| `/kick <player>`      | Kick a player from the server |
| `/ban <player>`       | Ban a player from the server  |
| `/list`               | List all connected players    |
| `/whereis <player>`   | Show a player's location      |
| `/timewarp <seconds>` | Advance time on the server    |

> 💡 **Tip:** Keep your admin credentials secure. Do not share them publicly. Each admin should have their own unique username and password.
