NotifMod

Get notifications when certain things happen!

Редакция NLZONE · 3 мин чтения · 1 просмотр
NotifMod
Скачать NotifMod1.16.4 – 26.1.2 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Get notifications when certain things happen!

  • Тип: мод
  • Загрузчик: fabric
  • Версии Minecraft: 1.16.4 – 26.1.2
  • Скачиваний на Modrinth: 16 884

Подробно

A client-side Fabric mod that gives you notifications when certain things happen! The notifications can be in the form of a sound, a message (chat/actionbar/title) or both.

The mod is highly configurable and currently supports the following events: - Equipment durability low - Unbreakable equipment stopped working (elytra) - Equipment fully repaired (mending) - Chat message - Chat username mention - Able to sleep - Your lead broke - Player joined server - Player left server - Game's done loading - World's done loading (when initially connecting)

It can also start a timer and remind you when the time's up (useful for things like breeding animals).

This mod depends on: - 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 include it.

The mod comes with a few simple sounds you can use if you want. However, you can use any sound in the game, or even add your own, by replacing NotifMod's sounds using a simple resource pack!

In the mod's settings, you'll notice that you can specify what chat messages give you notifications, using regular expressions (aka RegEx). If you don't know what a regular expression is, it's basically a series of characters that describe a pattern to look for (match). They're really powerful and can describe a ton of things and since this mod is meant to be highly configurable, they're perfect for the job. If you really want to learn them and do something more complicated, you can find a lot of info or test them online, pretty easily (to get an idea, watch this and check out RegExr)!

I'll go over some very common uses of regex in this mod, to give you an idea of how to do simple things.

Getting mention notifications for many different variations of your name If people sometimes refer to me by my username, but sometimes call me "awex", "alex", or "baka", I can use this regex: .\( \p |awex|alex|baka).\

This mod will replace any occurrences of \p with your username, before actually interpreting the regex. We can add as many names/words as we want, inside the parentheses, separated by | .

There's a small potential issue with this: if someone says "alexa", I'll still get a notification. To make it only consider it a mention if it's a full word, without any extra letters, we can use this: (.\\W)?( \p |awex|alex|baka)(\W.\)?

This change tells it that if there's any other characters around it, the ones immediately next

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также