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 = 'killshows' }, -- | # If the command is disabled, you can open the menu using: exports['thug-killshows-plus']:Open_Menu()
}

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

Config.Player_Display = {
    ['Name_Type'] = 'steam', -- | # In this section you have the options 'steam', 'charname', 'custom'
}

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

Config.Default_Player_Settings = {
    ['Status'] = {
        Message = true,
        Sound = true,
        Effect = true,
        Particle = true
    },
    ['Message'] = {
        Font = 'baijamjuree',
        Color = '#A4BEFF',
        Style = 1,
        Scale = 70,
        Position = false
    },
    ['Sound'] = {
        Id = 'coin',
        Volume = 50
    },
    ['Effect'] = {
        Id = 'MinigameEndTrevor'
    },
    ['Particle'] = {
        Id = 'electric'
    }
}

-- | # 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 and add it to this list.
-- | Id = Font family name for CSS, Label = Display name in menu, File = Font file name in html/fonts folder.

Config.Fonts = {
    { Id = 'baijamjuree', Label = 'Bai Jamjuree', File = 'BaiJamjuree-SemiBold.ttf' },
    { Id = 'oswald', Label = 'Oswald', File = 'Oswald-VariableFont_wght.ttf' },
    { Id = 'chakra', Label = 'Chakra Petch', File = 'ChakraPetch-Regular.ttf' },
    { Id = 'satisfy', Label = 'Satisfy', File = 'Satisfy-Regular.ttf' },
    { Id = 'permanent', Label = 'Permanent Marker', File = 'PermanentMarker-Regular.ttf' },
    { Id = 'roboto', Label = 'Roboto', File = 'Roboto-Regular.ttf' },
    { Id = 'kanit', Label = 'Kanit', File = 'Kanit-Regular.ttf' },
    { Id = 'bebas', Label = 'Bebas', File = 'BebasNeue-Regular.ttf' },
    { Id = 'spacegrotesk', Label = 'Space Grotesk', File = 'SpaceGrotesk-Bold.ttf' },
    { Id = 'cinzel', Label = 'Cinzel', File = 'Cinzel-Bold.ttf' },
    { Id = 'federant', Label = 'Federant', File = 'Federant-Regular.ttf' },
    { Id = 'bitcount', Label = 'Bitcount', File = 'BitcountGridDouble-Bold.ttf' },
    { Id = 'tapestry', Label = 'Tapestry', File = 'Tapestry-Regular.ttf' },
    { Id = 'bungee', Label = 'Bungee', File = 'Bungee-Regular.ttf' }
}

-- | # Available Sounds ------------------------------------------------------------------------------------
-- | You can add or remove any sound here.
-- | After adding the sound with .mp3 extension to the html/sounds file, just add it here in the Id section without .mp3 and set a Label.

Config.Sounds = {
    { Id = 'coin', Label = 'Coin' },
    { Id = 'ow', Label = 'OW' },
    { Id = 'cash', Label = 'Cash' },
    { Id = 'snare', Label = 'Snare' },
    { Id = 'stab', Label = 'Stab' },
    { Id = 'power-up', Label = 'Power-Up' },
    { Id = 'waterdrop', Label = 'Water Drop' },
    { Id = 'vl', Label = 'VL' }
}

-- | # Available Screen Effects ------------------------------------------------------------------------------------
-- | You can add or remove any screen effect here.
-- | You can find the IDs of the screen effects that can be used with AnimpostfxPlay from: https://pastebin.com/3D3W6yvT

Config.Screen_Effects = {
    { Id = 'MinigameEndTrevor', Label = 'Orange' },
    { Id = 'DeathFailMPDark', Label = 'Glow' },
    { Id = 'MinigameTransitionOut', Label = 'Blur' },
    { Id = 'DeathFailOut', Label = 'Black & White' },
    { Id = 'MP_race_crash', Label = 'Crash' },
    { Id = 'MinigameEndFranklin', Label = 'Green' },
    { Id = 'MinigameEndMichael', Label = 'Blue' },
    { Id = 'DMT_flight', Label = 'High' },
    { Id = 'DeathFailMPIn', Label = 'Fails' },
    { Id = 'PeyoteOut', Label = 'Peyote' }
}

-- | # Available Particle Effects ------------------------------------------------------------------------------------
-- | You can add or remove any particle effect here.
-- | You can find the Particle_Dict and Particle_Name from: https://pastebin.com/xJ6DFevL

Config.Particles = {
    { Id = 'electric', Label = 'Electric', Particle_Name = 'scr_adversary_wheel_lightning', Particle_Dict = 'scr_bike_adversary' },
    { Id = 'glow', Label = 'Glow', Particle_Name = 'scr_adversary_weap_glow', Particle_Dict = 'scr_bike_adversary' },
    { Id = 'smoke', Label = 'Smoke', Particle_Name = 'scr_adversary_weap_smoke', Particle_Dict = 'scr_bike_adversary' },
    { Id = 'flame', Label = 'Flame', Particle_Name = 'scr_adversary_foot_flames', Particle_Dict = 'scr_bike_adversary' },
    { Id = 'fireshock', Label = 'Fire + Shock', Particle_Name = 'scr_heist_carrier_elec_fire', Particle_Dict = 'scr_carrier_heist' },
    { Id = 'magic', Label = 'Magic', Particle_Name = 'scr_clown_appears', Particle_Dict = 'scr_rcbarry2' },
    { Id = 'bubbles', Label = 'Bubbles', Particle_Name = 'ent_dst_gen_gobstop', Particle_Dict = 'core' },
    { Id = 'blood', Label = 'Blood', Particle_Name = 'cs_head_kick_blood', Particle_Dict = 'cut_chinese1' },
    { Id = 'watersplash', Label = 'Water', Particle_Name = 'cs_water_splash_jetski', Particle_Dict = 'cut_family2' },
    { Id = 'cameraflash', Label = 'Flash', Particle_Name = 'scr_camera_flash', Particle_Dict = 'cut_lester1b' },
    { Id = 'tarmacexp', Label = 'Coals', Particle_Name = 'cs_sol3b_tarmac_exp', Particle_Dict = 'cut_solomon3b' },
    { Id = 'paper', Label = 'Papers', Particle_Name = 'ent_ray_arm3_paper', Particle_Dict = 'des_car_show_room' },
    { Id = 'rampexplosion', Label = 'Explosion', Particle_Name = 'ent_ray_fbi5a_ramp_explosion', Particle_Dict = 'des_fib_floor' },
    { Id = 'pipeimpacts', Label = 'Pipe Impact', Particle_Name = 'ent_ray_shipwreck_pipe_impacts', Particle_Dict = 'des_shipwreck' },
    { Id = 'fallingleaves', Label = 'Leafs', Particle_Name = 'ent_ray_fam3_falling_leaves', Particle_Dict = 'des_stilthouse' },
    { Id = 'firework', Label = 'Firework', Particle_Name = 'scr_indep_firework_grd_burst', Particle_Dict = 'proj_indep_firework' },
    { Id = 'fireworkv2', Label = 'Firework 2', Particle_Name = 'scr_firework_indep_repeat_burst_rwb', Particle_Dict = 'proj_indep_firework_v2' },
}

Last updated