> For the complete documentation index, see [llms.txt](https://info.rovastudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://info.rovastudio.com/roblox/binds.md). Agents can also search and read this documentation through its [MCP server](https://info.rovastudio.com/~gitbook/mcp).

# Rank binds

Give Discord roles automatically, based on someone's rank in a Roblox group.

A bind is a rule like "everyone ranked 50 or higher gets the **Staff** role". You can have as many as you need, and each one can give several roles. All the bind commands are for administrators, and `/setup roblox` has to be finished first.

### Creating a bind

Run `/bind create` and press **Group**. The rest happens in chat:

{% stepper %}
{% step %}

#### Nickname (optional)

A nickname just for members who match this bind. Say `skip` to use your server's normal template.
{% endstep %}

{% step %}

#### Group ID

The group this bind looks at. It doesn't have to be the same group as your server setup.
{% endstep %}

{% step %}

#### Discord roles

Mention one or more roles.
{% endstep %}

{% step %}

#### Rank numbers

Rova lists your group's ranks and numbers, then asks which ones get the role.
{% endstep %}
{% endstepper %}

### Writing rank numbers

| You type            | Who matches                                                |
| ------------------- | ---------------------------------------------------------- |
| `255`               | Exactly rank 255.                                          |
| `20-100`            | Ranks 20 to 100, including both ends.                      |
| `1, 8, 20-100, 255` | Any of those.                                              |
| `-50`               | Rank 50 or higher.                                         |
| `1-254`             | Every group member except the owner.                       |
| `0`                 | People who are **not** in the group.                       |
| `everyone`          | Everyone who's linked, including people outside the group. |

{% hint style="info" %}
Rova compares against the member's **highest** role in the group. If someone holds several roles, only the top one counts.
{% endhint %}

### An example

Say your group has Customer (1), Trainee (10), Staff (50) and Manager (200). You could set up:

| Bind | Rank numbers | Discord role |
| ---- | ------------ | ------------ |
| 1    | `1-254`      | @Member      |
| 2    | `-50`        | @Staff       |
| 3    | `-200`       | @Management  |

A Manager gets all three. A Staff member promoted from Trainee gains @Staff on their next update. Someone demoted loses it again.

### How binds behave

* Bound roles are **managed**: if a member no longer matches, Rova removes the role on their next update, even if a person gave it to them by hand. Don't bind a role you also hand out manually.
* If a member matches several binds with a nickname, the first matching bind wins.
* If a bound role gets deleted on Discord, the bind stays and `/bind view` marks it as deleted. Rova just skips it.
* Removing a bind doesn't take the role away from anyone. It just means Rova stops managing it.
* Binds only apply when a member is updated. See [when that happens](https://info.rovastudio.com/roblox/role-sync.md).

### Commands

| Command                 | What it does                   |
| ----------------------- | ------------------------------ |
| `/bind create`          | Make a new bind.               |
| `/bind view page:`      | List your binds and their IDs. |
| `/bind remove bind_id:` | Delete a bind.                 |

There's no edit command. To change a bind, remove it and make a new one.

### Related

* [Role and nickname sync](https://info.rovastudio.com/roblox/role-sync.md)
* [Key concepts](https://info.rovastudio.com/start/concepts.md)
* [Roles not updating?](https://info.rovastudio.com/help/troubleshooting.md)
