Group Configuration table and grants the corresponding admin level if the conditions are met.
Group Configuration Structure
TheGroup Configuration table lives inside main_script.lua and contains an array of entries. Each entry defines one rule that maps a group rank (or range of ranks) to a BAR permission level.
Field Reference
number
required
The numeric ID of your Roblox group. You can find this in the URL of your group’s page:
https://www.roblox.com/groups/12345678/group-nameDefault: 0 (inactive — see warning below)number
required
The group rank number to compare against. Roblox group ranks range from 1 to 255. This value is used together with
Tolerance Type to determine whether a player’s rank qualifies.string
required
The comparison operator used to evaluate the player’s rank against
Group Rank. See the table below for all valid options.Default: '>='number
required
The BAR permission level (1–4) to grant when the rule matches. Corresponds to the standard rank tiers:
1 = Moderator, 2 = Admin, 3 = Super Admin, 4 = Game Creator.Tolerance Type Options
Multiple Group Entries Example
You can add as many entries to the array as you need. Each entry is evaluated independently, so a player can match multiple rules (they will receive the highest applicable level).Group Configuration entries supplement the manual admin ID lists in
Super Admins, Admins, and Mods — they do not replace them. A player can receive admin access through either a User ID entry or a matching group rule, whichever applies. Both sources are checked on join.