> ## 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.

# General Settings

> Set your department's name, type, look, pinned buttons, join code, and danger zone options.

***

## Department Name and Type

<Frame caption="General card">
  <img className="block" src="https://mintcdn.com/melonly/q2rOUZFah4X4li-3/images/Departments/Settings/general.png?fit=max&auto=format&n=q2rOUZFah4X4li-3&q=85&s=8b6e535129b042db9b62666c5117e581" alt="General card with the Department Name field and Department Type options" style={{ borderRadius: '0.75rem' }} width="1918" height="989" data-path="images/Departments/Settings/general.png" />
</Frame>

| Setting | Description |
| - | - |
| Department Name | Shown everywhere your department appears in Melonly. Required. |
| Department Type | Law Enforcement, Fire, EMS, DOT, Dispatch or Civilian. Decides which [CAD](/CAD/Intro/introduction) panel your department uses. |

<Warning>
  Changing the type removes any CAD panel permissions that don't fit the new type from every rank. Check your ranks afterwards.
</Warning>

Most settings use a save bar at the bottom of the page. Uploads, join code changes and everything in the Danger Zone apply straight away.

***

## Banner and Icon

* The banner is shown on your department's card on the dashboard. Click **Upload banner** to set one, or **Remove banner** to clear it.
* The icon shows next to your department's name throughout Melonly. Click **Upload icon** to change it.

***

## Pinned Buttons

Pinned buttons give every member one-click shortcuts on the department [Home](/Department/home) page. Click **Add pinned button**, then use the arrows to reorder them.

<Frame caption="Pinned Buttons card">
  <img className="block" src="https://mintcdn.com/melonly/q2rOUZFah4X4li-3/images/Departments/Settings/pinnedbuttons.png?fit=max&auto=format&n=q2rOUZFah4X4li-3&q=85&s=55f240a88853e948c488b7033097142b" alt="Pinned Buttons card with the Add pinned button button" style={{ borderRadius: '0.75rem' }} width="1918" height="989" data-path="images/Departments/Settings/pinnedbuttons.png" />
</Frame>

| Type | What it opens |
| - | - |
| Link | A web page in a new tab. Must be a valid URL. |
| Melonly Form | A form from [Resources](/Department/Resources), in a pop-up |
| Melonly Document | A document from Resources, in a pop-up |
| Melonly Action | An [action](/Department/settings#actions), opening its form first if it has one |

Each button needs a label (up to 300 characters) and its link, form, document or action before you can save.

***

## Discord Autokick

Turn on **Enable Discord Autokick** to remove members from the department when they leave your linked Discord server. Needs a [linked Discord server](/Department/settings/discord).

***

## Join Code

New members join by entering your join code on the dashboard or opening your join link.

<Frame caption="Join Code card">
  <img className="block" src="https://mintcdn.com/melonly/q2rOUZFah4X4li-3/images/Departments/Settings/joincode.png?fit=max&auto=format&n=q2rOUZFah4X4li-3&q=85&s=29ad673ea8c6b48d6593a9e674433bc6" alt="Join Code card showing the hidden code, copy and regenerate buttons, Required Discord Roles, and Custom Join Code" style={{ borderRadius: '0.75rem' }} width="1918" height="989" data-path="images/Departments/Settings/joincode.png" />
</Frame>

* **Copy** or **Copy Join Link** to share it.
* **Regenerate join code** if it leaks. The old code and link stop working straight away.

By default, joining sends a membership request that someone with Manage Members reviews on the [roster](/Department/roster#review-membership-requests). If your Discord server is linked and the person already has a Discord role tied to one of your ranks, they join straight away at that rank.

| Setting | Description |
| - | - |
| Required Discord Roles | Only people with these Discord roles (from the department or parent server) can join. They join instantly at your lowest rank, and everyone else is blocked. Up to 25 roles, with an Any or All option. |
| Custom Join Code | A memorable code like your department's name. 3 to 20 letters, numbers or hyphens, and not already used elsewhere. |

***

## Danger Zone

<Warning>
  These actions happen straight away and can't be undone.
</Warning>

| Action | Who can use it | What it does |
| - | - | - |
| Reset Activity Waves | Administrators | Resets activity waves to 0 and deletes all current shifts |
| Delete Department | Super administrators | Deletes the department and all its data. You type its name to confirm. |
| Generate Support Code | Administrators | A code that lets Melonly Support join to help you. Expires after 24 hours. Support can view settings but not change them. |

Super administrators are the parent server's owner, its administrators, and anyone with the Departments dashboard permission. Departments can't be transferred to another owner or parent server.

***

<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.