Sueta
CL

ClickToQuote

1.0

Click on a message to quote it. Compatible with other chat formatting plugins.

·Plugin

ClickToQuote

Quote-DemoGif-1.gif

This plugin allows players to rapidly quote messages by clicking on them.

Players only have to click on the chat message they want to quote and it will automatically copy itself to the chat bar.

Requirements: ProtocolLib and Java 8 (or higher)

Features

  • Lightweight (only 8kb).
  • It works at packet level so it does not change the chat format set by other plugins.
  • It has a built-in regex-based formatter controlling which parts of the message should be excluded when quoting messages .
    For example, there is a demo message: "<Unity41> I love Rio de Janeiro"
    Without any regex, players will quote the whole thing, i.e. "<Unity41> I love Rio de Janeiro"
    With a regex "<.+> " (without quotation marks), which matches and excludes "<Unity41>", players will only quote "I love Rio de Janeiro"
  • It can show a prompt message like "Click to quote this message" when the cursor is hovering on a chat message, and of course, this feature can be disabled.

Demo Images

Working with other chat formatting plugins

Quote-DemoGif-2.gif

Disabling hovering prompt

Quote-DemoGif-3-Disabling-Hovering-Prompt.gif

Tips
You can use online regex testers ( RegexTester.com ) to test your regex.

Make sure that your regex matches the part that you want to get rid of when quoting.

Examples

Regex-Demo-1.PNG Regex-Demo-2.PNG

Similar projects

Plugin →