zArrowChat

Mentions

Notify players by name with a sound, an action bar message, and an optional title.

When a player types another player's name in chat, zArrowChat can highlight the name and alert the mentioned player. Players can turn their own alerts off, and a cooldown stops mention spam. Everything is set in mentions.yml.

How detection works

zArrowChat matches exact usernames, case-insensitive. Typing Steve and steve both mention the player named Steve. Only real online usernames are matched, so ordinary words are left alone.

A matched name is restyled in the message using highlight-format (by default a bold gold @name).

Notification channels

The mentioned player can be alerted three ways. Each is toggled on its own:

ChannelWhat it doesDefault
soundPlays a sound to the mentioned playeron
actionbarShows a message above the hotbaron
titleShows a title and subtitle on screenoff

The action bar and title text use <sender> for the name of the player who sent the mention.

Opt-out and cooldown

Players can turn their own mention alerts off with /togglementions. The choice is saved, so it survives reconnects.

cooldown-seconds sets how long to wait before the same player can be alerted again. This stops rapid repeat pings.

Mention keys

KeyWhat it controlsDefault
enabledTurn mentions on or offtrue
toggle-permissionPermission to toggle your own alertszarrowchat.mentions.toggle
notify-permissionPermission to receive alertszarrowchat.mentions.notify
cooldown-secondsPer-player cooldown between alerts8
highlight-formatHow a mention renders in chat<gold><bold>@<player></bold></gold>
sound.enabledPlay a sound on mentiontrue
actionbar.enabledShow an action bar on mentiontrue
title.enabledShow a title on mentionfalse

Example config

# mentions.yml
enabled: true
toggle-permission: "zarrowchat.mentions.toggle"
notify-permission: "zarrowchat.mentions.notify"
cooldown-seconds: 8
highlight-format: "<gold><bold>@<player></bold></gold>"

sound:
  enabled: true
  name: "ENTITY_EXPERIENCE_ORB_PICKUP"
  volume: 0.8
  pitch: 1.25

actionbar:
  enabled: true
  text: "<gold><sender></gold> <gray>mentioned you."

title:
  enabled: false
  title: "<gold>Mentioned"
  subtitle: "<gray><sender> mentioned you"

Permissions

PermissionWhat it grantsDefault
zarrowchat.mentions.toggleToggle your own mention alertstrue
zarrowchat.mentions.notifyReceive mention alertstrue

On this page