Ranks define who has access to Sphere and what they can do. Each rank lives inside theDocumentation Index
Fetch the complete documentation index at: https://sphere.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Ranks table in your Settings and is identified by its key. A player is assigned whichever rank they qualify for with the highest Priority. Only one rank is ever active per player at a time.
If a player qualifies for more than one rank at the same time, only the one with the highest
Priority is applied.Creating a Rank
Add a new key to theRanks table. The key name becomes the rank’s identifier everywhere in Sphere, including in Inherits references and permission lookups.
Annotation
Annotation
Input
Input
Priority Number • Required
When a player qualifies for more than one rank, the one with the highest value wins.Permissions Table • Required
An array of permission strings granted to this rank. See Permissions.Members Table • Required
A dictionary of membership rules. See Members.Inherits String
The name of another rank to inherit permissions from. Members are never inherited, only permissions. Omit when
The chat tag shown next to the player’s name. See Prefix.
When a player qualifies for more than one rank, the one with the highest value wins.Permissions Table • Required
An array of permission strings granted to this rank. See Permissions.Members Table • Required
A dictionary of membership rules. See Members.Inherits String
The name of another rank to inherit permissions from. Members are never inherited, only permissions. Omit when
Permissions = {"*"} — the wildcard already covers all permissions unconditionally.Prefix TableThe chat tag shown next to the player’s name. See Prefix.
Members
Members is a dictionary of membership rules. Each key is a member type and its value is the list of entries. A player qualifies for the rank if they satisfy any key in the table.
A player only needs to satisfy one of them to qualify.
Users
Matches players byUserId, username, or special values. Mix and match any of these inside the same list.
Input
Input
UserId Number
The most reliable way to target a specific player.Username String
Matches by username. Prefer
Resolves to the
Resolves to the
Every player who joins the game automatically qualifies.
The most reliable way to target a specific player.Username String
Matches by username. Prefer
UserId where possible.game.CreatorId SpecialResolves to the
UserId of the game creator at runtime.game.PrivateServerOwnerId SpecialResolves to the
UserId of the private server owner at runtime.“@Everyone” SpecialEvery player who joins the game automatically qualifies.
Group
Matches players based on their rank inside a Roblox group. Each entry is a string in the format"GroupId:Operator+RankId".
Input
Input
GroupId Number • Required
The Roblox group ID to check.Operator String • Required
How to compare the player’s rank. Accepted values:
The rank value to compare the player’s group rank against.
The Roblox group ID to check.Operator String • Required
How to compare the player’s rank. Accepted values:
>=, <=, ==, >, <.RankId Number • RequiredThe rank value to compare the player’s group rank against.
Gamepass
Matches players who own any of the listed gamepass IDs.Input
Input
Gamepass IDs {Number} • Required
A list of gamepass IDs. The player qualifies if they own any one of them.
A list of gamepass IDs. The player qualifies if they own any one of them.
Membership
Matches players with an active Roblox Premium subscription. Currently only"Premium" is a valid value.
Asset
Matches players who own any of the listed asset IDs.Input
Input
Asset IDs {Number} • Required
A list of asset IDs. The player qualifies if they own any one of them.
A list of asset IDs. The player qualifies if they own any one of them.
FriendsWith
Matches players who are friends with any of the listedUserIds.
Input
Input
UserIds {Number} • Required
A list of
A list of
UserIds. The player qualifies if they are friends with any one of them.Badge
Matches players who own any of the listed badge IDs.Input
Input
Badge IDs {Number} • Required
A list of badge IDs. The player qualifies if they own any one of them.
A list of badge IDs. The player qualifies if they own any one of them.
Permissions
Permissions is an array of strings. Each string is a permission name granted to players holding this rank. Names are matched exactly against what is passed to CreateSection and CreateCommand.
Use
"*" to grant all permissions unconditionally. Ranks using "*" should omit Inherits, as the wildcard already covers everything.Inheritance
WhenInherits is set, the rank receives all permissions from the named rank on top of its own. Only permissions are inherited, never Members. The chain resolves recursively across as many levels as needed.
Prefix
Prefix is an optional table that controls the chat tag shown next to the player’s name. If omitted, no tag is shown.
Input
Input
Text String • Required
The tag displayed next to the player’s name in chat. Supports rich text tags such as
The color of the tag. Omit to use the default chat color.
The tag displayed next to the player’s name in chat. Supports rich text tags such as
<b>.Color Color3The color of the tag. Omit to use the default chat color.