# How to Set Up Admins on Your Unturned Server (/docs/unturned/admin-setup)



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

Unturned has two admin levels: **Owner** (set in Commands.dat, full permissions) and **Admin** (added to Adminlist.dat, most permissions).

Setting the Server Owner [#setting-the-server-owner]

The owner is set in `Commands.dat` and has the highest permission level:

```
Owner 76561198012345678
```

The owner cannot be removed or demoted in-game.

Adding Admins [#adding-admins]

<Tabs items={['Via Adminlist.dat', 'Via In-Game Command']}>
  <Tab value="Via Adminlist.dat">
    <Steps>
      <Step>
        Open Adminlist.dat [#open-adminlistdat]

        In the [XGamingServer Panel](https://panel.xgamingserver.com), click **Files** in the sidebar. Navigate to `Servers/<ServerName>/Server/` and open `Adminlist.dat`.

        {/* Screenshot needed: File Manager showing Adminlist.dat */}
      </Step>

      <Step>
        Add SteamID64s [#add-steamid64s]

        Add one SteamID64 per line:

        ```
        76561198012345678
        76561198087654321
        ```

        Find SteamIDs at [steamid.io](https://steamid.io).
      </Step>

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

        Click **Save Content** and restart from **Console**.
      </Step>
    </Steps>
  </Tab>

  <Tab value="Via In-Game Command">
    If you're the owner or already an admin, run in-game:

    ```
    /admin 76561198012345678
    ```

    To remove an admin:

    ```
    /unadmin 76561198012345678
    ```
  </Tab>
</Tabs>

Admin Commands [#admin-commands]

<Tabs items={['Player Management', 'Items & Vehicles', 'World Controls', 'Server']}>
  <Tab value="Player Management">
    | Command                             | Description                                         |
    | ----------------------------------- | --------------------------------------------------- |
    | `/kick <player> <reason>`           | Kick a player                                       |
    | `/ban <player> <reason> <duration>` | Ban a player (duration in seconds, `0` = permanent) |
    | `/unban <SteamID>`                  | Remove a ban                                        |
    | `/slay <player>`                    | Kill a player instantly                             |
    | `/spy <player>`                     | View a player's screen                              |
  </Tab>

  <Tab value="Items & Vehicles">
    | Command                            | Description                   |
    | ---------------------------------- | ----------------------------- |
    | `/give <player> <itemID> <amount>` | Give items to a player        |
    | `/vehicle <player> <vehicleID>`    | Spawn a vehicle at the player |
    | `/experience <player> <amount>`    | Grant XP to a player          |
  </Tab>

  <Tab value="World Controls">
    | Command                         | Description                                 |
    | ------------------------------- | ------------------------------------------- |
    | `/day`                          | Set time to day                             |
    | `/night`                        | Set time to night                           |
    | `/weather <type>`               | Change weather: `none`, `storm`, `blizzard` |
    | `/airdrop`                      | Force an airdrop                            |
    | `/teleport <player> <location>` | Teleport to a location or coordinates       |
    | `/tp <player1> <player2>`       | Teleport one player to another              |
  </Tab>

  <Tab value="Server">
    | Command               | Description              |
    | --------------------- | ------------------------ |
    | `/save`               | Force save the world     |
    | `/shutdown <seconds>` | Shut down with countdown |

    > In the **panel Console**, omit the `/` prefix. In-game chat uses `/`.
  </Tab>
</Tabs>

Related Guides [#related-guides]

* [Server Configuration](/docs/unturned/server-config)
* [GSLT Setup](/docs/unturned/gslt-setup)
