# 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="https://36113860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1vEl4u37HzsUUsBP0oWM%2Fuploads%2Fkj5LPpU9jUCl5srXd5UO%2Fimage.png?alt=media&#x26;token=f0f4886c-ce73-4a75-adb7-2672ff341d03" 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
```
