Configuration
Locale
Config.Locale = 'en'
Sets the default language for notifications.
• Available options: 'en', 'de', 'cs', 'fr'
• These correspond to the files inside the /locales folder.
Default Time
Config.DefaultTime = 5000
Defines how long (in milliseconds) each notification stays visible on screen by default.
Settings Page
Config.SettingsPage = {
command = {
enable = true,
name = "notifysettings"
},
key = {
enable = true,
keyNum = 20 -- Z key
}
}
Enables an in-game Settings Panel for players.
• command.enable: Allows opening the panel with a chat command.
• command.name: The chat command name (e.g., /notifysettings).
• key.enable: Allows opening with a keyboard shortcut.
• keyNum: Keyboard key code (use this reference).
Minimize & Maximize
Config.MinimizeMaximize = {
enable = true,
key = 47 -- G key
}
Lets players minimize/maximize the notification UI.
• Toggle with a key defined by its control index (e.g., 47 = G)
Notification Types
Config.notificationTypes = {
['server'] = {
header = "Server",
light = "./assets/icons/light/server.png",
dark = "./assets/icons/dark/server.png",
sound = "./assets/sounds/notification_sound.mp3"
},
...
}
Defines custom notification types that control icons, headers, and sounds.
Each type includes:
• header: The title shown in the notification.
• light / dark: Icons for light or dark mode.
• sound: Sound path (or false to mute).
🔹 Built-in Notification Types:
server
Server
announcement
Announcement
info
Information
date
Date
error
Error
success
Success
bank
Bank
status
Status
You can add your own by creating a new object in the same format.
Locales
Config.Locales = {} -- do not change
• This setting is managed by the script internally.
• No need to edit this unless you’re modifying core localization logic.
Last updated