I recommend reloading the file config.yml, or simply pasting the function below the ANTI-POPUP SYSTEM function.
Remember: it must be placed at the very end, below, and not inside the ANTI-POPUP function.
# We have implemented a mention system for players.
# ╔═══════════════════════╗
# ║ MENTION SYSTEM ║
# ╚═══════════════════════╝
# Settings for player mentions using @PlayerName
mentions:
enabled: true
# Symbol used to trigger mentions (default: @)
# Note:
# - If you add a symbol, you will not be able to tab-complete player names,
# which can become annoying.
# - It is recommended to leave this empty.
# - Mentions will NOT work if you have a default color set in the /colors menu.
# This is only a recommendation.
symbol: ""
# Mention format in chat
# Use %player_name% as the placeholder for the mentioned player
# Examples:
# "&a&l@%player_name%"
# "&b&l[%player_name%]"
format: "&a&l@%player_name%"
# Message displayed in the action bar to the mentioned player
actionbar: "&e&lYou were mentioned by %player_name%!"
# Sound played when a player is mentioned
sound:
enabled: true
name: "BLOCK_NOTE_BLOCK_PLING"
volume: 1.0
pitch: 2.0
# ╔═══════════════════════╗
# ║ DISCORDSRV SUPPORT ║
# ╚═══════════════════════╝
# We have also added compatibility with the DiscordSRV plugin.
# Mentions will now work correctly when your in-game chat
# is linked to a Discord channel.