# How to Add Admins and Use Commands on Your Path of Titans Server (/docs/path-of-titans/admin-setup)



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

Path of Titans uses **Alderon Games IDs (AGIDs)** to identify admins. Admins are added via `Game.ini` or promoted in-game with the `/promote` command.

Add Admins [#add-admins]

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

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

  <Step>
    Edit Game.ini [#edit-gameini]

    Click **Files** in the sidebar and open `PathOfTitans/Saved/Config/LinuxServer/Game.ini`. Under `[/Script/PathOfTitans.IGameSession]`, add one line per admin using their AGID:

    ```ini
    [/Script/PathOfTitans.IGameSession]
    ServerAdmins=048-236-424 ;PlayerName
    ServerAdmins=123-456-789 ;AnotherAdmin
    ```

    AGIDs follow the `XXX-XXX-XXX` format.
  </Step>

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

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

Promote / Demote In-Game [#promote--demote-in-game]

Already in-game? Use chat commands:

```
/promote PlayerName admin
/demote PlayerName
```

Use `/listroles` to see available roles.

Admin Commands [#admin-commands]

All commands are typed in the in-game chat with a `/` prefix:

| Command                       | Description                     |
| ----------------------------- | ------------------------------- |
| `/promote <Name/AGID> <role>` | Grant a role to a player        |
| `/demote <Name/AGID>`         | Remove admin role               |
| `/kick <Name/AGID> <Reason>`  | Kick a player                   |
| `/ban <Name/AGID> <Reason>`   | Permanently ban a player        |
| `/banip <IP> <Reason>`        | IP ban                          |
| `/unban <Name/AGID>`          | Remove a ban                    |
| `/announce <Message>`         | Broadcast to all players        |
| `/restart <Seconds>`          | Schedule a server restart       |
| `/cancelrestart`              | Cancel a pending restart        |
| `/save`                       | Force save                      |
| `/teleport <X> <Y> <Z>`       | Teleport to coordinates         |
| `/bring <Player>`             | Teleport a player to you        |
| `/heal`                       | Heal yourself                   |
| `/godmode`                    | Toggle invincibility            |
| `/setmarks <Player> <Amount>` | Set a player's marks (currency) |
| `/Weather <Type>`             | Change weather                  |
| `/TimeOfDay <Value>`          | Change time (0–2400)            |
| `/ServerMute <Player>`        | Mute a player                   |
| `/Whitelist <Player>`         | Whitelist a player              |
| `/ReloadBans`                 | Reload bans from `bans.txt`     |
| `/ReloadMOTD`                 | Reload the MOTD                 |
| `/ReloadRules`                | Reload the rules                |
| `/PlayerInfo <Player>`        | View player info                |
| `/ServerInfo`                 | View server info                |
| `/Help`                       | List all commands               |

Ban File [#ban-file]

Bans are stored in `PathOfTitans/Saved/bans.txt` in the format:

```
AGID:UnixTimestamp:AdminReason:UserReason
```

Custom Roles [#custom-roles]

Define custom roles with granular permissions in `Game.ini` under `[PlayerRoles]`:

```ini
[PlayerRoles]
048-236-424=dinomaster
```

Use `+Permission=PermissionName` to define what each role can do.

RCON (Source RCON) [#rcon-source-rcon]

Path of Titans uses **Source RCON** (Valve-compatible protocol) on port **7779** (game port + 2) by default.

In `Game.ini` under `[SourceRCON]`:

```ini
[SourceRCON]
bEnabled=true
Password=YourPassword
Port=0
```

* `Port=0` = auto (game port + 2 = 7779)
* Password must be **8+ characters**
* Prohibited characters in password: `"`, `'`, backtick, `=`, `|`
* Any Source RCON client works (e.g., mcrcon)
* Commands sent via RCON don't need the `/` prefix

Related Guides [#related-guides]

* [Server Configuration](/docs/path-of-titans/server-config)
* [How to Join](/docs/path-of-titans/join-server)
