chat hover

DialogMaster adds interactive hover effects and click actions to chat messages using Minecraft's Adventure API.

Chat Hover Triggers

Configure hover messages inside config.yml under the chat-hover: block.

Configuration fields

Field Description
enabled Toggle this trigger on/off
text The chat message (MiniMessage + PlaceholderAPI)
hover.type show-text or show-item
hover.content Text shown when hovering (for show-text)
click.type run-command, suggest-command, or copy-to-clipboard
click.value The command or text payload

Example Configuration

chat-hover:

  join-message:
    enabled: true
    text: "<green>[+] <aqua>%player_name%</aqua> joined!"
    hover:
      type: show-text
      content: |
        <gray>Balance: <gold>$%vault_eco_balance%
        <gray>Kills: <red>%statistic_player_kills%
        <gray>Click to view profile
    click:
      type: run-command
      value: "/profile %player_name%"

  quit-message:
    enabled: true
    text: "<red>[-] <aqua>%player_name%</aqua> left the server."
    hover:
      type: show-text
      content: "<gray>Goodbye, <aqua>%player_name%</aqua>!"
    click:
      type: suggest-command
      value: "/msg %player_name% "

  server-ip-broadcast:
    enabled: true
    text: "<gray>Connect at: <aqua>play.yourserver.net"
    hover:
      type: show-text
      content: "<gray>Click to copy the IP!"
    click:
      type: copy-to-clipboard
      value: "play.yourserver.net"

Item Share (/share)

Lets players broadcast the item in their main hand to chat. Hovering over the item name shows the full native Minecraft item tooltip (name, enchants, lore).

chat-hover:
  item-share:
    enabled: true
    trigger-command: "share"
    prefix: "<gold>[Share] <aqua>%player_name%</aqua> is showing: "
    hover:
      type: show-item
    click:
      type: run-command
      value: "/inspect %player_name%"

The command is registered dynamically based on trigger-command.

Note

Permission: dialogmaster.share.

Not an official Minecraft product. Not approved by or associated with Mojang Studios or Microsoft.
Type a query to search documentation...
Link copied to clipboard!