[feature] Add Player::sendRawPacket
to allow sending payloads directly to a player
#55
Labels
enhancement
New feature or request
Is your feature request related to a problem? Please describe.
Plugins, such as anti-cheat plugins, often require more granular control over packet sending. Creating a wrapper class for all packets can be a tedious process. As a temporary solution, allowing plugins to send binary payloads directly would be beneficial. Plugins would be responsible for encoding the packets correctly. In the future, we may add wrappers for all packets.
Describe the solution you'd like
Add
Player::sendRawPacket
to allow sending binary payloads directly to a player.The text was updated successfully, but these errors were encountered: