Skip to main content
BAR uses a four-tier numeric permission model to control which commands each player can access. Every command has a minimum required level, and players are granted the level that matches their entry in the admin lists. Level 0 is the baseline for all players (including non-admins), while levels 1 through 4 represent progressively more powerful roles. The game owner is always automatically assigned level 4.

Permission Levels


Adding Players to Ranks

Players are assigned to ranks by adding their Roblox User ID to the corresponding table in main_script.lua. You can find a player’s User ID on their Roblox profile page.
As the game creator (game owner), you are automatically granted permission level 4 (Game Creator) every time the server starts. You do not need to add your own User ID to any of the tables.

Customizing Rank Names

The display names for each rank level can be changed in ExtraSettings.lua under the Rank Config key. The index corresponds to the permission level.
Changing these names updates how ranks appear in the BAR UI — for example, in the admin list panel and notification messages — without affecting the underlying permission levels.

Per-Command Permission Overrides

By default, every command has a built-in minimum permission level. The Command Configuration table in main_script.lua lets you override the required level for individual commands, making them available to lower or higher ranks than the default. The example from the default configuration lowers :fly and :unfly to level 1 (Moderator):
You can add any command name as a key and set Permission to the level you want (0–4). For example, to allow all players to use :respawn on themselves:

Runtime Rank Changes

Admins can promote or demote players at runtime using the following commands. These changes are temporary — they last only for the duration of the server session and are not saved to any datastore.
The following commands are available for runtime rank management:
  • :admin [player] — Grants a player Admin (level 2) for the current session.
  • :mod [player] — Grants a player Moderator (level 1) for the current session.
  • :superadmin [player] — Grants a player Super Admin (level 3) for the current session.
  • :unadmin [player] — Removes all admin rank from a player, returning them to level 0.
To permanently assign ranks, add the player’s User ID to the appropriate table in main_script.lua instead.