Velocity icon indicating copy to clipboard operation
Velocity copied to clipboard

Feature Request: Add event to catch resource pack remove

Open Rubenicos opened this issue 10 months ago • 1 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.

Rubenicos avatar Apr 26 '24 17:04 Rubenicos

the client would need to be modified

ShawnFoxter avatar Jun 28 '24 21:06 ShawnFoxter