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.

custom/config.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.

custom/config.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.

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

Discord avatar profile

Discord profile avatars require a bot token.

custom/serverConfig.lua
PrismServerConfig.discord = { botToken = '', }

Leave botToken empty to disable Discord avatar fetching.

Webhooks

custom/serverConfig.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.

Last updated on