Skip to main content

Installation

1. Add the resource​

Put the gs-notify folder in your resources folder and start it above every script that sends notifications:

server.cfg
ensure gs-notify

2. Give admins access (optional)​

This lets admins send notifications to other players with /svnotify:

server.cfg
add_ace group.admin gs.notify.admin allow

3. Test it​

In-game, type /notifyshowcase to see 5 example notifications.

warning

Turn off the test commands on a live server: Config.EnableTestCommands = false.

info

After editing fxmanifest.lua, run refresh and then ensure gs-notify. A plain restart won't pick up manifest changes.

Use it for your framework's notifications (optional)​

To show notifications from scripts that use QBCore:Notify, esx:showNotification or ox_lib:notify, turn on the matching setting in Config.Compatibility. See Configuration.