AquaFlame Advanced Notify [ESX]
Introduction
Welcome to the AquaFlame Notify FiveM Resource! This resource aims to provide you with unique and advanced notification abilities for your FiveM server. This documentation below will guide you through the installation and configuration process. See the Features list below for more information. Scroll through the page for the installation and configuration steps.
Features
Auto Messages
Duration and time between messages configurable
Customizable messages
Welcome Messages
Duration and time between messages configurable
Customizable messages
Option to disable
Admin Messages
Configurable via admin panel in-game
Notification on Player Joining
Notifies users of open polls
Configurable option to enable or disable
Framework Integration
Easily integrates with all scripts
Advanced & Clean User Interface
Players can customize their notifications
Choose notification positions
Choose notification colors
Option to hide all notifications
Adjust notification audio
Test notification settings before applying
View notification history
Hide specific notifications and revert
Polls
Server-wide poll notifications
Vote on Poll UI with mouse interaction toggle
Close Poll UI and view upvotes/downvotes in settings UI
Upvote/downvote in Settings UI -> Polls & History
Admins can open/close/delete polls
Configurable admin whitelist based on license
Installation
Prerequisites
Ensure your server is running the ESX Legacy framework.
Have access to phpMyAdmin for database management.
Step-by-Step Installation
Download the Resource
Clone or download the AquaFlame Notify resource from the repository.
Import SQL Tables
Open phpMyAdmin and execute the following SQL commands to create the necessary tables:
Add to Server Resources
Place the
aquaflame_notify
folder in your FiveM server'sresources
directory.
Update Server Configuration
Edit your
server.cfg
file to include the resource. Add the following line:
Configuration
Customize the resource by editing the config.lua
file. Below is a brief overview of the configuration options available:
General Settings
Admin Access
Define the list of whitelisted player licenses for access to the admin button.
Automatic Messages
Set up automatic messages that will trigger randomly.
Custom Messages
Add your own messages for various events.
Message Settings
Enable or disable welcome messages and open polls notifications.
Key Bindings
Set the key for toggling mouse visibility.
Change Notification Sound
If you want to change the notification sound, you can do that by replacing the original sound.mp3 file with the preferend mp3 file. Make sure to also rename it sound.mp3
. Make sure to clear your server cache if you do this, just to be sure it is working.
Another way to do this, is downloading the sound you prefer and drop it in the aquaflame_notify/ui
folder. Afterwards, go to Javascript file named script.js
and be sure to adjust the file name in there. Search for:
Replace the sound.mp3 to the filename of the sound you want to utilize.
Framework Integration
If you want to integrate this notification system to handle all your defautl ESX Notifications, you can do so by following below steps: @es_extended/client/function.lua
Replace it with
Using Exports
If you want to use the exports for other scripts, when you don't want to handle all server notifications, u can use below exports!
To display a notification you should call it like below:
Using Client Side:
Using Server Side:
You can set display time as follows:
1000
1 second
2000
2 seconds
5000
5 seconds
Etc..
Etc..
You can set the type of notification as follows:
success
Success Notification
info
Information Notification
warning
Warning Notification
error
Error Notification
Wrapping up
With AquaFlame Notify, you can enhance your FiveM server by providing players with timely notifications and interactive polls. Customize the settings to fit your server's needs and ensure smooth communication with your player base.
Enjoy our Resource!
Last updated