SimpleDevelopments Docs
Simple Store License Generator Our Discord
Our docs are still under construction - Expect new changes in the future!
Paid Scripts IconPaid Scripts

2 - Configuration

By Fadin_laws 2 mins 23

Config.LicenseKey = 'LICENSE-KEY-HERE'
  • Below are the main settings to configure with SimpleNotify, including the default notification time and its location on the screen.

Config.DefaultDuration = 6000
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 in the first place.

Config.StaffAcePermission = 'simple.staff' -- The ace permission required to access the staff panel and accept calls.
Config.AdminCallAcePermission = 'simple.staff' -- The ace permission required to create an admin call.
Config.AllowEveryoneToCall = true -- If true, anyone can create an admin call. If false, only those with the AdminCallAcePermission can create calls.
  • 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.Styles = {
    info = {
        color = '#3498db', -- Blue
        icon = 'ℹ️', -- Info Icon
        sound = 'html/sounds/sound.ogg' -- Sound file path
    },
    success = {
        color = '#2ecc71', -- Green
        icon = '✅', -- Success Icon
        sound = 'html/sounds/sound.ogg' -- Sound file path  
    },
    error = {
        color = '#e74c3c', -- Red
        icon = '❌', -- Error Icon
        sound = 'html/sounds/sound.ogg' -- Sound file path
    },
    warning = {
        color = '#f1c40f', -- Yellow
        icon = '⚠️', -- Warning Icon
        sound = 'html/sounds/sound.ogg' -- Sound file path
    }
}
  • 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.1', -- 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/SimpleCallAdminv2.json'
}