# How to Set Up Admin on Your Empyrion Server (/docs/empyrion-galactic-survival/admin-setup)



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

First Admin Setup [#first-admin-setup]

Use the `initadmin` command in the server console when no admin exists. This makes the executing player the first admin.

Adding More Admins [#adding-more-admins]

Via console or telnet:

```
setrole PlayerName Admin
```

| Role      | Access                              |
| --------- | ----------------------------------- |
| Admin     | Full control                        |
| GM        | Game Master — spawning, teleporting |
| Moderator | Player management                   |
| Player    | Normal                              |

Key Admin Commands [#key-admin-commands]

| Command                    | Description                     |
| -------------------------- | ------------------------------- |
| `gm`                       | Godmode (invulnerable + flight) |
| `gm iv`                    | Godmode invisible               |
| `teleport [coords/player]` | Teleport                        |
| `give [item] [amount]`     | Give items                      |
| `ban / unban [player]`     | Ban management                  |
| `destroy [id]`             | Remove structures               |
| `weather [effect]`         | Control weather                 |
| `saveandexit 0`            | Save and stop server            |
| `debugmenu`                | Open debug/spawn UI             |

Telnet Remote Admin [#telnet-remote-admin]

Enable in `dedicated.yaml`:

```yaml
Tel_Enabled: true
Tel_Port: 30004
Tel_Pwd: "YourPassword"
```

Connect via telnet client to `localhost:30004`.

> 💡 **Tip:** For a full web-based admin panel, install **Empyrion Admin Helper (EAH)** — provides Discord integration, anti-cheat, backups, and more.

Related Guides [#related-guides]

* [Server Configuration](/docs/empyrion-galactic-survival/server-config)
