# How To Add Admins On Your Eco Server (/docs/eco/adding-admins)



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

Eco identifies admins by **Steam64 ID** or **SLG ID** — usernames alone do not work. You'll need to find the player's ID first, then add it to the admin list.

Finding a Player's ID [#finding-a-players-id]

<Tabs items={['Via Steam', 'Via In-Game Command']}>
  <Tab value="Via Steam">
    Visit [steamid.io](https://steamid.io/) and enter the player's Steam profile URL or username. Copy their **SteamID64** — a 17-digit number starting with `7656`.
  </Tab>

  <Tab value="Via In-Game Command">
    If the player is in your active game session, run this in chat:

    ```
    /whois <username>
    ```

    This displays their Steam64 or SLG ID.
  </Tab>
</Tabs>

Adding an Admin [#adding-an-admin]

<Steps>
  <Step>
    Stop your server [#stop-your-server]

    In the [XGamingServer Panel](https://panel.xgamingserver.com), go to **Console** and stop your server.
  </Step>

  <Step>
    Open Users.eco [#open-userseco]

    Click **Files** in the sidebar, navigate to the **Configs** folder, and open `Users.eco`.

    {/* Screenshot needed: File Manager showing Users.eco */}
  </Step>

  <Step>
    Add the admin entry [#add-the-admin-entry]

    Locate the `Admins` array and add the player's ID:

    ```json
    "Admins": [
      "76561198012345678"
    ]
    ```

    To add multiple admins, separate entries with a comma:

    ```json
    "Admins": [
      "76561198012345678",
      "76561198087654321"
    ]
    ```
  </Step>

  <Step>
    Save and start [#save-and-start]

    Click **Save Content** and start your server from **Console**. The player has admin access on next connect.
  </Step>
</Steps>

Admin Commands [#admin-commands]

Once promoted, admins can use these commands in the in-game chat:

| Command            | Description                      |
| ------------------ | -------------------------------- |
| `/kick <name>`     | Kick a player                    |
| `/ban <name>`      | Ban a player                     |
| `/unban <name>`    | Remove a ban                     |
| `/serverui`        | Open the server configuration UI |
| `/time <hours>`    | Set the in-game time             |
| `/whois <name>`    | Get a player's Steam64/SLG ID    |
| `/teleport <name>` | Teleport to a player             |

Managing Admins via UI [#managing-admins-via-ui]

Existing admins can manage other admins from the in-game UI:

1. Run `/serverui` in chat
2. Navigate to the **Users** tab
3. Promote/demote players from there

> **Tip:** Always use `Users.eco` for permanent admin assignments. The in-game UI is convenient but file-based config is the source of truth.

Related Guides [#related-guides]

* [Configure Your Server](/docs/eco/configure-your-server)
* [Set a Password](/docs/eco/set-a-password)
