Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Ability to send a packet instantly #79

Open
MelonHell opened this issue Nov 29, 2023 · 1 comment
Open

Ability to send a packet instantly #79

MelonHell opened this issue Nov 29, 2023 · 1 comment

Comments

@MelonHell
Copy link

Minestom sends packets to the player every tick, but in some cases, for example for some animations, it is necessary to send packets with a frequency greater than the server's tick rate. It would be very convenient to have a Player::sendPacketInstantly method

@mworzala
Copy link

Doing this would require a bunch more synchronization on socket writes, which may have pretty bad performance side effects, although I dont have numbers for this ready to go.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants