um-multicharacter-xviHow-to Guides
Slots
How to set default and extra character slots
Paths
main.lua
slots.lua
Default Slots
-- Character slots every player gets. Extra slots: config/slots.lua
defaultSlots = 4,
-- Rows in the character list. Slots past the player's own show as locked (more via config/slots.lua, Discord or Tebex)
shownSlots = 6,Extra Slots
All extra slots add up.
License List
list = {
{ license = 'license:xxxx', slot = 2 },
},Discord Roles
discordRoles = {
{ id = '1372592152718213232', slot = 1 },
{ id = '1372592152718213233', slot = 3 },
},set um:DISCORD_BOT_TOKEN "your_bot_token_here"
set um:DISCORD_GUILD_ID "your_guild_id_here"Get guild id here
Create a bot, get the token and invite it to your server here
Security Warning
Do not share the token with anyone. It is as important as your server key!
Delete Access
-- true: everyone can delete their characters. false: only licenses in config/slots.lua deleteAccess
deleteEnabled = true,deleteAccess = {
'license:xxxx',
},