Skip to content

An addon plugin for InteractiveChat to support PacketEvents instead of ProtocolLib.

License

Notifications You must be signed in to change notification settings

TerraByteDev/InteractiveChat-PacketEvents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InteractiveChat-PacketEvents (WIP)

An addon plugin for InteractiveChat to support PacketEvents instead of ProtocolLib.

Why use another plugin?

PacketEvents shades Adventure, but doesn't relocate it.
InteractiveChat shades Adventure and relocates it.

This creates several issues when it comes to using Adventure, which IC uses heavily.
It is possible to do this through Reflection within IC itself, however that impacts maintainability and readability.

In the end, we decided to split PacketEvents support into two parts:

  1. Remove the inherent dependency on ProtocolLib.
  2. Allow external plugins like this to register their own ProtocolProvider.

This allows us to use the now-reflected Adventure API for InteractiveChat, and the normal Adventure which PE / the server will provide.

You can see the corresponding PR here: LOOHP/InteractiveChat#256

About

An addon plugin for InteractiveChat to support PacketEvents instead of ProtocolLib.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages