Coder Social home page Coder Social logo

notifmod's People

Contributors

811alex avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

notifmod's Issues

LunarClient Mods

I downloaded this mod (looks nice from what the author said & installed ModMenu) But i cant open modmenu & cant find any keybinds to edit this mod should be nice if this can be added, This is lunarclient "voicetesting" edition!

Is this a Modmenu issue or NotifMod error?

RegEx filter

Hello! Kind of a newbie question as I'm a newbie myself!
I'm playing on a low pop server, and I wanna get sound notifications for all messages sent by players, as there are not a lot.
I've tried a few RegEx filters but couldn't find one that worked for me.

Thanks for your help (and your mod) !

New feature suggestion: health/hunger/oxygen sound notifs

Hey there, I thought of a new feature that I think would just fit into the mod. Following the theme of the mod, I would like to suggest that you add a notification (sound based) for when the player is on low health and/or low hunger. I've seen BetterPVP do something similar to this and I thought it would fit pretty well into your mod ;)

Configuration in mod menu

The configuration in the mod settings doesn't show, so I'm unable to specify what chat messages gives me notifications.
I have posted a screenshot of the NotifMod in the mod settings below so that you can see.
https://imgur.com/a/jBG1kCu

Inconsistent crash

Hey there! I've been experiencing a crash ever so often, I asked a mod dev friend and he told me it had something to do with the sound engine. All of the mods that change sounds on my client would be extra sounds, presence footsteps and notif mod. I couldnt and still cant replicate the crash consistenly so I opted to try and remove one of the mods and see if the crash stops occurring. I've come here to report that it has stopped for a very long time after removing your mod. As I said, this crash is inconsistent, therefore I do not know if it is a mod incompatibility or only your mod's fault or even if it is related to your mod at all.

I'll also be sending the crash report:
crash-2022-09-15_19.27.30-client.txt

i dont know how to configure the mention notification

I followed the tutorial on the mod page on Modrinth
image

and then in-game it looked like this:

image

and and using a command block to test, it hasn't worked

image

i know the mod is working because when my username (peow__) is mentioned, with the default mod settings, the notification sound happens

*im using the version v1,4, the last version for fabric 1.20.1

Mod won't run on 1.19.2

The game closes as soon as it tries loading the mod.

Client Version: 1.19.2
Fabric Modloader: 0.14.9
Fabric API: 0.60.0
Cloth Config API: 8.0.75
Mod Menu: 4.0.6

Description: Initializing game

java.lang.RuntimeException: Mixin transformation of net.minecraft.class_329 failed
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:419)
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323)
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218)
	at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	at net.minecraft.class_310.<init>(class_310.java:603)
	at net.minecraft.client.main.Main.method_44604(Main.java:205)
	at net.minecraft.client.main.Main.main(Main.java:51)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:214)
	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:249)
	at org.multimc.EntryPoint.listen(EntryPoint.java:143)
	at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392)
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234)
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202)
	at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:414)
	... 18 more
Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [NotifMod.mixins.json:InGameHudListenerMixin from mod notifmod] from phase [DEFAULT] in config [NotifMod.mixins.json] FAILED during APPLY
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError(MixinProcessor.java:638)
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinApplyError(MixinProcessor.java:589)
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:379)
	... 21 more
Caused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Inject annotation on onChatMessage could not find any targets matching 'Lnet/minecraft/class_329;method_43592(Lnet/minecraft/class_2556;Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)V' in net.minecraft.class_329. Using refmap NotifMod-refmap.json [PREINJECT Applicator Phase -> NotifMod.mixins.json:InGameHudListenerMixin from mod notifmod -> Prepare Injections ->  -> handler$zjd000$onChatMessage(Lnet/minecraft/class_2556;Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse]
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.validateTargets(InjectionInfo.java:656)
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.findTargets(InjectionInfo.java:587)
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.readAnnotation(InjectionInfo.java:330)
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.<init>(InjectionInfo.java:316)
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.<init>(InjectionInfo.java:308)
	at org.spongepowered.asm.mixin.injection.struct.CallbackInjectionInfo.<init>(CallbackInjectionInfo.java:46)
	at jdk.internal.reflect.GeneratedConstructorAccessor62.newInstance(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
	at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo$InjectorEntry.create(InjectionInfo.java:149)
	at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.parse(InjectionInfo.java:708)
	at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1330)
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1043)
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:393)
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325)
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421)
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403)
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)
	... 21 more

New feature suggestion: Potion effect finished

It would be useful to get notifications when a certain potion effect is depleted, if you are underwater and using respiration or in a fire risk area with fire resistance. In general all effects can really take advantage of this for many scenarios. btw awesome mod!

Configuration button missing

I am using NotifMod version 1.16.5 and the configuration button in Mod Menu is not popping up. Am I in the right spot to configure? Is the mod broken for me? Also, it does say that Mod Menu is optional which confuses me because I have no idea where I would pull up the configuration menu other then the "Mods" tab. The mod works but I haven't figured out how to configure it yet. I have never used Mod Menu so sorry if the solution is very obvious. (I have tried launching the mod with only the 3 required mods too, but the button is still missing)
image

NPC's trigger join/leave

1.19.2

When an NPC loads and unloads from the playerlist it causes the the mod to trigger the player.join and player.leave notifications. I've only tested this with the Citizens NPC plugin. I don't know if this happens for any others.

i don't get it

i don't get it

i tested with RegExr and it worked fine, but ingame it's different
i set this filter:
.(?<!~Carmeops.)(carm).*

so it should notify me for every mention of carm, except when it's me talking, (the server where i am show my chat messages as:
~Carmeops >

and when i do:
~Carmeops > carm

indeed, no notification happen, however, i discovered that if i say instead:
~Carmeops > "carm"

with the quotation marks, then suddenly i get notified!
why? i don't get it

Crashes on startup 1.19

Quilt loader 0.17.0
Quilted Fabric API 2.0.0 Alpha 2
Cloth Config v6 7.0.72

MC version 1.19

crash when i click the + in mod config

image

i was trying change the sounds for the mod but it send the error message
The game crashed whilst mouseclicked event handler
Error: java.lang.NoSuchFieldError: field_15015
error code -1

Chat notification crashes if you don't send message first

Each time I start Minecraft with NotifMod and load a singleplayer world, I have to send one chat message, or else the next text that shows in the chat will crash the game with this error.
Now granted, I have over 200 mods enabled so I'm not surprised or disappointed, but the mod that's causing crashes with NotifMod (that I can see) is Auto Elytra. Auto Elytra is enabled by default whenever you join a world. When I disable/enable it with the toggle keybind, it sends a chat message with its new toggle state. However, if it's the first chat message of that session, then the game crashes. And if I send a message and then toggle, it works perfectly and does not crash.
So, I'm guessing it's not just Auto Elytra, rather the crash can be triggered by anything that sends a message other than a player. But I don't have any way of testing that. I also tried to test the bug in multiplayer, but I couldn't get a chance to disable/enable it before someone or something else sent a message.
crash-2023-12-30_13.27.20-client.txt

New feature suggestion: More flexibility on Message/Mention Notifications

This mod is a great idea!

I'd love some more flexibility with the message- and mention notifications, just the sound alone is not really enough for me to grab my attention when playing on a busy multiplayer server. Also, trying to find the message in a busy chat could be made a little easier.

Maybe the ability to change the colour or fontstyle (bold/italic/underlined) of the word/username that's mentioned in the chat message that was sent, and changing the message type (extra chat message/actionbar/title/subtitle) like what is possible with the Equipment Durability Notifications could make this mod even better.

Unique sound for friends

Would be nice to see when his friends log in and out with a different sound.
With a list of nicknames to enter as a whitelist.

thank you

Mention Notification Playing Whenever I Send Any Message

Hello! Thanks for the brilliant mod!

I am using the following Regex code: .*(\p|nerdiebirdie|birdie|nerdie).* in order to receive pings when I'm mentioned. My username is NerdieBirdieYT. Whenever I send a message, the notification sounds plays, I assume because it sees my username at the start of the message.

Is there a way to prevent this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.