PaperMC / Velocity

The modern, next-generation Minecraft server proxy.

Home Page:https://papermc.io/software/velocity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Add event to catch resource pack remove

Rubenicos opened this issue · comments

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.