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
    • 👼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. Core UI Series
  2. wasabi_notify

Configuration

All Wasabi Scripts contain various editable and unobscured files containing, exports, client and server functions, configuration methods and more.

View Configuration
-----------------For support, scripts, and more----------------
--------------- https://discord.gg/wasabiscripts  -------------
---------------------------------------------------------------

Config = {}

---------------------
-- UPDATE SETTINGS --
---------------------
Config.CheckForUpdates = true -- Check for updates(Recommended: true)

----------------------
-- DEFAULT SETTINGS --
----------------------
Config.Default = {
    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 = '1.5rem',                         -- Default icon size if shown and not defined. (Default is 1.5rem)
    fontColor = '#b5b3b3',                       -- Color, hex, etc (default: '#b5b3b3')
    backgroundColor = 'rgba(80, 80, 80, 0.651)', -- Background color of notification (default: 'rgba(80, 80, 80, 0.651)')
}

----------------------------
-- COMPATIBILITY SETTINGS --
----------------------------
-- Switching from another notification system?
-- Save time & effort by enabling this option and automatically
-- replacing functions and events from the following resources:
-- okokNotify,mythic notify, brutal notify, 
Config.AutoCompatibility = true

------------------------
-- NOTIFICATION TYPES --
------------------------
Config.NotificationTypes = {

    info = {                                     -- Type of notification to use in 'type' parameter of notification exports
        icon = 'fa-solid fa-circle-exclamation', -- Fontawesome icon to use, or false to not show an icon
        color = '#1c2ae2',                       -- Color of the notification gradient 1
        color2 = '#3a44c9',                      -- Color of the notification grandient 2 (if not defined, it will be the same as color)
        sound = true,                            -- Play a sound when the notification is shown
    },

    success = {
        icon = 'fa-solid fa-circle-check',
        color = '#1ce21c',
        color2 = '#3ac93a',
        sound = true,
    },

    error = {
        icon = 'fa-solid fa-circle-xmark',
        color = '#e21c1c',
        color2 = '#c93a3a',
        sound = true,
    },

    warning = {
        icon = 'fa-solid fa-exclamation-triangle',
        color = '#e2e21c',
        color2 = '#c9c93a',
        sound = true,
    }

}
PreviousExports / EventsNextChange Framework Notify

Last updated 1 year ago

🔔