State Bags

isStaff

A player attached state bag, showing it's player staff status

Type: boolean

group

A player attached state bag, showing it's player group (it's not existing if the player's not a staff member) Type: string?

isAllowed

A player attached state bag, showing all the allowed staff commands for the player by it's group (it's not existing if the player's not a staff member)

Type:

isAllowed = {
    ['goto'] = true,
    bring = true,
    freeze = true,
    -- ....
}

(all the commands that can fill this state bag are filled in config.commandsNames)

Last updated