Optimize API/Events for TabList
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
The issue points to VelocityTabList#processBackendPacket; start there and trace how backend tab-list changes and player-list keys become outgoing packets. Define the event/API behavior for modifying or suppressing tab-list updates, including public-key replacement, and verify that the outgoing package reflects those changes.
Written by the indexing model from the issue text.
Description
API Changes
Currently the changes from the backend servers are passed to the client without any event or api to interrupt/change stuff.
E.g. it's not possible to change the display name without hacks. It would be nice to have an event to modify the added or changed tablist item and to prevent the proxy from sending those changes.
Another reason to change stuff there
Currently modifications at the player list will not affect the sent package. This may be a problem:
In VelocityTabList#processBackendPacket the key should be replaced by the public key when no key is present from the backend server. I don't know how this should happen but with the current implementation the key of the player will only be replaced on the server, the package is sent without any modification.
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 960
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PaperMC/Velocity
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
type: bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Let plugins control the client-facing onlineMode flag (26.2+) when they rewrite the profile UUID Opentype: feature
Difficulty 5/5 Over a week Newbie friendliness 35/100
All issues in PaperMC/Velocity
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
objectionary/hone-maven-plugin#1061 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
spring-projects/spring-modulith#1895 ·