- Improve user-friendliness of the project
- Add sound support
- Introduce more features
- Fix existing bugs
- No dependencies! It's standalone :D
The project is highly customizable. You can manage the main style, borders, glowing effects, and more.
- 🔎 Configuration table for notification locations
- 🔎 Adjustable mapping of notification locations
- 🔰 Customizable corner radius for notifications
- 🖼️ Background color for notifications (supports HEX and RGB formats, e.g., 'rgb(0, 0, 0)')
- 🛳️ Divider line between header and message (supports HEX and RGB formats, e.g., 'rgb(0, 0, 0)')
- ✨ Glowing animation for notifications
- 📛 Minimum and maximum allowed height for notifications
- 📛 Actual notification height
- 📛 Minimum and maximum allowed width for notifications
- 📛 Actual notification width
- 📦 Icon size before the title text
- ⌚ Default timeout duration for notifications (in milliseconds)
- 🗨️ Default title to use when no title is provided
- ❗ Option to force the use of the default title instead of a provided title
- 🕶️ Border settings for notifications:
- Adjustable border size with suffixes (e.g., 'px', '%')
- Customizable border types
- Enable or disable each border individually
This guide will help you set up the script easily!
- Download the folder and remove the
-main
suffix from it. The folder name should bewizard-notify
.
- Copy the folder and paste it into your resources folder.
- Add the following code to your
server.cfg
. Make sure to place it at the top of the resources list to ensure it's loaded before other resources:
ensure wizard-notify
- Restart your server and test the script using the command:
/testnotify
.
- To send notifications from a client-side file, use the following code:
exports['wizard-notify']:Send('Title', 'Message', Time, 'type')
- To send notifications from a server-side file, use the following code:
TriggerClientEvent('wizard-notify:Send', source, 'Title', 'Message', Time, 'type')
- @The_Hs5