Skip to content

Config

Public client settings live in custom/config.lua. Server-only tokens and webhooks live in custom/serverConfig.lua.

Player defaults

PrismSettings.defaults controls the default inventory look before a player saves personal settings.

lua
PrismSettings.defaults = {
    inventoryType = 'Default', -- Options: Default, Perspective
    styleSource = 'Default', -- Options: Default, Roboto, Manrope, Montserrat, Inter
    serverBrand = 'Active', -- Options: Active, Disable
    logoPositioning = 'Left', -- Options: Left, Center, Right
    themeColor = '#BEEE11', -- Required format: #RRGGBB
    backgroundOpacity = 90, -- Range: 0 - 100
    screenBlur = 'Active', -- Options: Active, Disable
    notificationStyle = 'Default', -- Options: Default, Modern
    inventoryShape = 'Square', -- Options: Square, Hexagon
    fastSlotStyle = 'Hexagons', -- Options: Normal, Hexagons
}

Visible settings

PrismSettings.enabled controls which settings players can change in the settings UI.

lua
PrismSettings.enabled = {
    inventoryType = true,
    styleSource = true,
    serverBrand = true,
    logoPositioning = true,
    notificationStyle = true,
    inventoryShape = true,
    fastSlotStyle = true,
    screenBlur = true,
}

If a value is set to false, the option is hidden from players and the default value is used.

Clothing config

PrismConfig.clothing controls the clothing creator command, default clothing values, image support, and animations.

lua
PrismConfig.clothing = {
    command = {
        name = 'clothingcreator',
        help = 'Open clothing creator menu',
        restricted = 'group.admin',
    },
}

Discord avatar profile

Discord profile avatars require a bot token.

lua
PrismServerConfig.discord = {
    botToken = '',
}

Leave botToken empty to disable Discord avatar fetching.

Webhooks

lua
PrismServerConfig.webhooks = {
    enabled = true,
    clothingCreate = '',
    errors = '',
}

Set enabled = false to disable all Prism webhooks. Fill clothingCreate to log clothing item creation and errors to log Prism custom module errors.

DMCA.com Protection Status

Lumix Studio operates independently and is not authorized, sponsored, or endorsed by Cfx.re, Rockstar Games, or Take-Two Interactive.