Currently available for 1.8 and 1.9-1.12.1.
NotifyUser is a quick-and-easy chat plugin for sending chat notifications. When a player "tags" another user in the chat area (e.g. "@Notch"; supports tab completion), their username will be highlighted and they will receive a customizable alert, using sounds already available in Minecraft.
As a result of a desire for a simple ping plugin that's still a bit more customizable, NotifyUser has several configuration preferences for choosing different sounds, muting notifications, tagging & pinging options.
Though customizable, NotifyUser works out of the box and requires no extra set-up to use. Just drop the Jar file into your server's plugin folder, restart, and you're good to go. Or, if you so wish, tweak the default configuration file. It's up to you!
There are two ways to send notifications to other users, through public chat tagging and a command.
To ping a player from the chat, simply "tag" them with the appropriate symbol: Hey, @TeddyRoosevelt! What's up?. The tagged username will become highlighted and the mentioned user will receive a sound alert. This is not case-sensitive, and it recognizes partial usernames (configurable), so @Teddy and @teddyroosevelt work just as well.
If you want to ping a player without making a public mention, you can type /nu [username] without any symbol in order to notify them directly. They will receive a message saying who pinged them and a sound alert (these can be changed). The same name sensitivity as the first method applies.
If a player wishes to not receive sound alerts or on-command pings, they can use /nu mute. By default, text tag-highlighting will still go through, but both sound alerts and pings made through the /nu command will be blocked. This acts as a toggle, and can be turned off by typing /nu mute again.
All commands can also be executed with /notifyuser and /nfy.
notify option in config. (default: false)highlight-for-all option in config (default: false)When creating custom messages to be seen by players, there are several placeholders you should use:
min-name-length).Custom messages can be colored using '&' color codes.
There are several optional preferences for customization within the config.yml if you so desire. After editing and saving the file, either restart the server or type /nu reload to update the plugin's settings.
Changing the sound
You can change the sound a player hears when they are pinged with the /nu set [SOUND_NAME] command in-game, or by editing notifications.sound-effect in the config file.
To determine the name of the alert you want, refer to these lists of sounds: pre-1.9 | 1.9+). Be sure to include any underscores and correct capitalization.
Controlling volume and pitch
If you want to set how loud or high-pitched the sound is, you can do so by editing notifications.volume and notifications.pitch in the config file, respectively.
The volume determines how loud or quiet the alert noise will be when mentioned or pinged. 1.0 corresponds to full volume.
The pitch determines how high or low pitched it will sound. 1 represents the noise's normal range of pitch.
The tag handle
The tag handle is the symbol that a player must type right before a username in order to activate the ping mention. If a valid username is tagged, it will become highlighted in the chat area for easy noticing, and a ping will be sent to that player (unless it is muted).
By default, the tag handle is @, however it can be easily changed by editing chat.symbol in the config. Though a single special character is reccomended, the tag handle can be any one string you wish (e.g. >> or Wololo).
You can also change the color that the tagged username will be highlighted by adding an "&" color code in chat.highlight-color.
If needed, it is also recommended to change the default value (white) in chat.message-color to whichever color regular chat uses (e.g. if you set this to light yellow in another plugin such as Essentials, you would put '&e' here). This does not override chat colors defined elsewhere; it only ensures proper formatting for messages containing pings.
Choosing how pings work
NotifyUser gives you the option of tweaking how a ping mention will be activated in the main chat or silent commands. You can change whether a full name is required or not and choose the minimum amount of letters of a username that a person must type in order to ping someone. Anything tagged below this number will be ignored, not highlighted, and no alert made.
To determine whether or not an on-command ping will alert the recipient or not, change chat.notify to false. When true, the command /nu [username] will send both a sound alert and silent configurable message `"SENDER has pinged you!" to the user. Alternatively, setting this to 'anonymous' will send a similar message without the sender's name.