> 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/role-sync.md). Agents can also search and read this documentation through its [MCP server](https://info.rovastudio.com/~gitbook/mcp).

# Role and nickname sync

When Rova updates roles and nicknames, what it changes, and how nickname templates work.

Rova doesn't watch Roblox constantly. It updates a member at specific moments, so a rank change on Roblox shows up on Discord the next time one of these happens.

### When a member gets updated

| Moment                                       | Who starts it                        |
| -------------------------------------------- | ------------------------------------ |
| They join your server                        | Automatic, if they're already linked |
| They link their account                      | Automatic                            |
| They press **Verify with Rova** while linked | The member                           |
| `/update` or `/get-role`                     | The member themselves                |
| `/update user:` or `/update role:`           | Staff                                |
| `/update-all`                                | Staff                                |

`/get-role` and `/update` do exactly the same thing.

### What changes

| Thing         | Rule                                                                                                      |
| ------------- | --------------------------------------------------------------------------------------------------------- |
| Bound roles   | Added if the member matches a [bind](https://info.rovastudio.com/roblox/binds.md), removed if they don't. |
| Rank roles    | With `merge` or `replace`, the member gets the role named after their highest rank.                       |
| Verified role | Added to every linked member. Losing a bind never takes this one away.                                    |
| Nickname      | Set from the first matching bind's template if it has one, otherwise your server's template.              |

{% hint style="success" %}
Every other role is left alone. Rova only touches roles it manages, and it changes them one at a time, so it won't undo a role another bot or a moderator just gave someone.
{% endhint %}

If Roblox isn't answering, nothing changes for that member. Rova never removes a role because it couldn't get an answer.

### Updating other people

`/update user:`, `/update role:` and `/update-all` need the **Manage Roles** permission or a role named exactly **Rova Updater**. Create that role yourself if you want to give this to staff without handing out Manage Roles.

`/update-all` can take a while on a big server. It runs once at a time per server, skips over anyone it can't update, and sends you the result by DM as well.

### Nickname templates

Set one in [`/setup roblox`](https://info.rovastudio.com/roblox/server-setup.md) or on a [bind](https://info.rovastudio.com/roblox/binds.md). A template needs at least one placeholder, spelled exactly as below, and can include your own text.

| Placeholder             | Becomes                                        |
| ----------------------- | ---------------------------------------------- |
| `%roblox-name%`         | Roblox username                                |
| `%display-name%`        | Roblox display name                            |
| `%roblox-id%`           | Roblox user ID                                 |
| `%account-created%`     | When the Roblox account was created            |
| `%group-rank%`          | Their rank's name, like Junior Store Colleague |
| `%group-rank-initials%` | The rank's initials, like JSC                  |
| `%group-rank-id%`       | The rank's number                              |
| `%discord-name%`        | Discord username                               |
| `%discord-displayname%` | Discord nickname                               |
| `%discord-id%`          | Discord user ID                                |
| `%server-name%`         | Your server's name                             |
| `%server-id%`           | Your server's ID                               |

Discord nicknames stop at 32 characters, so Rova cuts off anything longer. Keep the important part first.

### Limits worth knowing

{% hint style="warning" %}
Rova can't change roles above its own, and Discord doesn't let any bot change the **server owner's** nickname. Both show up as an "insufficient permissions" warning under the update. They aren't bugs.
{% endhint %}

Your update message always shows what changed. If nothing's listed and you expected a change, the [troubleshooting page](https://info.rovastudio.com/help/troubleshooting.md) goes through the usual causes.

### Commands

| Command         | Who                          | What it does                 |
| --------------- | ---------------------------- | ---------------------------- |
| `/update`       | Anyone                       | Update yourself.             |
| `/get-role`     | Anyone                       | Same as `/update`.           |
| `/update user:` | Manage Roles or Rova Updater | Update one member.           |
| `/update role:` | Manage Roles or Rova Updater | Update everyone with a role. |
| `/update-all`   | Manage Roles or Rova Updater | Update every linked member.  |

You can't use `user` and `role` at the same time.

### Related

* [Rank binds](https://info.rovastudio.com/roblox/binds.md)
* [Server setup](https://info.rovastudio.com/roblox/server-setup.md)
* [Error messages](https://info.rovastudio.com/help/errors.md)
