Plugin for a Spigot Minecraft server
Commissioned by Zedwick
If a player's name is mentioned in chat their client will play a sound. By default, any substring of the player's name (three letters or longer) will also trigger a beep, however, a player can turn that functionality off via a command. A player can also turn the whole plugin off (for them) via a command.
Mentions are case-insensitive and must fill a whole word. For example, let us take two players: Alex and Steve. Then let us consider the following messages:
- "Hi Alexander!" => nobody is notified
- "Your name is Alex!" => Alex is notified
- "My two best friends are Lex and Tev" => Alex and Steve are notified
- "I also like Lexie and Tevvie" => nobody is notified
- Type /MentionBeep or /mb in-game for instructions.
- /mb toggle - turns the plugin on and off (for you only).
- /mb autonick toggle - switches between requiring your exact name and allowing shorter substrings.
There may be easier ways, but this is how I do it:
- Install Eclipse: https://www.eclipse.org/downloads/
- Add M2Eclipse to Eclipse: http://www.eclipse.org/m2e/
- Load the directory 'Minecraft-MentionBeep/MentionBeep' as a project in Eclipse.
- In the Goals textbox, type
package shade:shade
- Click the Run button
- Once the build succeeds, copy the file 'Minecraft-MentionBeep/MentionBeep/target/MentionBeep-X.jar' (where X is the version number) to the 'Plugins' subdirectory of your Spigot server
- Start (or re-start) your server