Chat Notification Mod

Yallo, folks!

As a server admin, I need to be available for my players. However, I also frequently have other things to do, or technical stuff requires me to do stuff outside of the MC client. To make it easier for me to still help those who need it, I’d like a mod that checks the chat for specific strings and plays a sound notification when it finds a match. I’ve looked around a bit, but the most recent existing one I found went out of development on Christmas Eve 2013. Since I don’t know Java, I have resolved to check whether anyone on here would be willing to make one. :smile:

From my limited experience with Python, I would think that a mod like this should be relatively quick and easy to make, but correct me if I’m wrong. I would be eternally grateful if any of you have the time and willingness to do this for me :smiley:

Proposed base specs:

  • Check incoming chat messages for specific strings
  • Play sound on string match
  • Config file containing the strings to search for

More advanced, but not strictly necessary:

  • Chrome desktop notification integration; sender and message that triggered a match

Okay, will do :stuck_out_tongue:
For Bukkit or Sponge?

1 Like

Client side mod was what I had in mind, but a server side plugin would also be nice! Saves the staff from having to install it, I suppose :stuck_out_tongue:

Bukkit would be my preferred choice as of now, since it’s what my server runs :slight_smile:

Thank you very much! :smiley:

Well, I could either make it as a clientside mod, or as a server → web client application. That would allow me to leverage js desktop notifications.

EDIT: I’ll start with a clientside mod, then I’ll look into the server → webpage thing again :stuck_out_tongue:

Whichever one is easier for you works for me :slight_smile:

Well then :stuck_out_tongue: Clientside it is. Version? 1.7 or 1.8?

1.8, please :slight_smile:

As an alternative, there’s a program out there that acts as a console Minecraft client that’s primarily for chattingwithout using the main game.

You can use my mod Macros for this. You could write a simple script which hooked the onChat event and used the PLAYSOUND command to play a sound.

1 Like

When will it be updated for 1.8?

I wrote a Denizen script that does that exact thing - it’s a serverside script that plays a sound whenever your username is used, could be customized within seconds to play sounds on any given text. It took less than ten lines.
My point isn’t that you should use my existing script (Unless you already have Denizen installed and want to take advantage of it), but rather that your request is very simple - anyone can make it pretty quickly. If you have any interest in it, I’d recommend you take this as an opportunity to learn basic modding/programming.

It’s already updated to beta if you know where to look. I just don’t make the betas super easy to find because I want people to pass the “initiative test” of finding the beta themselves (because I want feedback on betas).

Hint, my web server is browsable, check the thread.

1 Like

After a bit of an absence, here I am to reply to all of you :stuck_out_tongue:

@Xemiru: I already use that, but AFAIK it doesn’t have the sound notifications that were the main reason for my request :smile:

@mumfrey: Hm. This would probably have been the most viable option for me if @TBotV63 hadn’t graciously offered his help :stuck_out_tongue:

@mcmonkey: I don’t have Denizen, no, otherwise I probably would have done that :slight_smile: I am aware that it’s simple (see my OP), but Python wouldn’t help me much here. I would prefer to become more proficient in Python first, to avoid getting confused between the two languages. Then there is the fact that someone well versed in Bukkit and Java can do this in almost no time, whereas I’d have to first learn basic Java syntax, then start learning about the Bukkit API. That would take me hours. Normally I would do it regardless, in fact I usually go to great lengths to avoid having to bother others with my needs, but my time is very limited right now - hence the need for this mod at all.

Thank you all for chipping in, though. I’ll admit I didn’t know about the Macros mod :slight_smile: