Athena Notification Plugin is a plugin for the Athena framework that allows you to display notifications in your application.
You can add a notification by calling the addNotification
method provided by the plugin. Here's an example of how to use it:
const Notify = await Athena.systems.plugins.useAPI('notification-api');
Notify.addNotification(player, {
icon: '๐ค',
title: 'Open Source Shopg',
message: `You've successfully bought x${items} for ${totalPrice}$!`,
duration: 5000,
});
- Will Follow
icon
: The emoji to display in the notification.title
: The title of the notification.message
: The notification message.duration
: The duration in milliseconds for how long the notification should be displayed.
This project is licensed under the MIT License - see the LICENSE file for details.
To get started with the Athena Notification Plugin, you can clone it from the source code.
- Clone the repository:
git clone https://github.com/Booster1212/plugin-notifications.git
- This project was inspired by the need for a simple and customizable notification system in Athena applications.
For support, bug reports, or feature requests, please create an issue here on GitHub.
- 1.0.0
- Initial release
See the CHANGELOG.md file for details about changes between versions.