# How to Add Admins on Your Avorion Server (/docs/avorion/admin-setup)



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

Adding Admins [#adding-admins]

Method 1: Startup Parameter [#method-1-startup-parameter]

Add `--admin` with a SteamID64 when launching:

```
--admin 76561198012345678
```

Set this in the **Startup** tab of the [XGamingServer Panel](https://panel.xgamingserver.com).

Method 2: In-Game Command [#method-2-in-game-command]

An existing admin can promote others:

```
/admin -a --id 76561198012345678
```

Or by player name:

```
/admin -a --name PlayerName
```

Removing Admins [#removing-admins]

```
/admin -r --id 76561198012345678
```

> 📝 **Note:** Admin slots are **extra** — the server always reserves +1 slot above `maxPlayers` for admins.

Admin Commands [#admin-commands]

Server Management [#server-management]

| Command    | Description                        |
| ---------- | ---------------------------------- |
| `/save`    | Force save the world               |
| `/stop`    | Gracefully shut down (saves first) |
| `/status`  | Server status info                 |
| `/version` | Show server version                |
| `/seed`    | Display galaxy seed                |
| `/player`  | Show player count                  |

Player Management [#player-management]

| Command           | Description              |
| ----------------- | ------------------------ |
| `/kick <player>`  | Kick a player            |
| `/ban <player>`   | Ban (blacklist) a player |
| `/unban <player>` | Remove from blacklist    |
| `/banip <ip>`     | IP ban                   |
| `/unbanip <ip>`   | Remove IP ban            |
| `/blacklist`      | Manage blacklist         |
| `/whitelist`      | Manage whitelist         |

Economy [#economy]

| Command                           | Description    |
| --------------------------------- | -------------- |
| `/give <player> <amount> credits` | Give credits   |
| `/give <player> <amount> <ore>`   | Give resources |

Dev Mode [#dev-mode]

For advanced admin tools, enable `DevMode = true` in `server.ini`, then in-game:

1. Type `/devmode` to activate
2. A puzzle icon appears in the top-right corner
3. Click it for extensive debug/admin tools

RCON Setup [#rcon-setup]

In `server.ini` under `[Networking]`:

```ini
rconPassword = YourRCONPassword
rconPort = 27015
```

Connect using any Source RCON-compatible tool (e.g., `rcon-cli`). RCON allows executing all server commands remotely.

> ⚠️ **Warning:** Always shut down with `/save` then `/stop`. Never force-close the console — this causes save corruption.

Related Guides [#related-guides]

* [Server Configuration](/docs/avorion/server-config)
* [How to Join Your Server](/docs/avorion/join-server)
