> For the complete documentation index, see [llms.txt](https://docs.otherplanet.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.otherplanet.dev/scripts/op-container-wars/tutorials/how-to-add-player-to-admin-list.md).

# How to add player to Admin List?

* Navigate to `config/MainConfig.lua`.
* Find the section `Config.AdminCommandPlayers`.
* Open **TXAdmin** and select the player you want to grant permissions to.
* Click on the **"IDs"** option.
* Copy one of the available identifiers.
* Paste the identifier into `Config.AdminPanelPlayers` in the config file.
  * **Remember to add a comma (`,`) at the end of each line.**

```lua
Config.AdminCommandPlayers = {
    ['steam:110000118d2c0db'] = true,
    ['discord:571105311251890186'] = true,
}
```

<figure><img src="/files/bZEKXXZdCStxyy8YyLQk" alt=""><figcaption></figcaption></figure>

## Second Method: (Allowing Groups)

It's important to grant your server administrators access to our Command. Don’t forget to add it to your `server.cfg` as well! (It's optional, You can always use the Config.AdminCommandPlayers - which is better)

```
add_ace group.admin opcontainers.admin allow
```
