How to add player to Admin List?

How do I grant Command permission to a specific player?

  • 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.

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

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

Last updated