Download NotifMod — Minecraft Mods — MetaMods

NotifMod

Active

Downloads

1

Last update

9 months ago

Versions

1.16.4 — 1.21.5
Client
Fabric
Weapons and armor
Control
Utils

NotifMod

A client-side Fabric mod that notifies you about various in-game events! Notifications can be in the form of sound, text messages (in chat, action bar, or title), or a combination of both methods.

The mod features extensive configuration options and currently monitors the following events:

  • Low equipment durability
  • Unbreakable equipment stops working (elytra)
  • Equipment fully repaired (Mending enchantment)
  • Chat messages
  • Username mentions in chat
  • Ability to sleep
  • Lead breaks
  • Player joins server
  • Player leaves server
  • Game finishes loading
  • World finishes loading (during initial connection)

Also available is a timer function with reminders when time expires (useful for breeding animals and other processes).

Dependencies

Required for the mod to work:

  • Fabric API
  • Cloth Config API
  • Mod Menu (optional)

The mod will function without Mod Menu, but you won't be able to access the in-game configuration screen, so it's recommended to install it.

Notification Sounds

The mod includes several simple sounds that can be used. However, you can utilize any sound from the game or add your own by replacing NotifMod's sounds using a resource pack!

Notification Filters

In the mod's settings, you can specify which chat messages will trigger notifications using regular expressions (RegEx).

If you're not familiar with regular expressions, they are sequences of characters that describe patterns to search for matches. They are very powerful and flexible, making them ideal for a customizable mod.

Setting Up Notifications for Different Name Variations

If players refer to you by different names, such as "awex", "alex", or "baka", you can use this regular expression: .(\p|awex|alex|baka).

The mod automatically replaces \p with your username before processing the expression. You can add any number of names or words in parentheses, separated by the | symbol.

However, there's a nuance: if someone says "alexa", you'll still receive a notification. To only consider complete words, use: (.\W)?(\p|awex|alex|baka)(\W.)?

This change indicates that if there are other characters around the word, they must not be letters or numbers.

The mod can also highlight your name when mentioned. For this, you need to use a similar regular expression but without the . parts, for example: \p|awex|alex|baka

Setting Up Notifications for Private Messages

This can be more challenging since private messages depend on server plugins, and their format may vary. The plugin might use the "system" channel instead of "chat", so make sure you're filtering the correct channel.

For example, if incoming messages look like this: [Joe -> You] Hello!, you can use: .[.+ -> You] .

You can also combine conditions. For example, if this is for the "system" channel but you want to receive notifications from the server console (messages starting with [Server]), use: ([Server] .)|(.[.+ -> You] .)

Note: Starting from version 1.19.1, messages from the server console use the "system" channel and don't include the "[server]" part.

Project members
811Alex

811Alex

Developer

Created: 25 Jun 2022

ID: 5160