# Config file

{% tabs %}
{% tab title="CONFIG" %}

```lua
Config = {}

--[[ Language ]]--
Config.Locale = 'en' -- en, de, es, cs.

-- [[ Framework ]] --
Config.Framework = {
    autoDetect = true,        -- Automatically finds and sets supported framework on your server.
    Type = 'esx',             -- ESX = 'esx' / QBCore = 'qbcore'.
    Export = 'es_extended',   -- ESX = 'es_extended' / QBCore = 'qb-core'.
}

--[[ Menu ]]--
Config.Menu = 'auto_detect'   -- auto_detect      - Automatically finds and sets supported menu on your server.
                              -- ox               - https://overextended.github.io/docs.
                              -- esx              - https://github.com/esx-framework/esx-legacy/tree/main/%5Besx%5D/esx_menu_default.
                              -- qb               - https://github.com/qbcore-framework/qb-menu.

--[[ Notifications ]]--
Config.Notify = 'auto_detect'   -- auto_detect, ox, esx, qb.
Config.NotifyType = {success = 'success', info = 'info', error = 'error'}
Config.Sounds = true

--[[ Chat Style ]]--
Config.ChatStyle = 'styleModern2'   -- styleNormal, styleModern, styleModern2, styleCustom(Can be customized in sv_utils.lua).
Config.ShowTime = false             -- Do you want to see time when the message was posted ?.

--[[ Other ]]--
Config.TextSize = 1             -- 3D text size for all commands except Config.TextWhenTyping.
Config.ChatSounds = true        -- Sound effects [if true player will hear a sound upon sending a message].
Config.TimeFormat = '%H:%M'     -- Time format used in discord logs and styleModern2 - https://www.lua.org/pil/22.1.html.
Config.NotValidCommand = true   -- Do you want to see a message when player uses a command thats not valid?
Config.UseChatNotify = true     -- Use chat script notifications or your custom ones?

--[[ Floating Text When Typing ]]--
Config.TextWhenTyping = {
    Enable = true,
    UseInCar = true,
    Text = 'Typing',
    Use3dText = {
        Height = 0.95,         -- Height of 3d text.
        Size = 1,              -- Size of 3d text
        Background = false,    -- If true there will be background behind 3d text.
        AnimatedDots = true,   -- Use animated dots after Text.
        Color = {
            Text = {255, 255, 255, 215},     -- Color of the 3d text [r, g, b, opacity].
            Background = {25, 25, 25, 68},   -- Color of the 3d text background [r, g, b, opacity].
        },
    },
}

--[[ Logs ]]--
Config.DiscordLogs = {
    Icon = 'https://imgur.com/OrnXItg.png',   -- Icon that will appear in discord logs.
    ServerName = 'Fivecode Scripts',          -- Name that will appear in discord logs.

    -- You can set all discord webhooks, bot token and server id in the utils.lua file.
}

Config.IngameLogs = {
    Enabled = true,        -- If false you will disable the menu.
    Command = 'chatlog',   -- Command that will open the menu.
}

--[[ Discord Roles ]]--
Config.DiscordRolesSettings = {
    Enable = false,        -- If false discord roles in chat will be disabled.
    UpdateInterval = 60,   -- How often are discord roles going to be updated [in seconds].

    -- Don't forget to add BotToken and ServerId in the utils.lua file.
}

Config.DiscordRoles = {
    -- The chat will display the player's highest role from this table.
    {
        id = '825125680165801681',   -- Discord role id.
        use = true,                  -- Use this discord role.
        name = '👑Owner',           -- Name that will display before player name in chat.
        color = '255, 255, 0',       -- Color of the display name in chat.
    }, 
    {
        id = '82833294482874398',
        use = true,
        name = 'VIP',
        color = '255, 215, 0',
    },
    {
        id = '825722055984524372',
        use = true,
        name = 'Whitelisted',
        color = '0, 185, 0',
    },
}

--[[ 3D Text ]]--
Config.Position3dText = 2.3   -- Change the default position of the 3d text [2.3 - On Player torso, +3 - Above Player Hear].
Config.Custom3dTextFont = {   -- Custom font - https://fonts.google.com/specimen/Fira+Sans.
    Enable = false,
    FileName = 'firesans',
    FontId = 'Fire Sans',
}

--[[ Anti Spam ]]--
Config.AntiSpam = {
    Enable = true,   -- Enable or disable spam detection.
    Timeout = 5,     -- Time (in seconds) a player must wait before sending a new message after being caught spamming.
    RepeatedTimeout = {
        Enable = true,   -- Enable or disable extended timeouts for repeated offenses.
        Timeout = 20,    -- Mute duration (in seconds) if a player is caught spamming 3 or more times within 30 seconds.
    },
    DiscordLogs = {
        Enable = true,                          -- If false, this Discord log will be disabled.
        Label = 'PLAYER WAS CAUGHT SPAMMING',   -- Label for the Discord log message.
        Color = '11730944',                     -- Color for the Discord embed message (decimal format). Convert hex to decimal: https://www.mathsisfun.com/hexadecimal-decimal-colors.html.
    },
}


--[[ Blacklisted Words ]]--
Config.BlackListedWords = {
    Enable = true,   -- Enable or disable blacklisted words detection.
    Words = {        -- Add blacklisted words here (use only lowercase for consistency).
        'discord',
        'youtube',
        'nigger',
        'nigga',
        'retard',
    },
    DiscordLogs = {
        Enable = true,                            -- If false, this Discord log will be disabled.
        Label = 'PLAYER USED BLACKLISTED WORD',   -- Label for the Discord log message.
        Color = '11730944',                       -- Color for the Discord embed message (decimal format). Convert hex to decimal: https://www.mathsisfun.com/hexadecimal-decimal-colors.html.
    },
}


--[[ Report System ]]--
Config.ReportSystem = {
    Enable = true,                   -- Enable or disable the report system.
    UseDiscordRoles = true,          -- If true, the player's Discord role will display before their name in the message label.
    Command = 'report',              -- Command name to trigger the report system.
    Label = 'New Report',            -- Label for the report message in chat.
    Icon = 'fas fa-shield-halved',   -- Icon that will appear before the message text in chat. Leave blank for no icon.
    Cooldown = 2,                    -- Time (in minutes) that must pass before a player can send another report.
    Color = {
        Label = '255, 255, 255',         -- Color of the report message label text (RGB format).
        Text = '255, 255, 255',          -- Color of the report message text (RGB format).
        TextStyleNormal = '158, 0, 0',   -- Color for normal report text (when Config.ChatStyle = 'styleNormal').
        Background = '158, 0, 0, 0.9',   -- Background color of the report message (RGBA format for transparency).
    },
    Suggestion = {
        Enable = true,                                               -- If false, suggestions for this command will be disabled.
        Text = 'Send report to active admins.',                      -- Suggestion text shown to players.
        Help = 'Message',                                            -- Help text for the report command.
        Info = 'Every admin on the server will see this message.',   -- Info on who will receive the report.
    },
    -- Permissions [Who can see player reports]
    StaffCommand = true,   -- If true, staff members can see the report command.
    StaffGroups = { 
        'superadmin', 
        'admin', 
        'mod', 
    },
    SpecifiedPlayers = false,   -- If true, specified players will be able to see reports.
    SpecifiedPlayersLicenses = {
        'steam:11000011868e51c',
        'license:',
        'discord:',
        'license2:',
    },
    -- Logs
    DiscordLogs = {
        Enable = true,          -- If false, this Discord log will be disabled.
        Label = 'NEW REPORT',   -- Label for the Discord log message.
        Color = '10354688',     -- Color for the Discord embed message (decimal format). Convert hex to decimal: https://www.mathsisfun.com/hexadecimal-decimal-colors.html.
    },
}


--[[ Admin Chat System ]]--
Config.AdminChatSystem = {
    Enable = true,                     -- If false, this command will be disabled.
    UseDiscordRoles = true,            -- If true, the player's Discord role will display before their name in the message label.
    Command = 'a',                     -- Command name for admin chat.
    Label = 'ADMINCHAT',               -- Label for the admin chat message.
    Name = 'steamname',                -- Name format that will be shown in chat (options: steamname, icname, icfirstname, icinitials, icsurname, playerid, playerjob).
    Icon = 'fas fa-square-envelope',   -- Icon to appear before the message text in chat. Leave blank for no icon.
    Color = {
        Label = '255, 255, 255',         -- Color of the message label text (RGB format).
        Text = '255, 255, 255',          -- Color of the message text (RGB format).
        TextStyleNormal = '255, 0, 0',   -- Color of the message text when Config.ChatStyle = 'styleNormal'.
        Background = '255, 0, 0, 0.9'    -- Color of the message background (RGBA format for transparency).
    },
    Suggestion = {
        Enable = true,                                       -- If false, suggestions for this command will be disabled.
        Text = 'Admin chat that only admins can see/use.',   -- Text explaining the command.
        Help = 'Message',                                    -- Help text for the admin chat command.
        Info = 'For example: Hello, guys.',                  -- Info text explaining how to use the command.
    },
    -- Permissions [Who can see and use admin chat]
    StaffCommand = true,   -- If true, staff members can see and use the admin chat.
    StaffGroups = {
        'superadmin', 
        'admin', 
        'mod', 
    },
    SpecifiedPlayers = false,   -- If true, specified players can see and use admin chat.
    SpecifiedPlayersLicenses = {
        'steam:11000011868e51c',
        'license:',
        'discord:',
        'license2:',
    },
    -- Logs
    DiscordLogs = {
        Enable = true,          -- If false, this Discord log will be disabled.
        Label = '/ADMINCHAT',   -- Label for the Discord log message.
        Color = '10354688',     -- Color for the Discord embed message (decimal format). Convert hex to decimal: https://www.mathsisfun.com/hexadecimal-decimal-colors.html.
    },
}


--[[ Private Message System ]]--
Config.PrivateMsgSystem = {
    Enable = true,                     -- If false, this command will be turned off.
    UseDiscordRoles = true,            -- If true, the player's Discord role will display before their name in the message label.
    Command = 'pm',                    -- Command name.
    Label = 'PRIVATE MESSAGE',         -- Label of the message in chat.
    Name = 'steamname',                -- Name shown in chat [steamname, icname, icfirstname, icinitials, icsurname, playerid, playerjob].
    Icon = 'fas fa-square-envelope',   -- Icon that will appear in chat before the text [Leave blank '' if not needed].
    Color = {
        Label = '255, 255, 255',            -- Color of the message label text.
        Text = '255, 255, 255',             -- Color of the message text.
        TextStyleNormal = '215, 174, 38',   -- Color of the message text for Config.ChatStyle = 'styleNormal'.
        Background = '215, 174, 38, 0.9',   -- Color of the message background.
    },
    Suggestion = {
        Enable = true,                              -- If false, suggestions for this command will be disabled.
        Text = 'Send someone a private message.',   -- Text explaining the command.
        Help = 'Message',                           -- Help text for the admin chat command.
        Info = 'For example - Hello bro.',          -- Info text explaining how to use the command.
        Help_Id = 'Id',
        Info_Id = 'Id of the player you want to send the message to.',
    },
    -- Permissions [Who will be able to use private messages]
    StaffCommand = false,   -- If true, staff members can send a private message.
    StaffGroups = {
        'superadmins',
        'admin',
        'mods',
    },
    SpecifiedPlayers = false,   -- If true, specified players will be able to send a private message.
    SpecifiedPlayersLicenses = {
        'steam:11000011868e51c',
        'license:',
        'discord:',
        'license2:',
    },
    DiscordLogs = {
        Enable = true,        -- If false, this Discord log will be disabled.
        Label = '/PM',        -- Discord log label.
        Color = '11690631',   -- Color for the Discord embed message (decimal format). Convert hex to decimal: https://www.mathsisfun.com/hexadecimal-decimal-colors.html.
    },
}

--[[ Notify Messages ]]--
Config.SuccessMessage = {
    Label = 'SUCCESS:',             -- Label of the message in chat.
    Icon = 'fas fa-circle-check',   -- Icon that will appear in the chat before the text [Leave blank '' if not needed].
    Color = {
        Label = '255, 255, 255',           -- Color of the message label text.
        Text = '255, 255, 255',            -- Color of the message text.
        TextStyleNormal = '75, 206, 18',   -- Color of the message text for Config.ChatStyle = 'styleNormal'.
        Background = '75, 206, 18, 0.9',   -- Color of the message background.
    },
}

Config.InfoMessage = {
    Label = 'INFO:',               -- Label of the message in chat.
    Icon = 'fas fa-circle-info',   -- Icon that will appear in the chat before the text [Leave blank '' if not needed].
    Color = {
        Label = '255, 255, 255',           -- Color of the message label text.
        Text = '255, 255, 255',            -- Color of the message text.
        TextStyleNormal = '4, 128, 236',   -- Color of the message text for Config.ChatStyle = 'styleNormal'.
        Background = '4, 128, 236, 0.9',   -- Color of the message background.
    },
}

Config.ErrorMessage = {
    Label = 'ERROR:',                       -- Label of the message in chat.
    Icon = 'fas fa-triangle-exclamation',   -- Icon that will appear in the chat before the text [Leave blank '' if not needed].
    Color = {
        Label = '255, 255, 255',         -- Color of the message label text.
        Text = '255, 255, 255',          -- Color of the message text.
        TextStyleNormal = '255, 0, 0',   -- Color of the message text for Config.ChatStyle = 'styleNormal'.
        Background = '255, 0, 0, 0.9',   -- Color of the message background.
    },
}

--[[ Join/Leave Message ]]--
Config.JoinMessage = {
    Enable = true,                                 -- If false, the join message will be turned off.
    ShowOnJoin = true,                             -- true = show message when player joins from FiveM menu, false = show message when their character loads.
    UseDiscordRoles = true,                        -- If true, the player's Discord role will display before their name in the message label.
    Label = 'JOIN:',                               -- Label of the message in chat.
    Message = '%s is connecting to the server!',   -- Message that will appear in chat upon player connecting.
    Icon = 'fas fa-arrow-right-to-bracket',        -- Icon that will appear in the chat before the text [Leave blank '' if not needed].
    Color = {
        Label = '255, 255, 255',           -- Color of the message label text.
        Text = '255, 255, 255',            -- Color of the message text.
        TextStyleNormal = '21, 169, 60',   -- Color of the message text for Config.ChatStyle = 'styleNormal'.
        Background = '21, 169, 60, 0.9',   -- Color of the message background.
    },
    StaffCommand = false,   -- If true, only staff members from StaffGroups will be able to see this message.
    StaffGroups = {
        'superadmin',
        'admin',
        'mod',
    },
}

Config.LeaveMessage = {
    Enable = true,                              -- If false, the leave message will be turned off.
    UseDiscordRoles = true,                     -- If true, the player's Discord role will display before their name in the message label.
    Label = 'LEAVE:',                           -- Label of the message in chat.
    Message = '%s just left the server!',       -- Message that will appear in chat upon player leaving.
    Icon = 'fas fa-arrow-right-from-bracket',   -- Icon that will appear in the chat before the text [Leave blank '' if not needed].
    Color = {
        Label = '255, 255, 255',         -- Color of the message label text.
        Text = '255, 255, 255',          -- Color of the message text.
        TextStyleNormal = '255, 0, 0',   -- Color of the message text for Config.ChatStyle = 'styleNormal'.
        Background = '255, 0, 0, 0.9',   -- Color of the message background.
    },
    StaffCommand = false,   -- If true, only staff members from StaffGroups will be able to see this message.
    StaffGroups = {
        'superadmin',
        'admin',
        'mod',
    },
}

--[[ Special Commands ]]--
Config.DiceCommand = {
    Enable = true,            -- If false, this command will be turned off.
    UseDiscordRoles = true,   -- If true, the player's Discord role will display before their name in the message label.
    UseChatMessage = true,    -- If false and Use3dText.Enable is true, only 3D text will appear.
    Command = 'dice',         -- Command name.
    Label = 'DICE',           -- Label of the message in chat.
    Name = 'steamname',       -- Name that will be shown in chat [steamname, icname, icfirstname, icinitials, icsurname, playerid, playerjob].
    Icon = 'fas fa-dice',     -- Icon that will appear in the chat before the text [Leave blank '' if not needed].
    WaitTime = 2,             -- How long it takes to show the dice numbers [in seconds].
    Color = {
        Label = '255, 255, 255',            -- Color of the message label text.
        Text = '255, 255, 255',             -- Color of the message text.
        TextStyleNormal = '178, 98, 135',   -- Color of the message text for Config.ChatStyle = 'styleNormal'.
        Background = '178, 98, 135, 0.9',   -- Color of the message background.
    },
    Suggestion = {
        Enable = true,                                           -- If false, suggestions for this command will be disabled.
        Text = 'You will throw dice and it will land on 1-6.',   -- Text explaining the command.
    },
    Players = {
        Distance = 15,     -- Distance at which players will see this message.
        ShowName = true,   -- Show player name in chat?
    },
    Use3dText = {
        Enable = true,        -- If true, player message will display on their body with 3D text.
        Duration = 5,         -- Duration for how long the 3D text will be visible [in seconds].
        Background = false,   -- If true, there will be a background behind the 3D text.
        Color = {
            Text = {255, 255, 255, 215},     -- Color of the 3D text [r, g, b, opacity].
            Background = {25, 25, 25, 68},   -- Color of the 3D text background [r, g, b, opacity].
        },
    },
    DiscordLogs = {
        Enable = true,        -- If false, this Discord log will be disabled.
        Label = '/DICE',      -- Discord log label.
        Color = '11690631',   -- Color for the Discord embed message (decimal format). Convert hex to decimal: https://www.mathsisfun.com/hexadecimal-decimal-colors.html.
    },
}

Config.TryCommand = {
    Enable = true,            -- If false, this command will be turned off.
    UseDiscordRoles = true,   -- If true, the player's Discord role will display before their name in the message label.
    UseChatMessage = true,    -- If false and Use3dText.Enable is true, only 3D text will appear.
    Command = 'try',          -- Command name.
    Label = 'TRY',            -- Label of the message in chat.
    Name = 'steamname',       -- Name that will be shown in chat [steamname, icname, icfirstname, icinitials, icsurname, playerid, playerjob].
    Icon = 'fas fa-random',   -- Icon that will appear in the chat before the text [Leave blank '' if not needed].
    Color = {
        Label = '255, 255, 255',            -- Color of the message label text.
        Text = '255, 255, 255',             -- Color of the message text.
        TextStyleNormal = '215, 174, 38',   -- Color of the message text for Config.ChatStyle = 'styleNormal'.
        Background = '215, 174, 38, 0.9',   -- Color of the message background.
    },
    Suggestion = {
        Enable = true,                               -- If false, suggestions for this command will be disabled.
        Text = '50% chance on getting Yes or No.',   -- Text explaining the command.
    },
    Players = {
        Distance = 15,     -- Distance at which players will see this message.
        ShowName = true,   -- Show player name in chat?
    },
    Use3dText = {
        Enable = true,        -- If true, player message will display on their body with 3D text.
        Duration = 5,         -- Duration for how long the 3D text will be visible [in seconds].
        Background = false,   -- If true, there will be a background behind the 3D text.
        Color = {
            Text = {255, 255, 255, 215},     -- Color of the 3D text [r, g, b, opacity].
            Background = {25, 25, 25, 68},   -- Color of the 3D text background [r, g, b, opacity].
        },
    },
    DiscordLogs = {
        Enable = true,        -- If false, this Discord log will be disabled.
        Label = '/TRY',       -- Discord log label.
        Color = '11630631',   -- Color for the Discord embed message (decimal format). Convert hex to decimal: https://www.mathsisfun.com/hexadecimal-decimal-colors.html.
    },
}

Config.DocCommand = {
    Enable = true,             -- If false, you will turn off this command.
    UseDiscordRoles = true,    -- If true, the player's Discord role will display before their name in the message label.
    UseChatMessage = true,     -- If false and Use3dText.Enable is true, only 3D text will appear.
    Command = 'doc',           -- Command name.
    Label = 'DOC',             -- Label of the message in chat.
    Name = 'steamname',        -- Name that will be shown in chat [steamname, icname, icfirstname, icinitials, icsurname, playerid, playerjob].
    Icon = 'fas fa-list-ol',   -- Icon that will appear in the chat before the text [Leave blank '' if not needed].
    MaxNumber = 15,            -- Max number player can use.
    Color = {
        Label = '255, 255, 255',            -- Color of the message label text.
        Text = '255, 255, 255',             -- Color of the message text.
        TextStyleNormal = '29, 153, 198',   -- Color of the message text for Config.ChatStyle = 'styleNormal'.
        Background = '29, 153, 198, 0.9',   -- Color of the message background.
    },
    Suggestion = {
        Enable = true,                                                       -- If false, suggestions for this command will be disabled.
        Text = 'Type number and the chat will automatically count to it.',   -- Text explaining the command.
        Help = 'Message',                                                    -- Help text for the command.
        Info = 'Number you want to count to.',                               -- Info on the expected input.
    },
    Players = {
        Distance = 15,     -- Distance at which players will see this message.
        ShowName = true,   -- Show player name in chat?
    },
    Use3dText = {
        Enable = true,        -- If true, player message will display on their body with 3D text.
        Duration = 2,         -- Duration for how long each number in the 3D text will be visible [in seconds].
        Background = false,   -- If true, there will be a background behind the 3D text.
        Color = {
            Text = {255, 255, 255, 215},     -- Color of the 3D text [r, g, b, opacity].
            Background = {25, 25, 25, 68},   -- Color of the 3D text background [r, g, b, opacity].
        },
    },
    DiscordLogs = {
        Enable = true,       -- If false, this Discord log will be disabled.
        Label = '/DOC',      -- Discord log label.
        Color = '1939910',   -- Color for the Discord embed message (decimal format). Convert hex to decimal: https://www.mathsisfun.com/hexadecimal-decimal-colors.html.
    },
}

Config.StatusCommand = {
    Enable = true,                -- If false, you will turn off this command.
    UseDiscordRoles = true,       -- If true, the player's Discord role will display before their name in the message label.
    UseChatMessage = true,        -- If false and Use3dText.Enable is true, only 3D text will appear.
    Command = 'status',           -- Command name.
    CommandStop = 'stopstatus',   -- Command name to stop /status.
    Label = 'STATUS',             -- Label of the message in chat.
    Name = 'steamname',           -- Name that will be shown in chat [steamname, icname, icfirstname, icinitials, icsurname, playerid, playerjob].
    Icon = 'fas fa-signal',       -- Icon that will appear in the chat before the text [Leave blank '' if not needed].
    Color = {
        Label = '255, 255, 255',            -- Color of the message label text.
        Text = '255, 255, 255',             -- Color of the message text.
        TextStyleNormal = '215, 174, 38',   -- Color of the message text for Config.ChatStyle = 'styleNormal'.
        Background = '215, 174, 38, 0.9',   -- Color of the message background.
    },
    Suggestion = {
        Enable = true,                        -- If false, suggestions for this command will be disabled.
        Text = 'Your character status.',      -- Text explaining the command.
        Help = 'Message',                     -- Help text for the command.
        Info = 'For example - Broken Leg.',   -- Info on the expected input.
    },
    Players = {
        Distance = 15,     -- Distance at which players will see this message.
        ShowName = true,   -- Show player name in chat?
    },
    Use3dText = {
        Enable = true,        -- If true, player message will display on their body with 3D text.
        Background = false,   -- If true, there will be a background behind the 3D text.
        Color = {
            Text = {255, 255, 255, 215},     -- Color of the 3D text [r, g, b, opacity].
            Background = {25, 25, 25, 68},   -- Color of the 3D text background [r, g, b, opacity].
        },
    },
    DiscordLogs = {
        Enable = true,        -- If false, this Discord log will be disabled.
        Label = '/STATUS',    -- Discord log label.
        Color = '11690631',   -- Color for the Discord embed message (decimal format). Convert hex to decimal: https://www.mathsisfun.com/hexadecimal-decimal-colors.html.
    },
}

Config.HereCommand = {
    Enable = true,                 -- If false, you will turn off this command.
    UseDiscordRoles = true,        -- If true, the player's Discord role will display before their name in the message label.
    UseChatMessage = true,         -- If false and Use3dText.Enable is true, only 3D text will appear.
    Command = 'here',              -- Command name.
    CommandStop = 'stophere',      -- Command name to stop /here.
    Label = 'HERE',                -- Label of the message in chat.
    Name = 'steamname',            -- Name that will be shown in chat [steamname, icname, icfirstname, icinitials, icsurname, playerid, playerjob].
    Icon = 'fas fa-quote-right',   -- Icon that will appear in the chat before the text [Leave blank '' if not needed].
    Color = {
        Label = '255, 255, 255',            -- Color of the message label text.
        Text = '255, 255, 255',             -- Color of the message text.
        TextStyleNormal = '215, 174, 38',   -- Color of the message text for Config.ChatStyle = 'styleNormal'.
        Background = '215, 174, 38, 0.9',   -- Color of the message background.
    },
    Suggestion = {
        Enable = true,                                 -- If false, suggestions for this command will be disabled.
        Text = 'Status in your surrounding.',          -- Text explaining the command.
        Help = 'Message',                              -- Help text for the command.
        Info = 'For example - Blood on the ground.',   -- Info on the expected input.
    },
    Players = {
        Distance = 15,     -- Distance at which players will see this message.
        ShowName = true,   -- Show player name in chat?
    },
    Use3dText = {
        Enable = true,       -- If true, player message will display on their body with 3D text.
        Background = true,   -- If true, there will be a background behind the 3D text.
        Height = 0.19,       -- Height of 3D text.
        Color = {
            Text = {255, 255, 255, 215},     -- Color of the 3D text [r, g, b, opacity].
            Background = {25, 25, 25, 68},   -- Color of the 3D text background [r, g, b, opacity].
        },
    },

    DiscordLogs = {
        Enable = true,        -- If false, this Discord log will be disabled.
        Label = '/HERE',      -- Discord log label.
        Color = '16439866',   -- Color for the Discord embed message (decimal format). Convert hex to decimal: https://www.mathsisfun.com/hexadecimal-decimal-colors.html.
    },
}

--[[ Local Message ]]--
Config.LocalMessage = {
    Enable = true,                  -- If false, this message will be disabled.
    UseDiscordRoles = true,         -- If true, the player's Discord role will display before their name in the message label.
    Label = 'LOCAL',                -- Label of the message in chat.
    Name = 'steamname',             -- Name that will be shown in chat [steamname, icname, icfirstname, icinitials, icsurname, playerid, playerjob].
    Icon = 'fas fa-comment-dots',   -- Icon that will appear in the chat before the text [If you don't want to use it, leave it blank ''].
    Color = {
        Label = '255, 255, 255',             -- Color of the message label text.
        Text = '255, 255, 255',              -- Color of the message text.
        TextStyleNormal = '176, 176, 176',   -- Color of the message text for Config.ChatStyle = 'styleNormal'.
        Background = '176, 176, 176, 0.9',   -- Color of the message background.
    },
    Players = {
        Distance = 15,     -- Distance at which players will see this message.
        ShowName = true,   -- Show player name in chat?
    },
    DiscordLogs = {
        Enable = true,        -- If false, this Discord log will be disabled.
        Label = '/LOCAL',     -- Discord log label.
        Color = '11579568',   -- Color for the Discord embed message (decimal format). Convert hex to decimal: https://www.mathsisfun.com/hexadecimal-decimal-colors.html.
    },
}

--[[ Custom Commands ]]--
Config.Commands = {
    {
        Enable = true,            -- If false, this command will be disabled.
        UseDiscordRoles = true,   -- If true, the player's Discord role will display before their name in the message label.
        UseChatMessage = true,    -- If false and Use3dText.Enable is true, then only 3dText will appear.
        Command = 'me',           -- Command name.
        Name = 'steamname',       -- Name that will be shown in chat [steamname, icname, icfirstname, icinitials, icsurname, playerid, playerjob].
        Label = 'ME',             -- Label of the command in chat.
        Icon = 'fas fa-user',     -- Icon that will appear in the chat before the text [If you don't want to use it, leave it blank ''].
        Color = {
            Label = '255, 255, 255',            -- Color of the message label text.
            Text = '255, 255, 255',             -- Color of the message text.
            TextStyleNormal = '143, 40, 189',   -- Color of the message text for Config.ChatStyle = 'styleNormal'.
            Background = '143, 40, 189, 0.9',   -- Color of the message background.
        },
        Suggestion = {
            Enable = true,                                                                                   -- If false, suggestions for this command will be disabled.
            Text = 'Command to show specific player action.',                                                -- Text explaining the command.
            Help = 'Message',                                                                                -- Help text for the command.
            Info = 'Write here an action, for example - [Player is picking up a wrench from the ground].',   -- Info on the expected input.
        },
        Players = {
            Everyone = false,   -- Everyone on the server will see this message [turns off - Distance].
            ShowName = true,    -- Show player name in chat?
            Distance = 15,      -- Distance at which players will see this message.
        },
        Use3dText = {
            Enable = true,        -- If true, player message will display on their body with 3dText.
            Duration = 5,         -- Duration of how long the 3d text will be visible [in seconds].
            Background = false,   -- If true, there will be a background behind the 3d text.
            Color = {
                Text = {255, 255, 255, 215},     -- Color of the 3d text [r, g, b, opacity].
                Background = {25, 25, 25, 68},   -- Color of the 3d text background [r, g, b, opacity].
            },
        },
        Money = {
            TakeMoney = false,    -- If true, the player will need to pay to use this command.
            MoneyType = 'cash',   -- You can take player money from bank or cash ['cash', 'bank'].
            MoneyAmount = 250,    -- Amount of money that will be removed from the player upon posting this message.
        },
        -- Permissions
        Item = false,   -- If true, you will need an item to use this command.
        Items = { 
            'burger',
            'water',
        },
        Job = false,   -- If true, you will need to have a specific job to use this command.
        Jobs = {
            'police',
            'ambulance',
        },
        StaffCommand = false,   -- If true, only people with groups in StaffGroups will be able to use this command.
        StaffGroups = {
            'superadmin',
            'admin',
            'mod',
        },
        SpecifiedPlayers = false,   -- If true, only players whose licenses are in SpecifiedPlayersLicenses can use the command.
        SpecifiedPlayersLicenses = {
            'steam:11000011868e51c',
            'license:',
            'discord:',
            'license2:',
        },
        -- Logs
        DiscordLogs = {
            Enable = true,       -- If false, this Discord log will be disabled.
            Label = '/ME',       -- Discord log label.
            Color = '9382077',   -- Color for the Discord embed message (decimal format). Convert hex to decimal: https://www.mathsisfun.com/hexadecimal-decimal-colors.html.
        },
    },

    {
        Enable = true,
        UseDiscordRoles = true,
        UseChatMessage = true,
        Command = 'do',
        Name = 'steamname',
        Label = 'DO',
        Icon = 'fas fa-user',
        Color = {
            Label = '255, 255, 255',
            Text = '255, 255, 255',
            TextStyleNormal = '250, 218, 58',
            Background = '250, 218, 58, 0.9',
        },
        Suggestion = {
            Enable = true,
            Text = 'Command to show specific player action.',
            Help = 'Message',
            Info = 'Write here an action for example - [Player is picking wrench from the ground].',
        },
        Players = {
            Everyone = false,
            ShowName = true,
            Distance = 15,
        },
        Use3dText = {
            Enable = true,
            Duration = 5,
            Background = false,
            Color = {
                Text = {255, 255, 255, 215},
                Background = {25, 25, 25, 68},
            },
        },
        Money = {
            TakeMoney = false,
            MoneyType = 'cash',
            MoneyAmount = 250,
        },
        -- Permissions
        Item = false,
        Items = { 
            'burger',
            'water',
        },
        Job = false,
        Jobs = {
            'police',
            'ambulance',
        },
        StaffCommand = false,
        StaffGroups = {
            'superadmin',
            'admin',
            'mod',
        },
        SpecifiedPlayers = false,
        SpecifiedPlayersLicenses = {
            'steam:11000011868e51c',
            'license:',
            'discord:',
            'license2:',
        },
        -- Logs
        DiscordLogs = {
            Enable = true,
            Label = '/DO',
            Color = '16439866',
        },
    },

    {
        Enable = true,
        UseDiscordRoles = false,
        UseChatMessage = true,
        Command = 'police',
        Name = 'steamname',
        Label = 'POLICE:',
        Icon = 'fas fa-shield-halved',
        Color = {
            Label = '255, 255, 255',
            Text = '255, 255, 255',
            TextStyleNormal = '31, 136, 206',
            Background = '31, 136, 206, 0.9',
        },
        Suggestion = {
            Enable = true,
            Text = 'Everybody in the city will see this police announcement.',
            Help = 'Message',
            Info = 'This is an police announcement command only for police officers.',
        },
        Players = {
            Everyone = true,
            ShowName = false,
            Distance = 15,
        },
        Use3dText = {
            Enable = false,
            Duration = 5,
            Background = false,
            Color = {
                Text = {255, 255, 255, 215},
                Background = {25, 25, 25, 68},
            },
        },
        Money = {
            TakeMoney = false,
            MoneyType = 'cash',
            MoneyAmount = 250,
        },
        -- Permissions
        Item = false,
        Items = { 
            'burger',
            'water',
        },
        Job = true,
        Jobs = {
            'police',
        },
        StaffCommand = false,
        StaffGroups = {
            'superadmin',
            'admin',
            'mod',
        },
        SpecifiedPlayers = false,
        SpecifiedPlayersLicenses = {
            'steam:11000011868e51c',
            'license:',
            'discord:',
            'license2:',
        },
        -- Logs
        DiscordLogs = {
            Enable = true,
            Label = '/POLICE',
            Color = '2066638',
        },
    },

    {
        Enable = true,
        UseDiscordRoles = false,
        UseChatMessage = true,
        Command = 'twt',
        Name = 'icname',
        Label = 'TWITTER',
        Icon = 'fa-brands fa-twitter',
        Color = {
            Label = '255, 255, 255',
            Text = '255, 255, 255',
            TextStyleNormal = '0, 172, 238',
            Background = '0, 172, 238, 0.9',
        },
        Suggestion = {
            Enable = true,
            Text = 'Everybody in the city will see this twitter message.',
            Help = 'Message',
            Info = 'This is an twitter message.',
        },
        Players = {
            Everyone = true,
            ShowName = true,
            Distance = 15,
        },
        Use3dText = {
            Enable = false,
            Duration = 5,
            Background = false,
            Color = {
                Text = {255, 255, 255, 215},
                Background = {25, 25, 25, 68},
            },
        },
        Money = {
            TakeMoney = false,
            MoneyType = 'cash',
            MoneyAmount = 250,
        },
        -- Permissions
        Item = false,
        Items = { 
            'phone',
        },
        Job = false,
        Jobs = {
            'police',
            'ambulance',
        },
        StaffCommand = false,
        StaffGroups = {
            'superadmin',
            'admin',
            'mod',
        },
        SpecifiedPlayers = false,
        SpecifiedPlayersLicenses = {
            'steam:11000011868e51c',
            'license:',
            'discord:',
            'license2:',
        },
        -- Logs
        DiscordLogs = {
            Enable = true,
            Label = '/TWT',
            Color = '44270',
        },
    },

    {
        Enable = true,
        UseDiscordRoles = true,
        UseChatMessage = true,
        Command = 'ad',
        Name = 'steamname',
        Label = 'AD:',
        Icon = 'fas fa-rectangle-ad',
        Color = {
            Label = '255, 255, 255',
            Text = '255, 255, 255',
            TextStyleNormal = '249, 196, 77',
            Background = '249, 196, 77, 0.9',
        },
        Suggestion = {
            Enable = true,
            Text = 'Everybody in the city will see this advertisement.',
            Help = 'Message',
            Info = 'This is an advertisement that costs $250.',
        },
        Players = {
            Everyone = true,
            ShowName = false,
            Distance = 15,
        },
        Use3dText = {
            Enable = false,
            Duration = 5,
            Background = false,
            Color = {
                Text = {255, 255, 255, 215},
                Background = {25, 25, 25, 68},
            },
        },
        Money = {
            TakeMoney = true,
            MoneyType = 'cash',
            MoneyAmount = 250,
        },
        -- Permissions
        Item = false,
        Items = { 
            'burger',
            'water',
        },
        Job = false,
        Jobs = {
            'police',
            'ambulance',
        },
        StaffCommand = false,
        StaffGroups = {
            'superadmin',
            'admin',
            'mod',
        },
        SpecifiedPlayers = false,
        SpecifiedPlayersLicenses = {
            'steam:11000011868e51c',
            'license:',
            'discord:',
            'license2:',
        },
        -- Logs
        DiscordLogs = {
            Enable = true,
            Label = '/AD',
            Color = '16368717',
        },
    },

    {
        Enable = true,
        UseDiscordRoles = false,
        UseChatMessage = true,
        Command = 'jobad',
        Name = 'playerjob',
        Label = 'AD',
        Icon = 'fas fa-rectangle-ad',
        Color = {
            Label = '255, 255, 255',
            Text = '255, 255, 255',
            TextStyleNormal = '249, 196, 77',
            Background = '249, 196, 77, 0.9',
        },
        Suggestion = {
            Enable = true,
            Text = 'Everybody in the city will see this advertisement.',
            Help = 'Message',
            Info = 'This is an advertisement that costs $250.',
        },
        Players = {
            Everyone = true,
            ShowName = true,
            Distance = 15,
        },
        Use3dText = {
            Enable = true,
            Duration = 5,
            Background = false,
            Color = {
                Text = {255, 255, 255, 215},
                Background = {25, 25, 25, 68},
            },
        },
        Money = {
            TakeMoney = true,
            MoneyType = 'cash',
            MoneyAmount = 250,
        },
        -- Permissions
        Item = false,
        Items = { 
            'burger',
            'water',
        },
        Job = false,
        Jobs = {
            'police',
            'ambulance',
        },
        StaffCommand = false,
        StaffGroups = {
            'superadmin',
            'admin',
            'mod',
        },
        SpecifiedPlayers = false,
        SpecifiedPlayersLicenses = {
            'steam:11000011868e51c',
            'license:',
            'discord:',
            'license2:',
        },
        -- Logs
        DiscordLogs = {
            Enable = true,
            Label = '/JOBAD',
            Color = '16368717',
        },
    },

    {
        Enable = true,
        UseDiscordRoles = true,
        UseChatMessage = true,
        Command = 'ooc',
        Name = 'steamname',
        Label = 'OOC',
        Icon = 'fas fa-comment-dots',
        Color = {
            Label = '255, 255, 255',
            Text = '255, 255, 255',
            TextStyleNormal = '176, 176, 176',
            Background = '176, 176, 176, 0.9',
        },
        Suggestion = {
            Enable = true,
            Text = 'OOC message.',
            Help = 'Message',
            Info = 'OOC message that everybody in the server will see.',
        },
        Players = {
            Everyone = true,
            ShowName = true,
            Distance = 15,
        },
        Use3dText = {
            Enable = false,
            Duration = 5,
            Background = false,
            Color = {
                Text = {255, 255, 255, 215},
                Background = {25, 25, 25, 68},
            },
        },
        Money = {
            TakeMoney = false,
            MoneyType = 'cash',
            MoneyAmount = 250,
        },
        -- Permissions
        Item = false,
        Items = { 
            'burger',
            'water',
        },
        Job = false,
        Jobs = {
            'police',
            'ambulance',
        },
        StaffCommand = false,
        StaffGroups = {
            'superadmin',
            'admin',
            'mod',
        },
        SpecifiedPlayers = false,
        SpecifiedPlayersLicenses = {
            'steam:11000011868e51c',
            'license:',
            'discord:',
            'license2:',
        },
        -- Logs
        DiscordLogs = {
            Enable = true,
            Label = '/OOC',
            Color = '11579568',
        },
    },
}

--[[ Job Chat ]]--
Config.JobChat = {
    {
        Enable = true,            -- If false, this job chat will be disabled.
        UseDiscordRoles = true,   -- If true, the player's Discord role will display before their name in the message label.
        Command = 'pdchat',       -- Command name.
        Name = 'steamname',       -- Name that will be shown in chat [steamname, icname, icfirstname, icinitials, icsurname, playerid, playerjob].
        Label = 'Police Chat',    -- Label of the message in chat.
        Jobs = {                  -- Job that will see this message.
            'police',
        },
        Icon = 'fas fa-shield-halved',   -- Icon that will appear in the chat before the text [If you don't want to use it, leave it blank ('')].
        Color = {
            Label = '255, 255, 255',            -- Color of the message label text.
            Text = '255, 255, 255',             -- Color of the message text.
            TextStyleNormal = '15, 108, 234',   -- Color of the message text for Config.ChatStyle = 'styleNormal'.
            Background = '15, 108, 234, 0.9',   -- Color of the message background.
        },
        Suggestion = {
            Enable = true,                                                                 -- If false, suggestions for this command will be disabled.
            Text = 'Police chat command',                                                  -- Text explaining the command.
            Help = 'Message',                                                              -- Help text for the command.
            Info = 'Only players with the police job will be able to see your message.',   -- Info on the expected input.
        },
        -- Logs
        DiscordLogs = {
            Enable = true,           -- If false, this Discord log will be disabled.
            Label = 'POLICE CHAT',   -- Discord log label.
            Color = '1010922',       -- Color for the Discord embed message (decimal format). Convert hex to decimal: https://www.mathsisfun.com/hexadecimal-decimal-colors.html.
        },
    },

    {
        Enable = true,
        UseDiscordRoles = true,
        Command = 'emschat',
        Name = 'steamname',
        Label = 'Ambulance Chat',
        Jobs = {
            'ambulance',
        },
        Icon = 'fas fa-shield-halved',
        Color = {
            Label = '255, 255, 255',
            Text = '255, 255, 255',
            TextStyleNormal = '177, 0, 0',
            Background = '177, 0, 0, 0.9',
        },
        Suggestion = {
            Enable = true,
            Text = 'Ambulance chat command',
            Help = 'Message',
            Info = 'Only people that have ambulance job will be able to see your message.',
        },
        -- Logs
        DiscordLogs = {
            Enable = true,
            Label = 'AMBULANCE CHAT',
            Color = '16711680',
        },
    },
}

--[[ Announcements ]]--
Config.Announcements = {
    {
        Enable = false,                                           -- If false, this announcement will be disabled.
        Icon = 'fa-brands fa-discord',                            -- Icon from FontAwesome. You can change it to any valid icon. [https://fontawesome.com/icons]
        Label = 'Discord:',                                       -- Label of the announcement.
        Message = 'Join our discord! - discord.gg/yourdiscord',   -- Text of the announcement.
        Time = 2,                                                 -- The frequency at which the announcement will be sent (in minutes).
        Color = {
            Label = '255, 255, 255',           -- Color of the message label text.
            Text = '255, 255, 255',            -- Color of the message text.
            TextStyleNormal = '86, 99, 247',   -- Color of the message text for Config.ChatStyle = 'styleNormal'.
            Background = '86, 99, 247, 0.9',   -- Color of the message background.
        },
    },

    {
        Enable = false,
        Icon = 'fa-solid fa-circle-exclamation',
        Label = 'Server:',
        Message = 'If you need help with anything create a /report!',
        Time = 5,
        Color = {
            Label = '255, 255, 255',
            Text = '255, 255, 255',
            TextStyleNormal = '255, 0, 0',
            Background = '255, 0, 0, 0.9'
        },
    },
}
```

{% endtab %}

{% tab title="DISCORD WEBHOOKS" %}
**You can find this here:** \
\&#xNAN;*`fivecode_rpchat/sv_utils`*

```lua
-- DISCORD ROLES --

BotToken = '' -- Your discord bot token[must be in your server - serverId] - https://discord.com/developers/applications.
ServerId = '' -- Your discord server id.


-- DISCORD WEBHOOKS --

--  Commands webhook.
ChatCommandWebhookLink = ''

-- Job Chat webhook.
JobChatWebhookLink = ''

-- Report webhook.
ReportsWebhookLink = ''

-- Private Message webhook.
PrivateMessageWebhookLink = ''

-- Private Message webhook.
AdminChatWebhookLink = ''

-- Blacklister words Message webhook.
BlacklistedWordsWebhookLink = ''

-- Chat cooldown webhook.
CoolDownWordsWebhookLink = ''

CustomStyle = '<div style="color: rgb({4}); background-color: rgb({6}); margin: 0.3vw; padding: 0.5vw; word-break: break-all; border: 1px solid rgba({5}); border-radius: 5px; box-shadow: 2px 2px 5px rgba({5}, 0.5);"> <i class="{3}" style="margin-right: 0.3vw;"></i> <span style="font-size: 14px; font-weight: bold; text-shadow: 1px 1px 1px #000;">{0} | {2}</span> <span style="font-size: 12px; color: rgb({5}); text-shadow: 1px 1px 1px #000;">{1}</span> </div>'
-- {0} - label, {1} - message, {2} - name, {3} - icon, {4} - label color, {5} - message color, {6} - background color, {7} - background gradient, {8} - current time, {9} - primate message txt, {10} - player name, {11} - player id, {12} - discord role name, {13} - discord role color.
```

{% endtab %}

{% tab title="LOCALES" %}

<details>

<summary>en</summary>

```lua
Locales['en'] = {
    -- Other
    ['text_after_name'] = ':', -- You can add for example : and it will show like this: 'Local | Name[text] message' in chat.
    ['chat_not_valid_command'] = 'This is not an valid command!',
    ['chat_empty_message'] = 'You cant send an empty message!',
    ['chat_need_specific_item'] = 'To use this command you need a specific item!',
    ['chat_need_specific_job'] = 'To use this command you need a specific job!',
    ['chat_need_specific_job_jobchat'] = 'You need to have a specific job to use this command!',
    ['chat_need_specific_group'] = 'To use this command you need a specific player group!',
    ['chat_need_specific_whitelist'] = 'To use this command you need to be on a command whitelist!',
    ['chat_money_pay'] = 'You just spend $%s on a chat message.',
    ['chat_money_missing'] = 'You dont have enough money, you are missing: $%s',
    ['ingame_log_online'] = 'The player whose chat log you tried to view is not online!',
    -- Spam
    ['spam_timeout_slow_down'] = 'Slow down with the messages!',
    ['spam_wait_before_sending'] = 'Wait couple seconds before sending another message!',
    ['spam_timeout_ended'] = 'Your timeout just ended!',
    ['spam_caught_multiple_times'] = 'You have been caught spamming multiple times!',
    ['spam_caught_multiple_times_logs'] = 'PLAYER HAS BEEN CAUGHT SPAMMING MULTIPLE TIMES AND NOW IS MUTED FOR %s SECONDS',
    -- Blacklist
    ['blacklisted_word'] = 'You used a blacklisted word!',
    -- Discord Logs
    ['discord_logs_message'] = 'Message:',
    ['discord_logs_player_name'] = 'Player Name:',
    ['discord_logs_player_id'] = 'Player Id:',
    ['discord_logs_player_discord'] = 'Player Discord:',
    ['discord_logs_player_char'] = 'Player Char:',
    ['discord_logs_player_receiver'] = 'Message receiver:',
    ['discord_logs_player_sender'] = 'Message sender:',
    -- /Report
    ['report_wait'] = 'You can send new report every %s minutes!',
    ['report_send'] = 'You just send report to all active admins!',
    ['report_can_send'] = 'You can send new report now!',
    ['report_player_name'] = 'Player Name:',
    ['report_player_id'] = 'Player ID:',
    ['report_message'] = 'Message:',
    -- /Dice
    ['dice_throwing'] = 'Throwing dice...',
    ['dice_landed'] = 'Dice landed on %s!',
    ['dice_already_rolling'] = 'You cant roll dice twice!',
    -- /Try
    ['try_yes'] = 'Yes',
    ['try_no'] = 'No',
    ['try_cooldown'] = 'You cant use /%s while you have chat cooldown!',
    -- /Doc
    ['doc_only_numbers'] = 'You cant send letters or use spaces, use only numbers!',
    ['doc_max_number'] = 'You cant use higher number than %s!',
    ['doc_lowest_number'] = 'You cant use number lower than 2!',
    ['doc_active'] = 'You cant have two active /%s!',
    -- /Status
    ['status_status'] = 'STATUS:',
    ['status_no_status'] = 'You dont have an active /%s!',
    ['status_stopped'] = 'You just stopped your /%s.',
    ['status_limit'] = 'You can only have one active /%s!',
    -- /Here
    ['here_no_status'] = 'You dont have an active /%s!',
    ['here_stopped'] = 'You just stopped your /%s.',
    ['here_limit'] = 'You can only have one active /%s!',
    -- /Pm
    ['pm_yourself'] = 'You cant send private message to yourself!',
    ['pm_not_online'] = 'Player you tried to send the message is not online!',
    ['pm_send'] = 'You just send a private message to : %s (id - %s).',
    ['pm_from'] = 'From: %s (id - %s)',
    ['pm_message'] = 'Message: %s',
    ['pm_playerid'] = 'First value needs to be player id [number].',
    -- Ingame logs
    ['ingamelog_current'] = 'Current',
    ['ingamelog_current_messages'] = 'Current Messages',
    ['ingamelog_message_log'] = 'Message Log',
    ['ingamelog_written_messages'] = 'Players messages written in the current season.',
    ['ingamelog_blacklisted_message'] = 'Player used a blacklisted word!',
    ['ingamelog_nocurrent_messages'] = 'No current messages.',
    ['ingamelog_blacklisted_word'] = 'Blacklisted word',
}
```

</details>

<details>

<summary>de</summary>

```lua
Locales['de'] = {
    -- Sonstiges
    ['text_after_name'] = '', -- Du kannst zum Beispiel hinzufügen: und es wird so angezeigt: 'Lokal | Name[Nachricht]' im Chat.
    ['chat_not_valid_command'] = 'Dies ist kein gültiger Befehl!',
    ['chat_empty_message'] = 'Du kannst keine leere Nachricht senden!',
    ['chat_need_specific_item'] = 'Um diesen Befehl zu verwenden, benötigst du einen bestimmten Gegenstand!',
    ['chat_need_specific_job'] = 'Um diesen Befehl zu verwenden, benötigst du einen bestimmten Beruf!',
    ['chat_need_specific_job_jobchat'] = 'Sie müssen einen bestimmten Job haben, um diesen Befehl verwenden zu können!',
    ['chat_need_specific_group'] = 'Um diesen Befehl zu verwenden, musst du einer bestimmten Spielergruppe angehören!',
    ['chat_need_specific_whitelist'] = 'Um diesen Befehl zu verwenden, musst du auf einer Befehls-Whitelist stehen!',
    ['chat_money_pay'] = 'Du hast gerade $%s für eine Chat-Nachricht ausgegeben.',
    ['chat_money_missing'] = 'Du hast nicht genug Geld, es fehlen: $%s',
    -- Spam
    ['spam_timeout_slow_down'] = 'Verringere die Geschwindigkeit der Nachrichten!',
    ['spam_wait_before_sending'] = 'Warte einige Sekunden, bevor du eine weitere Nachricht sendest!',
    ['spam_timeout_ended'] = 'Deine Zeitstrafe ist gerade abgelaufen!',
    ['spam_caught_multiple_times'] = 'Du wurdest mehrmals beim Spamming erwischt!',
    ['spam_caught_multiple_times_logs'] = 'SPIELER WURDE MEHRMALS BEIM SPAMMING ERWISCHT UND IST JETZT FÜR %s SEKUNDEN STUMMGESCHALTET',
    -- Schwarze Liste
    ['blacklisted_word'] = 'Du hast ein Wort auf der schwarzen Liste verwendet!',
    -- Discord-Protokolle
    ['discord_logs_message'] = 'Nachricht:',
    ['discord_logs_player_name'] = 'Spielername:',
    ['discord_logs_player_id'] = 'Spieler-ID:',
    ['discord_logs_player_discord'] = 'Spieler-Discord:',
    ['discord_logs_player_char'] = 'Spielerchar:',
    ['discord_logs_player_receiver'] = 'Nachrichtenempfänger:',
    ['discord_logs_player_sender'] = 'Nachrichtenabsender:',
    -- /Melden
    ['report_wait'] = 'Du kannst alle %s Minuten einen neuen Bericht senden!',
    ['report_send'] = 'Du hast gerade einen Bericht an alle aktiven Administratoren gesendet!',
    ['report_can_send'] = 'Du kannst jetzt einen neuen Bericht senden!',
    ['report_player_name'] = 'Spielername:',
    ['report_player_id'] = 'Spieler-ID:',
    ['report_message'] = 'Nachricht:',
    -- /Würfeln
    ['dice_throwing'] = 'Würfel werden geworfen...',
    ['dice_landed'] = 'Der Würfel ist auf %s gelandet!',
    ['dice_already_rolling'] = 'Du kannst den Würfel nicht zweimal werfen!',
    -- /Versuch
    ['try_yes'] = 'Ja',
    ['try_no'] = 'Nein',
    ['try_cooldown'] = 'Du kannst /%s nicht verwenden, während du eine Chat-Sperrfrist hast!',
    -- /Dok
    ['doc_only_numbers'] = 'Du kannst keine Buchstaben verwenden oder Leerzeichen einfügen, verwende nur Zahlen!',
    ['doc_max_number'] = 'Du kannst keine höhere Zahl als %s verwenden!',
    ['doc_lowest_number'] = 'Du kannst keine Zahl kleiner als 2 verwenden!',
    ['doc_active'] = 'Du kannst nicht zwei aktive /%s gleichzeitig haben!',
    -- /Status
    ['status_status'] = 'STATUS:',
    ['status_no_status'] = 'Du hast keinen aktiven /%s!',
    ['status_stopped'] = 'Du hast gerade deinen /%s gestoppt.',
    ['status_limit'] = 'Du kannst nur einen aktiven /%s haben!',
    -- /Hier
    ['here_no_status'] = 'Du hast keinen aktiven /%s!',
    ['here_stopped'] = 'Du hast gerade deinen /%s gestoppt.',
    ['here_limit'] = 'Du kannst nur einen aktiven /%s haben!',
    -- /Pm (Private Nachricht)
    ['pm_yourself'] = 'Du kannst keine private Nachricht an dich selbst senden!',
    ['pm_not_online'] = 'Der Spieler, dem du die Nachricht senden wolltest, ist nicht online!',
    ['pm_send'] = 'Du hast gerade eine private Nachricht an: %s (ID - %s) gesendet.',
    ['pm_from'] = 'Von: %s (ID - %s)',
    ['pm_message'] = 'Nachricht: %s',
    ['pm_playerid'] = 'Der erste Wert muss die Spieler-ID sein [Zahl].',
    -- Spielprotokolle
    ['ingamelog_current'] = 'Aktuell',
    ['ingamelog_current_messages'] = 'Aktuelle Nachrichten',
    ['ingamelog_message_log'] = 'Nachrichtenprotokoll',
    ['ingamelog_written_messages'] = 'Nachrichten von Spielern, die in der aktuellen Saison geschrieben wurden.',
    ['ingamelog_blacklisted_message'] = 'Spieler hat ein Wort auf der schwarzen Liste verwendet!',
    ['ingamelog_nocurrent_messages'] = 'Keine aktuellen Nachrichten.',
    ['ingamelog_blacklisted_word'] = 'Wort auf der schwarzen Liste',
}
```

</details>

<details>

<summary>es</summary>

```lua
Locales['es'] = {
    -- Otros
    ['text_after_name'] = '', -- Puedes agregar, por ejemplo: y se mostrará de esta manera: 'Local | Nombre[mensaje] en el chat'.
    ['chat_not_valid_command'] = '¡Este no es un comando válido!',
    ['chat_empty_message'] = 'No puedes enviar un mensaje vacío.',
    ['chat_need_specific_item'] = 'Para usar este comando necesitas un objeto específico.',
    ['chat_need_specific_job'] = 'Para usar este comando necesitas un trabajo específico.',
    ['chat_need_specific_job_jobchat'] = '¡Necesitas tener un trabajo específico para usar este comando!',
    ['chat_need_specific_group'] = 'Para usar este comando necesitas pertenecer a un grupo específico de jugadores.',
    ['chat_need_specific_whitelist'] = 'Para usar este comando, debes estar en una lista blanca de comandos.',
    ['chat_money_pay'] = 'Acabas de gastar $%s en un mensaje de chat.',
    ['chat_money_missing'] = 'No tienes suficiente dinero, te faltan: $%s.',
    -- Spam
    ['spam_timeout_slow_down'] = '¡Disminuye la velocidad de los mensajes!',
    ['spam_wait_before_sending'] = 'Espera unos segundos antes de enviar otro mensaje.',
    ['spam_timeout_ended'] = 'Tu tiempo de espera acaba de terminar.',
    ['spam_caught_multiple_times'] = 'Has sido atrapado enviando spam varias veces.',
    ['spam_caught_multiple_times_logs'] = 'EL JUGADOR HA SIDO ATRAPADO ENVIANDO SPAM VARIAS VECES Y AHORA ESTÁ SILENCIADO POR %s SEGUNDOS.',
    -- Lista negra
    ['blacklisted_word'] = 'Has utilizado una palabra en la lista negra.',
    -- Registros de Discord
    ['discord_logs_message'] = 'Mensaje:',
    ['discord_logs_player_name'] = 'Nombre del jugador:',
    ['discord_logs_player_id'] = 'ID del jugador:',
    ['discord_logs_player_discord'] = 'Discord del jugador:',
    ['discord_logs_player_char'] = 'Personaje del jugador:',
    ['discord_logs_player_receiver'] = 'Receptor del mensaje:',
    ['discord_logs_player_sender'] = 'Remitente del mensaje:',
    -- /Reportar
    ['report_wait'] = '¡Puedes enviar un nuevo reporte cada %s minutos!',
    ['report_send'] = 'Acabas de enviar un reporte a todos los administradores activos.',
    ['report_can_send'] = 'Puedes enviar un nuevo reporte ahora.',
    ['report_player_name'] = 'Nombre del jugador:',
    ['report_player_id'] = 'ID del jugador:',
    ['report_message'] = 'Mensaje:',
    -- /Dados
    ['dice_throwing'] = 'Lanzando los dados...',
    ['dice_landed'] = 'Los dados cayeron en %s.',
    ['dice_already_rolling'] = '¡No puedes lanzar los dados dos veces!',
    -- /Intentar
    ['try_yes'] = 'Sí',
    ['try_no'] = 'No',
    ['try_cooldown'] = 'No puedes usar /%s mientras tienes un enfriamiento en el chat.',
    -- /Documento
    ['doc_only_numbers'] = 'No puedes enviar letras ni usar espacios, ¡usa solo números!',
    ['doc_max_number'] = 'No puedes usar un número más alto que %s.',
    ['doc_lowest_number'] = 'No puedes usar un número menor que 2.',
    ['doc_active'] = '¡No puedes tener dos /%s activos a la vez!',
    -- /Estado
    ['status_status'] = 'ESTADO:',
    ['status_no_status'] = 'No tienes un /%s activo.',
    ['status_stopped'] = 'Acabas de detener tu /%s.',
    ['status_limit'] = 'Solo puedes tener un /%s activo a la vez.',
    -- /Aquí
    ['here_no_status'] = 'No tienes un /%s activo.',
    ['here_stopped'] = 'Acabas de detener tu /%s.',
    ['here_limit'] = 'Solo puedes tener un /%s activo a la vez.',
    -- /Mp (Mensaje privado)
    ['pm_yourself'] = '¡No puedes enviar mensajes privados a ti mismo!',
    ['pm_not_online'] = 'El jugador al que intentaste enviar el mensaje no está en línea.',
    ['pm_send'] = 'Acabas de enviar un mensaje privado a: %s (ID - %s).',
    ['pm_from'] = 'De: %s (ID - %s)',
    ['pm_message'] = 'Mensaje: %s',
    ['pm_playerid'] = 'El primer valor debe ser el ID del jugador [número].',
    -- Registros del juego
    ['ingamelog_current'] = 'Actual',
    ['ingamelog_current_messages'] = 'Mensajes Actuales',
    ['ingamelog_message_log'] = 'Registro de Mensajes',
    ['ingamelog_written_messages'] = 'Mensajes de jugadores escritos en la temporada actual.',
    ['ingamelog_blacklisted_message'] = '¡El jugador utilizó una palabra en la lista negra!',
    ['ingamelog_nocurrent_messages'] = 'No hay mensajes actuales.',
    ['ingamelog_blacklisted_word'] = 'Palabra en la lista negra',
}
```

</details>

<details>

<summary>cs</summary>

```lua
Locales['cs'] = {
    -- Ostatní
    ['text_after_name'] = '', -- Můžeš přidat například ':' a bude se to zobrazovat jako - 'Místní | Jméno[:]' v chatu.
    ['chat_not_valid_command'] = 'Toto není platný příkaz!',
    ['chat_empty_message'] = 'Nemůžeš poslat prázdnou zprávu!',
    ['chat_need_specific_item'] = 'Pro použití tohoto příkazu potřebuješ konkrétní položku!',
    ['chat_need_specific_job'] = 'Pro použití tohoto příkazu potřebuješ konkrétní povolání!',
    ['chat_need_specific_job_jobchat'] = 'Pro použití tohoto příkazu potřebuješ špecifický povolání!',
    ['chat_need_specific_group'] = 'Pro použití tohoto příkazu potřebuješ konkrétní hráčskou skupinu!',
    ['chat_need_specific_whitelist'] = 'Pro použití tohoto příkazu musíš být na whitelistu příkazů!',
    ['chat_money_pay'] = 'Právě jsi utratil $%s za chatovou zprávu.',
    ['chat_money_missing'] = 'Nemáš dostatek peněz, chybí ti: $%s',
    -- Spam
    ['spam_timeout_slow_down'] = 'Zpomal s těmi zprávami!',
    ['spam_wait_before_sending'] = 'Před odesláním další zprávy počkej několik sekund!',
    ['spam_timeout_ended'] = 'Tvůj timeout právě skončil!',
    ['spam_caught_multiple_times'] = 'Byl jsi chycen, že spamuješ vícekrát!',
    ['spam_caught_multiple_times_logs'] = 'HRÁČ BYL CHYCEN PŘI SPAMOVÁNÍ VÍCEKRÁT A NYNÍ JE UMLOUVA PO DOBU %s SEKUND',
    -- Blacklist
    ['blacklisted_word'] = 'Použil jsi slovo na černé listině!',
    -- Discord Logy
    ['discord_logs_message'] = 'Zpráva:',
    ['discord_logs_player_name'] = 'Jméno hráče:',
    ['discord_logs_player_id'] = 'ID hráče:',
    ['discord_logs_player_discord'] = 'Discord hráče:',
    ['discord_logs_player_char'] = 'Char hráče:',
    ['discord_logs_player_receiver'] = 'Příjemce zprávy:',
    ['discord_logs_player_sender'] = 'Odesílatel zprávy:',
    -- /Nahlásit
    ['report_wait'] = 'Můžeš poslat novou zprávu každých %s minut!',
    ['report_send'] = 'Právě jsi odeslal zprávu všem aktivním adminům!',
    ['report_can_send'] = 'Nyní můžeš odeslat novou zprávu!',
    ['report_player_name'] = 'Jméno hráče:',
    ['report_player_id'] = 'ID hráče:',
    ['report_message'] = 'Zpráva:',
    -- /Kostky
    ['dice_throwing'] = 'Kostkou se hází...',
    ['dice_landed'] = 'Kostka padla na %s!',
    ['dice_already_rolling'] = 'Nemůžeš házet kostkou dvakrát!',
    -- /Zkusit
    ['try_yes'] = 'Ano',
    ['try_no'] = 'Ne',
    ['try_cooldown'] = 'Nemůžeš používat /%s, pokud máš cooldown na chatu!',
    -- /Dok
    ['doc_only_numbers'] = 'Nemůžeš posílat písmena nebo používat mezery, používej pouze čísla!',
    ['doc_max_number'] = 'Nesmíš použít vyšší číslo než %s!',
    ['doc_lowest_number'] = 'Nesmíš použít číslo menší než 2!',
    ['doc_active'] = 'Nemůžeš mít dvě aktivní /%s současně!',
    -- /Status
    ['status_status'] = 'STAV:',
    ['status_no_status'] = 'Nemáš aktivní /%s!',
    ['status_stopped'] = 'Právě jsi zastavil svůj /%s.',
    ['status_limit'] = 'Můžeš mít pouze jeden aktivní /%s!',
    -- /Zde
    ['here_no_status'] = 'Nemáš aktivní /%s!',
    ['here_stopped'] = 'Právě jsi zastavil svůj /%s.',
    ['here_limit'] = 'Můžeš mít pouze jeden aktivní /%s!',
    -- /Osobní zpráva
    ['pm_yourself'] = 'Nemůžeš posílat osobní zprávu sám sobě!',
    ['pm_not_online'] = 'Hráč, kterému jsi chtěl poslat zprávu, není online!',
    ['pm_send'] = 'Právě jsi odeslal osobní zprávu hráči: %s (ID - %s).',
    ['pm_from'] = 'Od: %s (ID - %s)',
    ['pm_message'] = 'Zpráva: %s',
    ['pm_playerid'] = 'První hodnota musí být ID hráče [číslo].',
    -- Herní protokoly
    ['ingamelog_current'] = 'Aktuální',
    ['ingamelog_current_messages'] = 'Aktuální zprávy',
    ['ingamelog_message_log'] = 'Log zpráv',
    ['ingamelog_written_messages'] = 'Zprávy hráče napsané v aktuálním období.',
    ['ingamelog_blacklisted_message'] = 'Hráč použil zakázané slovo!',
    ['ingamelog_nocurrent_messages'] = 'Žádné aktuální zprávy.',
    ['ingamelog_blacklisted_word'] = 'Zakázané slovo',
}
```

</details>
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://fivecode.gitbook.io/docs/scripts/fivecode-roleplay-chat/config-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
