Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add event to modify and/or block backend updates to the tablist #1435

Draft
wants to merge 4 commits into
base: dev/3.0.0
Choose a base branch
from

Conversation

Timongcraft
Copy link
Contributor

@Timongcraft Timongcraft commented Sep 20, 2024

This is a concept implementation to allow plugins to modify the tablist that is sent by the backend server.
While it is completly functional, there are aspects I'm not quite fond about, for example that there's a bit of duplicate code now.
Please let me know if you think there's a better design that could be implemented!
Also, if you think the version-specific behavior should somehow be handled internally, please let me know.

Should fix #870
Inspired by #874

@Timongcraft Timongcraft changed the title feat: Add event to modify and/or block updates to the tablist feat: Add event to modify and/or block backend updates to the tablist Sep 20, 2024
@Timongcraft
Copy link
Contributor Author

Since no suggestions/change requests were made on Discord or here, I'm gonna mark this as ready

@Timongcraft Timongcraft marked this pull request as ready for review September 30, 2024 17:55
@Timongcraft
Copy link
Contributor Author

The current implementation is flawed and needs to be re-thought.
(Blocking the event for too long will make nearby players invisible)

@Timongcraft Timongcraft marked this pull request as draft October 10, 2024 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimize API/Events for TabList
1 participant