Sueta

PlayerMention

1.1

Plays a sound when mentioning a player in chat.

·Plugin

PlayerMention
is a plugin that plays a sound when mentioning a player within your server.

Simple to use.
1- Download JAR file.
2- Put into plugins folder.
3- Restart your server.
4- DONE!

Options and messages are configurable:

config.yml
# Plugin configuration

prefix: "&8[&5Player&dMention&8] " # Prefix for messages.
mention_color: RED # Example colors: RED, BLUE, GREEN, YELLOW, etc...
mention_sound: ENTITY_PLAYER_LEVELUP # List of sounds: [https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html)
mention_cooldown_seconds: 10 # Cooldown for mentions (in seconds).

# Messages:

mention_cooldown_message: "&cYou must wait %time% seconds between each mention." # %time% will be replaced by the value you put in "mention_cooldown_seconds"
no_permission_message: "&cYou do not have permission to execute this command."

Commands and permissions

/pm on - enable mentions
/pm off - disable mentions

These commands are for each player, they can activate and desactivate their mentions.

To use these commands you need the "pm.use" permission.

If you test the plugin in a version lower than 1.17 please let me know.
This is my first plugin, recommendations and suggestions are welcome :) my discord: leean14#5313

Similar projects

Plugin →