Notifications

Notification system that will embellish the display of your server.

Ressource

Here you will find the link that leads to the shop in order to be able to buy this resource.

Dependencies

This script does not use any dependencies, so you can use it with any framework and on any type of server.

Configuration file

Here you will find the configuration of the Notifications script.

  • Activate or not a command to display an example of notifications

  • Customization of the command (if enabled)

  • Customize the image displayed when an image is invalid/not found

How to use

Simple notification

Exemple a simple notification (Default)
Exemple a simple notification (success)
Exemple a simple notification (info)
Exemple a simple notification (error)

Client Side:

Arguments:

  1. message => content of your message

  2. type => Change notification type [ "default", "success", "info", "error" ] (optional, set "default" by default)

  3. duration => notification display time in seconds (optional, set 5 by default)

  4. enableProgress => enable a progressbar (optional, set true by default)

Server Side:

Arguments:

  1. target => player source

  2. message => content of your message

  3. type => Change notification type [ "default", "success", "info", "error" ] (optional, set "default" by default)

  4. duration => notification display time in seconds (optional, set 5 by default)

  5. enableProgress => enable a progressbar (optional, set true by default)

Advanced notification

Client Side:

Arguments:

  1. title => notification title

  2. subtitle => notification subtitle

  3. message => content of your message

  4. image => image url

  5. duration => notification display time in seconds (optional, set 5 by default)

  6. enableProgress => enable a progressbar (optional, set true by default)

Server Side:

Arguments:

  1. target => player source

  2. title => notification title

  3. subtitle => notification subtitle

  4. message => content of your message

  5. image => image url

  6. duration => notification display time in seconds (optional, set 5 by default)

  7. enableProgress => enable a progressbar (optional, set true by default)

Icon notification

Client Side:

Arguments:

  1. title => notification title

  2. subtitle => content of your message

  3. image => icon url

  4. duration => notification display time in seconds (optional, set 5 by default)

  5. enableProgress => enable a progressbar (optional, set true by default)

Server Side:

Arguments:

  1. target => player source

  2. title => notification title

  3. subtitle => content of your message

  4. image => icon url

  5. duration => notification display time in seconds (optional, set 5 by default)

  6. enableProgress => enable a progressbar (optional, set true by default)

Last updated