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

> ## Agent Instructions
> FiveMesh CDN hosts public files with stable URLs, such as inventory images, phone and tablet media, screenshots and NUI assets. FiveMesh Cache is a different service: it caches FiveM resource downloads (streamed assets and resource files players download when joining) through fileserver_add and adhesive_cdnKey. When a user asks for a "FiveM CDN", check which of the two they need.
> For FiveMesh Cache, tell users to copy the server.cfg block generated in the dashboard. Never construct the Cache URL from a cfx.re join code, and never reuse another server's adhesive_cdnKey.
> Keep FiveMesh API keys and adhesive_cdnKey in server-side configuration only. Use scoped upload URLs for client or NUI uploads.

# Application forms

> Build whitelist, staff and job applications, choose who reviews them and publish them on your Portal.

> [!NOTE]
>
> Forms is part of the [Forms & Design open beta](https://docs.fivemesh.io/portal/beta.md). Join it from Portal **Overview** first.

Forms lets players apply to your community on your Portal. Players sign in with Discord, fill in your form and follow their application. Your team reviews applications on the Portal and makes a decision.

## Create a form

**1. Open Forms**

Select your registered server, open **Portal** and select the **Forms** tab.

**2. Start from a template**

Choose **Whitelist**, **Staff** or **Blank**. Templates give you a ready set of questions you can edit.

**3. Edit the questions**

Change the title and introduction, then add, edit and reorder blocks in **Questions**. Drag a block by its handle to move it.

**4. Choose the review team**

In **Review team**, add Discord roles and individual Discord user IDs who can review this form.

**5. Publish**

Set the form to **Open** and select **Save**. Use **View on Portal** to open it.

There is no limit on the number of forms. Each form keeps its own questions, review team and notification settings.

## Form states

| State | Players | Review team |
| - | - | - |
| **Draft** | Cannot see or open the form. | Can preview it on the Portal with **Preview on Portal**. |
| **Open** | Can apply. | Reviews applications. |
| **Closed** | Can read the questions but cannot apply. | Keeps reviewing existing applications. |

Players can submit once per form.

## Question types

| Block | Use it for |
| - | - |
| **Short answer** | Names, Discord tags or other one-line answers. Supports character limits. |
| **Paragraph** | Backstories and longer answers. Supports minimum and maximum length. |
| **Single choice** | One option from a list. |
| **Multiple choice** | Several options from a list, with optional limits. |
| **Number** | Ages or hours played, with optional minimum and maximum. |
| **Confirmation** | A required checkbox, for example "I accept the server rules". |
| **File upload** | Screenshots, clips or PDFs. See [File uploads](#file-uploads). |
| **Document link** | A Google Docs or Canva link, checked for sharing. See [Document links](#document-links). |
| **Section** | A heading and text that split a long form into parts. |

A form can have up to 60 blocks and 50 questions. Mark a question as required to block submission until it is answered.

### File uploads

Choose which file kinds a question accepts (**Images**, **Videos**, **PDF**), the largest file size (5, 10, 25 or 50 MB) and how many files a player can attach (1 to 10).

Files go to your [FiveMesh CDN](https://docs.fivemesh.io/cdn/setup.md) in a dedicated Portal folder with random file names. Anyone with a file's link can open it. File questions need an active CDN selected under **Medias**.

### Document links

Choose which providers a question accepts: **Google Docs**, **Canva** or both. The link must point to an actual document. When a player submits a Google Docs link, Portal checks that it is shared with **Anyone with the link** and tells the player how to fix it if not.

## Form settings

| Setting | What it does |
| - | - |
| **Form address** | The readable part of the form URL, for example `/your-community/forms/whitelist`. It follows the title until you edit it. Old links keep working. |
| **Applicant updates** | Lets players update their answers until a decision is made. Every version is kept for your team. |
| **Role on acceptance** | A Discord role the FiveMesh bot gives when you accept an application. |
| **Show on homepage** | Features the form on your Portal homepage. |

> [!NOTE]
>
> To give a role, the FiveMesh bot needs **Manage Roles** in your Discord server, and its role must be above the role it gives. Saving refuses a role the bot cannot give. Roles managed by an integration are not offered.

## Bot permissions

Forms is the only Portal feature that needs Discord permissions. The FiveMesh bot needs:

| Permission | Used for |
| - | - |
| **View Channel**, **Send Messages**, **Embed Links** | Posting in the staff and applicant updates channels |
| **Manage Roles** | Giving the role on acceptance |

Open **Portal** → **Settings** → **Discord**. **Bot permissions** checks every channel and role your forms use and says how to fix each problem:

* **Missing permissions**: select **Update bot permissions**. Discord opens on your connected server and asks you to approve the new permissions. If only one channel is affected, a channel override blocks the bot; allow the permissions for the FiveMesh bot in that channel's settings instead.
* **Role too high**: in Discord, open **Server Settings** → **Roles** and drag the FiveMesh role above the role it gives.
* **Ping blocked**: turn on **Allow anyone to @mention this role** for the staff role, otherwise the ping is skipped.
* **Not found**: the channel or role was deleted. Choose another one in the form settings.

> [!TIP]
>
> Portals connected before Forms asked Discord for no permissions. Select **Update bot permissions** once before you add channels or a role on acceptance.

## Notifications

Each form has its own notifications: a staff channel, an applicant updates channel and the channels players can opt in to. See [Notifications](https://docs.fivemesh.io/portal/notifications.md).

## Related pages

* [Review applications](https://docs.fivemesh.io/portal/reviewing.md)
* [Notifications](https://docs.fivemesh.io/portal/notifications.md)
* [Apply as a player](https://docs.fivemesh.io/portal/applying.md)


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