shared/config.lua

-- | # For the most quality and unique FiveM resources: https://thug-studios.com
-- | # If you need help, join our Discord server: https://discord.gg/thugstudios

Config = {}

-- | # Main Settings ------------------------------------------------------------------------------------

Config.Settings = {
    ['Framework'] = 'standalone', -- | # In this section you have the options 'standalone', 'esx', 'old-esx', 'qb', 'old-qb', 'qbox'
    ['SQL'] = 'oxmysql', -- | # In this section you have the options 'oxmysql', 'mysql-async'
    ['Database_Location'] = 'data/settings.json', -- | # Please do not change this part!
    ['Menu_Command'] = { Enabled = true, Command = 'killfeed' }, -- | #  If the command is disabled, you can open the menu using: exports['thug-killfeed-plus']:Open_Menu()
}

-- | # Player Display Settings ------------------------------------------------------------------------------------

Config.Player_Display = {
    ['Name_Type'] = 'steam', -- | # In this section you have the options 'steam', 'charname', 'custom'
    ['PP_Type'] = 'steam', -- | # In this section you have the options 'steam', 'custom'
    ['Default_Player_Photo'] = 'https://r2.fivemanage.com/joApNJ6oFdwgvtS4a4Rc8/ThugLogo.png', -- | # Default photo URL when player photo cannot be fetched
}

-- | # Proximity Settings ------------------------------------------------------------------------------------
-- | If enabled, killfeed notifications will only be shown to players within the specified distance.

Config.Proximity_System = {
    ['Enabled'] = true,
    ['Distance'] = 200.0,
}

-- | # Default Player Settings ------------------------------------------------------------------------------------
-- | These are the default killfeed settings for players joining the server for the first time without any saved data.

Config.Default_Player_Settings = {
    ['Settings'] = {
        Streak = true,
        Distance = true,
        Streamer_Mode = false
    },
    ['Killfeed'] = {
        Status = true,
        Type = 1
    },
    ['Customize'] = {
        Color = '#A4BEFF',
        Font = 'baijamjuree'
    },
    ['Position'] = {
        Top = 500,
        Right = 35
    }
}

-- | # Available Fonts ------------------------------------------------------------------------------------
-- | You can add your own custom fonts to the script using this section.
-- | Place your font file (.ttf) in the html/fonts folder.
-- | Then add the @font-face rule in html/style.css and finally add your font to this list.

Config.Fonts = {
    { Id = 'baijamjuree', Label = 'Bai Jamjuree' },
    { Id = 'oswald', Label = 'Oswald' },
    { Id = 'chakra', Label = 'Chakra Petch' },
    { Id = 'satisfy', Label = 'Satisfy' },
    { Id = 'permanent', Label = 'Permanent Marker' }
}

Last updated