PingChat
PingChat
A simple plugin that emulates IRC style pinging. You will be "pinged" when your name is mentioned in the chat using sounds already available in Minecraft (no client mods required). There are no permissions or commands; PingChat works right out of the box.
Features
- Lightweight. Designed with simplicity in mind. The source is available on GitHub and is less than 65 lines.
- Thread safe. PingChat is designed with the best coding standards in mind, and ensures proper use of thread safety, to ensure your server runs smoothly.
- Always works. PingChat will almost never need to be updated and will continue to work with future Minecraft and Bukkit versions.
Other
This plugin uses Metrics to collect stats such as plugin version, server version, and players online. If you want to see everything collected, visit our Metrics page. Edit /plugins/PluginMetrics/config.yml to disable the anonymous data collection.
This plugin also includes an auto updater which can be disabled in the configuration.
Feel free to leave suggestions and feedback below! Please report all bugs on GitHub.
If I say my username in chat, It will not set off a ping when I also use punctuation.
for example if someone says 'Tdarnell.' I get no sound (and we have a plugin that forces correct grammar, so it will always have a full stop if its just my name)
works fine if its not got punctuation after it. also using a comma will result in no sound. please make it ignore punctuation when looking for player names :) thanks
@slayr288
It splits the message that way it can use getPlayer() on each word and attempt to have it match a player name (for partial names). It now uses the contains method on each word which should fix that:
If you split the message, you will get @UltrafaceGuy's problem.
Why not use the contains method?
@GunfighterJ
Not sure what you're talking about? There is a delay of 1/4 of a second to prevent chat lag, and this plugin was created before that one.
So is this basically a repeat of http://dev.bukkit.org/bukkit-mods/chatping but it unnecessarily sends every event through a delay?
@chaseoes
Thanks for the update on that! Something that also may be worth looking at: punctuation cancels the ping. This is only really annoying because of the urge to type "Playername, look at this!" or "Watch out Playername!"
I'm thinking maybe make it so punctuation reads no further on the current word or something like that. I'm sure you'll have a better solution :P
Classy, i like it. The highlight would be nice, but not necessary at all. Maybe like configurable.
@chaseoes
Even with ProtocolLib?
@Apple_columb
No.
May be it's possible to highlight your name in the chat? Only for you.
@UltrafaceGuy
@ReaperOftheMine
Both will be added in the next update.
Also, can you add an option to not be pinged when you mention your own name?
@chaseoes Awesome! Though my name starts with a P, and I get pinged when somebody so much uses :P.
Could an option be added to only ping if X letters of partial names are detected? If I get it to 4 for example, chase chaseous and chas would ping you, whereas c ch and cha would not.
Funny plugin ;). I love it.
Version 1.1 has been uploaded with the ability to detect partial names (the same as included in vanilla with tab complete).
It would be awesome if you could detect nicknames too!
Oh man, this really helps admins like me who like to go afk for a bit and surf the web. Great that I don't have to check back every minute to see if someone needs my help. Here's a suggestion, could you add a section in the config where you define which words make the ping sound? Like, for example, my full minecraft name is Taknersator, but everyone calls me Tak. This applies to most people in my server, even with the vanilla auto-complete feature, we just call them by the first syllable in their name. If you could do that this plugin would be perfect!
This is really cool! I have wanted this for a while now(: Along with those suggestions I have one of my own: Maybe(later) add support(optional) for nicknames with popular plugins like Essentials etc. while using real names instead of nicknames still works.
There was already a plugin like this, but it was run by an amateur developer who had many bugs and could never get the plugin just right. Glad to see its in the hands of chaseoes here :) Downloaded.
Suggestion: Config option to enable your name showing up a certain color if its mentioned, but only to that player.
Example: Player1 and Player2 are in a game Player2: Hey Player1, whats up? To Player1 his name seems a yellow color, but to Player2 it looks completely normal.