⚙️Configuration
This is the configuration that you can give to this script to modify it to your liking
Config File
Config = {}
Config.Debug = false
---- COMMANDS ----
-- This is the command and description of the commands.
Config.Commands = {
['me'] = { -- Not change this name
command = 'me',
label = 'Me',
colorText = '#F6FFFA',
colorTextShadow = 'rgba(255, 255, 255, 0.55)', -- You can set in false to not show the text shadow
colorBackground = 'rgb(243, 100, 100)',
colorBackgroundShadow = 'rgba(31, 31, 31, 0.45)', -- You can set in false to not show the background shadow
colorBorder = 'rgb(247, 132, 132)', -- You can set in false to not show the border
colorBorderShadow = 'rgba(83, 83, 83, 0.6)', -- You can set in false to not show the border shadow
avatarBackground = '#FFFFFF',
description = 'Example: /me <message> - Make a action.',
},
['do'] = { -- Not change this name
command = 'do',
label = 'Do',
colorText = '#F6FFFA',
colorTextShadow = 'rgba(255, 255, 255, 0.55)', -- You can set in false to not show the text shadow
colorBackground = 'rgb(42, 105, 243)',
colorBackgroundShadow = 'rgba(31, 31, 31, 0.45)', -- You can set in false to not show the background shadow
colorBorder = 'rgb(132, 168, 247)', -- You can set in false to not show the border
colorBorderShadow = 'rgba(83, 83, 83, 0.6)', -- You can set in false to not show the border shadow
avatarBackground = '#FFFFFF',
description = 'Example: /do <message> - Make a action.',
},
['ooc'] = { -- Not change this name
command = 'ooc',
label = 'OOC',
colorText = '#F6FFFA',
colorTextShadow = 'rgba(255, 255, 255, 0.55)', -- You can set in false to not show the text shadow
colorBackground = 'rgb(105, 42, 243)',
colorBackgroundShadow = 'rgba(31, 31, 31, 0.45)', -- You can set in false to not show the background shadow
colorBorder = 'rgb(168, 132, 247)', -- You can set in false to not show the border
colorBorderShadow = 'rgba(83, 83, 83, 0.6)', -- You can set in false to not show the border shadow
avatarBackground = '#FFFFFF',
description = 'Example: /ooc <message> - Make a action.',
},
}
---- 3D TEXT / NUI SETTINGS ----
-- Tiempos y parámetros de visualización
Config.Bubble = {
-- Duración total del mensaje (ms) antes de auto-ocultarse
displayDuration = 5000,
-- Distancia máxima para renderizar (metros)
maxDistance = 20.0,
-- Separación vertical entre líneas (metros)
textSpacing = 0.26,
-- Altura base sobre la cabeza (metros)
baseHeadHeight = 0.35,
-- Suavizado de movimiento (0-1)
smoothingFactor = 0.2,
-- Si no hay updates en este tiempo, mantener fijo (ms)
nuiHoldMs = 5, -- Dont touch if you don't know what you are doing
-- Una vez en retención, mantener visible este tiempo extra (ms)
nuiGraceMs = 10 -- Dont touch if you don't know what you are doing
}
Config.Avatar = {
Type = 'player', -- 'discord', 'player' or false
DefaultImage = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='48' fill='%23d8d8d8'/><circle cx='50' cy='38' r='22' fill='%23f6f6f6'/><path d='M20 90c8-18 24-28 30-28s22 10 30 28' fill='%23b8b8b8'/></svg>"
}
Config Server
Last updated
