JumpEvent and ToggleSneakEvent?

I want to port a plugin which needs to listen when a player jumps or when he toggles his sneak’s status.
I did not find events for that. I should search elsewhere ? Or they do not exist ?

There is no way to detect when a player jumps because the server only tracks a player’s position. There is no SneakingEvent, but there is SneakingData. If you want more information on how to use the Data API look here.

1 Like

Can we listen to a value change ? How ? (for SneakingData)

Not possible yet, but there is an open issue for such event

1 Like