> ## Documentation Index
> Fetch the complete documentation index at: https://docs.melonly.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Ranks

> Create, edit, order, and delete your department's ranks, and link them to Discord roles.

***

## What are Ranks?

Ranks make up your department's chain of command. Every member has exactly one rank, and each rank has its own [permissions](/Department/permissions). For extra permissions or groups on top of a rank, use [roles](/Department/roster#roles).

Managing ranks needs the Administrator permission, and you can only manage ranks below your own.

<Frame caption="Create Rank">
  <img className="block" src="https://mintcdn.com/melonly/q2rOUZFah4X4li-3/images/Departments/Roster/createrank.png?fit=max&auto=format&n=q2rOUZFah4X4li-3&q=85&s=5ae3292848b25389fb083acd7d677769" alt="Create Rank window with Name, Colour, Linked Discord Role, and Permissions" style={{ borderRadius: '0.75rem' }} width="1918" height="989" data-path="images/Departments/Roster/createrank.png" />
</Frame>

***

## Create a Rank

<Steps>
  <Step title="Create the rank">
    Click **Roster admin**, then **Create Rank**.
  </Step>

  <Step title="Fill in the details">
    Give it a name and colour, link a Discord role if you want, and pick its [permissions](/Department/permissions).
  </Step>

  <Step title="Put it in place">
    New ranks are added at the bottom. Use **Move up** in the rank's menu to move it.
  </Step>
</Steps>

***

## Edit, Move and Delete Ranks

Click the three dots next to a rank name to edit, duplicate, delete, or move it. When you delete a rank that has members, you'll pick a rank to move them into.

***

## Linked Discord Roles

Each Discord role can be linked to one rank, and Melonly keeps them in sync:

* Rank changes in Melonly swap the member's Discord roles.
* Getting a linked role in Discord moves the member to the highest matching rank, and adds them to the department if needed.
* Losing their only linked rank role in Discord removes them from the department.

To sync roles between your main server and department servers, use Discord Role Syncing on your main server's [Departments page](/Dashboard/department).

***

<Card title="Need help?" icon="headset" href="https://melonly.xyz/discord">
  Still have questions? Join our Discord server for support from the Melonly Team.
</Card>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.