Extra Slots
How to Enable Premium Character Slots in crm-multicharacter
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.luaFind this section:
-- 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.
You must have a bot created in the Discord Developer Portal and invited to your server. You do not need to give it any permissions β itβs only used to read member roles.
2. Configure Premium Roles and Slots
Go to:
crm-multicharacter/crm-config/crm-config.luaLocate the following section:
Make sure
crm_enableis set totrueto activate premium slots.Add role IDs in the
crm_rolestable, with the value representing how many extra slots that role gives. Example:'123456789012345678' = 2means users with that role get 2 extra character slots.
Last updated