> For the complete documentation index, see [llms.txt](https://corem.gitbook.io/corem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://corem.gitbook.io/corem/crm-multicharacter/extra-slots.md).

# Extra Slots

If you're trying to enable premium character slots in your server using `crm-multicharacter`, follow these steps carefully:

### 1. **Add Your Discord Bot Info**

Navigate to:

```
crm-multicharacter/crm-open/crm-server/crm-main.lua
```

Find this section:

```lua
-- crm-multicharacter - Add here your Discord server id / Bot token.

local crm_discord = {
    crm_server_id = nil, -- Example: '1155071753475870850'
    crm_bot_token = nil, -- Example: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
}
```

Replace `nil` with your **actual Discord server ID and bot token**.

{% hint style="warning" %}
You must have a bot created in the [Discord Developer Portal](https://discord.com/developers/applications) and invited to your server. You do **not** need to give it any permissions – it’s only used to read member roles.
{% endhint %}

### 2. **Configure Premium Roles and Slots**

Go to:

```
crm-multicharacter/crm-config/crm-config.lua
```

Locate the following section:

```lua
-- Premium slot / locked slot settings
crm_config.crm_premium = {
    crm_enable = true, -- Enable premium slot functionality
    crm_showcase = true, -- Show a locked slot to let your community knows about premium.
    crm_roles = { -- Map role identifiers (like Discord IDs) to number of extra slots
        -- ['someRoleID'] = numberOfSlots,
        -- ['1239685853337489439'] = 3,
        -- ['1244583824713580606'] = 1,
    },
}
```

* Make sure `crm_enable` is set to `true` to activate premium slots.
* Add role IDs in the `crm_roles` table, with the value representing how many extra slots that role gives.\
  Example: `'123456789012345678' = 2` means users with that role get 2 extra character slots.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://corem.gitbook.io/corem/crm-multicharacter/extra-slots.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
