
Notify
You don't want to create mixins for each project over and over again for the same events.
About this Mod
🔔Notify
You don't want to create mixins for each project over and over again for the same events you could just use in the good old paper days.
This is why we created this spectacular library/mod, where we just have to add the events once and can use them in every other project!
For this we use alert, a blazing fast event listening utility.
See alert's documentation on how to listen to events.
How to use
Add the following to your mod's build.gradle.kts file:
repositories {
mavenCentral()
}
dependencies {
// ...
modImplementation("de.hglabor:notify:1.1.3")
}
Then put the built jar file of notify into your mods folder. You should be able to subscribe to the events like this:
// (On the server)
subscribeToEvent<PlayerJoinEvent> {
logger.info("Player ${it.player.name.string} joined")
}
Events currently implemented
Subscribing to events on the client is not tested! (server/common events should work on the server)
Common
PlayerAttackEntityEventPlayerHungerChangeEventPlayerItemPickupEventPlayerPlaceBlockEventPlayerSlotClickEvent
Server
PlayerBreakBlockEventPlayerDeathEventPlayerInteractItemEventPlayerInteractBlockEventPlayerItemDropEvent: called when a player attempts to drop an itemPlayerItemDroppedEvent: called after an item was droppedPrePlayerJoinEvent: called before a player joins the serverPlayerJoinEvent: called when a player joins the server. Allows modification of the join messagePostPlayerJoinEvent: called after a player joins the serverPlayerRemoveEvent: called after a player got removed from the player listPlayerQuitEvent: called when a player quits the server. Allows modification of the quit messagePlayerSwapHandItemsEventPlayerTickEventPlayerSetSettingsEvent: called e.g. when player changes client languageEntitySpawnEventProjectileHitEvent: called when a projectile hits another entity
Client
soon™For more, read our github readme
Available Versions
How to Install Notify on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).
Install Mod
Open the mod browser in the dashboard and search for "Notify". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.4, 1.20.3, 1.20.2 (+7 more)
Server-side
~ OptionalRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Notify 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.20.4). You can switch loaders with one click in the panel.
Is Notify compatible with fabric and quilt?
Notify officially supports fabric, quilt for Minecraft 1.20.4, 1.20.3, 1.20.2. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Notify – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Notify 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.
Similar Mods
Rent Modded Server
Install Notify with just one click on your server.