Wasabi Scripts
StoreDiscordGitHub
  • Documentation
  • Dependency
    • 🔗wasabi_bridge
      • Dependencies
      • Installation
      • Configuration
      • Custom Notifications
      • Common Issues & Fixes
  • Advanced Series
    • 🚑wasabi_ambulance
      • Dependencies
      • Installation
      • Configuration
      • Death Screens
      • Exports / Events
      • State Bags
      • Customizations
      • Common Issues
        • QBCore
    • 🩺wasabi_crutch
      • Dependencies
      • Installation
      • Configuration
      • Exports
    • 👮‍♂️wasabi_police
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • State Bags
      • Events
      • Customizations
    • 🔎wasabi_evidence
      • Dependencies
      • Installation
      • Configuration
      • Customizations
    • 🛡️wasabi_adminmenu
      • Dependencies
      • Installation
      • Configuration
    • 👷wasabi_multijob
      • Dependencies
      • Installation
      • Configuration
      • Replace ESX Boss Menus
    • 🔑wasabi_carlock
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • Common Issues
        • QBCore
  • Core UI Series
    • 🖥️wasabi_loadingscreen
      • Configuration
    • 🧑‍🤝‍🧑wasabi_multichar
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • Events
    • 💳wasabi_banking
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • Events
    • 👼wasabi_spawn
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • Events
    • 🔔wasabi_notify
      • Exports / Events
      • Configuration
      • Change Framework Notify
    • ⏸️wasabi_pausemenu
      • Dependencies
      • Installation
      • Configuration
      • Exports
  • Heist Series
    • 🏦wasabi_pacificrobbery
      • Dependencies
      • Installation
      • Configuration
      • Events
    • 🏦wasabi_paletorobbery
      • Dependencies
      • Installation
      • Configuration
      • Events
    • 🏦wasabi_fleecarobberies
      • Dependencies
      • Installation
      • Configuration
      • Events
  • 💎wasabi_vangelicorobbery
    • Dependencies
    • Installation
    • Configuration
    • Events
  • 🔫wasabi_ammunationrobbery
    • Dependencies
    • Installation
    • Configuration
    • Events
  • 🚢wasabi_yachtheist
    • Dependencies
    • Installation
    • Configuration
    • Events
  • Free Releases
    • 👕fivem-appearance
      • Installation
      • Dependencies
      • Common Issues
      • Snippets
      • Exports
      • Examples
    • 👩‍💻wasabi_discord
      • Installation
      • Exports
Powered by GitBook
On this page
  1. Dependency
  2. wasabi_bridge

Configuration

The default configuration for the 'wasabi_bridge' resource

-----------------For support, scripts, and more----------------
--------------- https://discord.gg/wasabiscripts  -------------
---------------------------------------------------------------
Config = {}

-------------------------------------------------------
-- Check for updates? (RECOMMENDED TO LEAVE AS true) --
-------------------------------------------------------
Config.CheckForUpdates = true

----------------------------------------------------------
--- UI Settings (Only works if using built-in systems) ---
----------------------------------------------------------

Config.DefaultColor = '#43ea80' -- Default color for progress bars, circles, menus, etc if not defined when used.
-- (Most of the time there will be configuration of color within specific Wasabi Scripts, but this is a fallback)
-- (If you wish to use this color as default in other Wasabi Scripts set their UI color to false if applicable)

-- Has built-in notify and automatic detection for wasabi_notify
-- If using ox_lib, you can uncomment the code in wasabi_bridge/customize/client/notifications.lua
-- and comment out the wasabi_notify/default code to use ox_lib instead.
-- Grab wasabi_notify here: https://store.wasabiscripts.com/package/6215100
Config.Notifications = {
    defaults = {                                    -- Default notification settings
        position = 'top-right',                     -- position options: 'center', 'top-right', 'top-left', 'right', 'left', 'bottom-right', and 'bottom-left'
        time = 3500,                                -- Time in MS to show notifications by default if not defined
        iconSize = '2.2rem',                        -- Default icon size if shown and not defined. (Default is 1.5rem)
        fontColor = '#e5e5e5',                      -- Color, hex, etc (default: '#b5b3b3')
        backgroundColor = 'rgba(37, 38, 43, 0.60)', -- Background color of notification (default: 'rgba(80, 80, 80, 0.651)')
        sound = false,                               -- Play a sound when the notification is shown
    },
    styles = {                           -- Notification styles (Feel free to edit and add, but don't remove any default styles completely)

        info = {                         -- Type of notification to use in 'type' parameter of notification exports
            icon = 'circle-exclamation', -- Fontawesome icon to use, or false to not show an icon
            color = '#07B8F9',           -- Color of the notification
        },
        success = {
            icon = 'circle-check',
            color = '#1ce21c',
        },
        error = {
            icon = 'circle-xmark',
            color = '#e21c1c',
        },
        warning = {
            icon = 'exclamation-triangle',
            color = '#dece21',
        }
    }
}

Config.TextUISettings = {
    position = 'right-center',   -- Position of the text UI ('right-center', 'left-center', 'top-center', or 'bottom-center')
    iconColor = '#ffffff',       -- Default icon color if not defined
    textColor = '#ffffff',       -- Default text color if not defined
    backgroundColor = '#25262B', -- Background color of the text UI
}
PreviousInstallationNextCustom Notifications

Last updated 8 months ago

🔗