Quill Notifications

Quill Notifications

A small Library mod to handle sending notifications to players both online and offline with style!

by
2.2K Downloads
fabricquiltlibrarysocialtechnology
Rent Server with this Mod

About this Mod

Maintenance
PRs Welcome

Quill Notifications

A small Library mod to handle sending notifications to players both online and offline with style!

Usage

This mod requires both Fabric API, and SQLib.

Use of Adventure API is not required but encouraged.

Once the mod is installed on your server, a config will be generated after the first launch. Be sure to edit this config and point it to a file path or a my sql database.

For Developers

Getting Started

To include this mod in your project simply add it as a dependency:

repositories {
    maven { url "https://api.modrinth.com/maven" }
    // adventure api is not strictly necessary but is helpful and will allow you to use Component messages
    maven {
        name = "sonatype-oss-snapshots1"
        url = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
        mavenContent { snapshotsOnly() }
    }
}

dependencies {
    modImplementation("maven.modrinth:quill:1.2.3")
    // adventure api is not strictly necessary but is helpful and allow you to use Component messages
    modImplementation include("net.kyori:adventure-platform-fabric:6.4.0")
}

General Usage

Notification notification = NotificationBuilder.Notification(receiverUUID) // Initalize a new notification to be sent
    .setMessage(message) // setMessage() accepts String, MutableText, or Component variables (note that the notification will only save the last message set)
    .setStyle(Scribe.INFO) // setStyle() only works for String messages
    .setMetadata(jsonData) // inject json data into a message to be used with the event system
    .setSound(SoundEvents.BLOCK_BELL_USE) // set a soundevent to be played when notification is received
    .setCommands(commandString, commandString2) // set commands to be run when the notification is received
    .setCommandDelay(10, TimeUnit.SECONDS) // set a delay that your commands will delayed for after the notification is sent (you can also pass in just a number for the ammount of millies to delay by)
    .setExpiry(15, TimeUnit.MINUTES) // set a time from a message to expire, if the player doesnt come online before the expiry time elapes the notificaion will not be sent (you can also pass in just a number for the ammount of millies till expiry) 
    .build();
Pigeon.send(notification); // send the notification to the player

for (Notification message: QuillNotifications.getNotifications(receiverUUID)) { // get all pending notifications for a player (notifications are in order of oldest to newest)
    if (notification.getMessage().toString().equals("Test message plz delete")) message.cancel() // cancel a notification before it gets sent to the player
}

Event System

//the event system gives you a notification object to modify the notification data before it gets sent
QuillEvents.PRE_SEND_NOTIFICATION.register((notification) -> {
  System.out.println(notification.getPlayerEntity().getName().getString());
  //returning true allows the message to be sent, returning false will stop the
  //returning false will stop the message from being seen
  return true;
  // Do cool things with metadata or the other varibles idk the event system is your oyster.
});

Available Versions

Quill Notifications 1.2.3release
MC 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5fabric, quilt
July 20, 2025
Quill Notifications 1.2.2release
MC 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21fabric, quilt
July 22, 2024
Quill Notifications 1.2.1release
MC 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21fabric, quilt
July 8, 2024
Quill Notifications 1.2release
MC 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21fabric, quilt
June 23, 2024
Quill Notifications 1.1.10release
MC 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21fabric, quilt
June 23, 2024

How to Install Quill Notifications on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.5).

3

Install Mod

Open the mod browser in the dashboard and search for "Quill Notifications". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricquilt

Minecraft Versions

1.21.5, 1.21.4, 1.21.3 (+21 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Quill Notifications server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.5). You can switch loaders with one click in the panel.

Is Quill Notifications compatible with fabric and quilt?

Quill Notifications officially supports fabric, quilt for Minecraft 1.21.5, 1.21.4, 1.21.3. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Quill Notifications – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Quill Notifications consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Quill Notifications with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Creative Commons Zero v1.0 Universal
Server-side
Required

Supported Versions

1.21.51.21.41.21.31.21.21.21.11.211.20.61.20.51.20.41.20.3+14 more