Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noyzys/nautchkafe-notification
An extensible notification dispatcher for server-side applications.
https://github.com/noyzys/nautchkafe-notification
bukkit bungeecord minestom notifer notification notification-service spigot sponge velocity
Last synced: 9 days ago
JSON representation
An extensible notification dispatcher for server-side applications.
- Host: GitHub
- URL: https://github.com/noyzys/nautchkafe-notification
- Owner: noyzys
- Created: 2024-10-21T23:27:57.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-13T05:42:36.000Z (about 1 month ago)
- Last Synced: 2024-11-13T06:25:38.708Z (about 1 month ago)
- Topics: bukkit, bungeecord, minestom, notifer, notification, notification-service, spigot, sponge, velocity
- Language: Java
- Homepage:
- Size: 122 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#
* goto () -> [honey](https://github.com/rchomczyk/honey) a better. more flexible, and more efficient api with a fluent flow ^
# Usage:
```java
/* for titles::audience */
dispatcher.createTitle()
.recipient(event.getPlayer())
.title(it -> it.template("Hello!"))
.subtitle(it -> it.template("It is a pleasure to see you there {{player.getName}}")
.variable("player", event.getPlayer()))
.times(2, 4, 2)
.dispatch();/* for chat::audience */
dispatcher.createChat()
.recipient(Bukkit.getServer())
.template("{{player.getName}} has joined the server!")
.variable("player", event.getPlayer())
.dispatch();/* for actionbar::audience */
dispatcher.createActionBar()
.recipient(event.getPlayer())
.template("Honey is great, isn't it?")
.dispatch();
```