Paid Scripts
Here is where you can configure the license key gathered from https://license.simpledevelopments.org/
Config.LicenseKey = 'LICENSE-KEY-HERE'Below are the main settings to configure with SimpleNotifyV2, including the default notification time, the max amount allowed, and its location on the screen.
Config.MaxVisible = 5
Config.DefaultDuration = 5000
Config.Position = 'top-right'Below is where you can configure the permissions required not only to use the staff side of the script, but also, if desired, to open a staff call.
Config.DebugCommand = true
--[[
/testnotify - Tests all notifications
/test1 - Tests the success notification
/test2 - Tests the error notification
/test3 - Tests the warning notification
/test4 - Tests the info notification
/test5 - Tests the neutral notification
]]Here you can configure the resource's sound settings, such as enabling or disabling sound, changing the volume, and routing to files used for the sound itself.
Config.Sound = {
Enabled = true,
Volume = 0.42,
WebAudio = true,
NativeFallback = false,
NativeName = 'SELECT',
NativeSet = 'HUD_FRONTEND_DEFAULT_SOUNDSET'
}
-- Local paths are relative to ui/sounds/.
Config.Sounds = {
success = 'sounds/success.wav',
error = 'sounds/error.wav',
warning = 'sounds/warning.wav',
info = 'sounds/info.wav',
neutral = 'sounds/neutral.wav',
custom = ''
}Here is where you can configure the style of each notification, such as the color, icon shown, and the sound it makes when it appears.
Config.TypeDefaults = {
success = {
icon = 'fa-solid fa-circle-check',
color = '#22c55e',
sound = 'success'
},
error = {
icon = 'fa-solid fa-circle-xmark',
color = '#ef4444',
sound = 'error'
},
warning = {
icon = 'fa-solid fa-triangle-exclamation',
color = '#f59e0b',
sound = 'warning'
},
info = {
icon = 'fa-solid fa-circle-info',
color = '#3b82f6',
sound = 'info'
},
neutral = {
icon = 'fa-solid fa-bell',
color = '#a855f7',
sound = 'neutral'
}
}Here is where you can configure the notification UI, including glow and blur effects.
Config.UI = {
maxVisible = 5, -- UI stack cap, duplicates included
blur = true,
glow = true,
accentOpacity = 0.95,
backgroundOpacity = 0.92
}Here is where you can configure whether the version checker is enabled or disabled. Overall, you won't need to touch much here, aside from enabling or disabling it.
Config.VersionChecker = {
enabled = true, -- Set to true to enable version checking. The script will check for updates and notify you if a new version is available.
currentVersion = '1.0', -- Do not touch this value or the URL below. The script will automatically update this value when a new version is released.
versionFileUrl = 'https://raw.githubusercontent.com/Fadinlaws123/ScriptVersionChecker/refs/heads/main/SimpleNotifyV2.json'
}