SleepyCode
Home
AboutBlogSubscriptionDocs
Cart0
SleepyCode
Cart0
  • πŸ’£Documentation

Scripts

  • Multicharacter
    • Features
    • Installation
    • Framework Setup
    • Core Settings
    • Characters and Slots
    • Identity
    • Spawn Selector
    • Camera and Scene
    • Arrival and Welcome
    • Starting Items
    • Loading Screen
    • Discord
    • Logs
    • Theme and Branding
    • Translations
    • Commands and Permissions
    • Database
    • Integrations
    • Hooks
    • Exports and Events
    • Examples
    • Security
    • Troubleshooting
  • DevTool
  • Fishing
  • πŸ—ƒοΈGarages V2
  • 🚌Bus Job
  • πŸš—Vehicle Shop V1
  • πŸ—ƒοΈGarages V1
  • 🍁Selldrugs
  • πŸŽ…Advent Calendar
  1. Docs
  2. /Multicharacter
  3. /Characters and Slots

Multicharacter

Characters and Slots

config/characters.lua - character slots, security cooldowns, and the /relog command.

On this page3 sections
  • Slots
  • Security
  • Relog

SlotsLink copied

Lua
Config.DefaultSlots = 1Config.MaxSlots = 8Config.CanDelete = trueConfig.SlotOverrides = {}Config.SlotsByDiscordRole = {}
OptionDescription
DefaultSlotsSlot count every player starts with.
MaxSlotsHard limit no override can exceed.
CanDeleteWhether players can delete their own characters.
SlotOverridesExtra slots for a specific identifier.
SlotsByDiscordRoleExtra slots for a Discord role. Needs Config.Discord.checkRoles = true and a bot.

How the limit is calculated

  1. 1.
    If an admin set slots with setslots, that number replaces everything else.
  2. 2.
    Otherwise: DefaultSlots plus SlotOverrides and Discord role slots.
  3. 3.
    The result is always capped at MaxSlots.

Example

Lua
Config.DefaultSlots = 2Config.SlotOverrides = {    ['license:1234567890abcdef1234567890abcdef12345678'] = 5,}Config.SlotsByDiscordRole = {    ['111111111111111111'] = 1,    ['222222222222222222'] = 3,}

To copy a role id, enable Developer Mode in Discord (Settings - Advanced), right-click the role, and choose Copy Role ID.

SecurityLink copied

Lua
Config.Security = {    createCooldown = 8,    deleteCooldown = 5,    selectCooldown = 1.5,    createLimit = { count = 5, perMinutes = 60 },    violations = {        kick   = true,        reason = '',    },}
OptionDescription
createCooldownSeconds between character creations.
deleteCooldownSeconds between character deletions.
selectCooldownSeconds between character selections.
createLimitAt most count new characters per perMinutes minutes per player.
violations.kickKicks players who send many rejected requests. false only logs a warning.
violations.reasonKick reason shown to the player. Empty uses the translation.

See Security for details.

RelogLink copied

Lua
Config.Relog = {    enabled  = true,    command  = 'relog',    cooldown = 30,}
OptionDescription
enabledLets players return to character select without disconnecting.
commandCommand name without the slash.
cooldownSeconds between uses.

On /relog, the character is saved and logged out of the framework. The inventory closes and the player returns to the private world and character select.

← PreviousCore SettingsMulticharacterNext β†’IdentityMulticharacter

On this page

  • Slots
  • Security
  • Relog
↑ Back to top
Ready when you are

Put your server on something that holds up

150+ servers run our resources - ESX, QBCore and standalone. Once the payment clears, the package is waiting in Keymaster.

Browse the catalogueAsk on Discord β†—
  • Delivered instantly
  • Support with no expiry
  • 100+ reviews
  • Payment via Tebex

SleepyCode

FiveM Scripts

Checkout is run by Tebex Limited- they handle payment, invoicing and refunds. Β© 2026

Community

  • Discord
  • YouTube
  • X (Twitter)

Navigation

  • Home
  • All Scripts
  • ESX Scripts
  • QBCore Scripts
  • Free Scripts
  • About
  • Blog
  • Documentation
  • Support

Legal

  • Privacy Policy
  • Tebex Privacy Policy
  • Terms of Service
  • Impressum

Β© 2026 SleepyCode. Not affiliated with Rockstar Games or Take-Two Interactive.

Powered byTebex