PaperMC / PaperMC/Velocity

Proper support and integration for Chat registry

Open
#749 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: feature
Dominant language
Java
Stars
2.3k
Forks
959
Avg merge
5d 10h
Merged PRs (30d)
2

Description

Messages sent to chat by (my) plugins in Velocity, using kyori, get prefixed with '<> ', eversince 1.19. The following code was used:

TextComponent.Builder component =
  Component.text()
    .append(Component.text(part1))
    .append(Component.text(part2));

this.proxy.getAllPlayers().forEach(player -> player.sendMessage(component));

image
This did not happen pre-1.19. It also does not happen for any message sent from a Paper server.

Velocity 3.1.2-SNAPSHOT (git-74edac96-b153)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the plugin message path shown in the Java snippet and compare it with messages sent from a Paper server. Investigate the chat registry integration responsible for the added prefix; done means identifying the 1.19 regression and confirming that plugin messages no longer receive the unexpected prefix.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.