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

Feature Request: Add event to catch resource pack remove #1308

Open
Rubenicos opened this issue Apr 26, 2024 · 0 comments
Open

Feature Request: Add event to catch resource pack remove #1308

Rubenicos opened this issue Apr 26, 2024 · 0 comments

Comments

@Rubenicos
Copy link

While ResourcePackRequestPacket has the event ServerResourcePackSendEvent and ResourcePackResponsePacket the event PlayerResourcePackStatusEvent
The packet RemoveResourcePackPacket doesn't have any event like ServerResourcePackRemoveEvent

Why this is relevant?
I was making a proxy plugin that cancel any resource packs re-sending, on Bungeecord I simply use a library to catch packets, but in Velocity it can be made entirely with API events, but some backend plugins like ViaVersion or ItemsAdder clear any resource pack when player switch servers.
So without an event like ServerResourcePackRemoveEvent, that resource packs clearing sent by backend plugins cannot be cancelled unless using a library to catch packets directly making Velocity events useless.

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

No branches or pull requests

1 participant