Skript
Skript copied to clipboard
on jump event
add "on jump" event and on "coordinates change".
The 'on jump' event is tricky, but could be done. I'll likely not add the move event though as it will definitely slow down even fast servers.
But if you accepted a condition or two in the event in order to make it be called less often, would that work?
There's already an 'on move on' event that gets called when a player moves onto a new block. The only other optimisation I can think of is to make an event that fires whenever a player's block changes.
on (x|y|z) coordinate (increment|decrement) by %number%?
I just realized that without a proper jump event by Bukkit it's hardly possible to make it myself, as knockback would trigger my jump event as well.
So couldn't it be something like "players y-coordinate increases/decreases [by %number%]" ?
That would hardly be useful, as the coordinate only changes very slightly in every tick, and it would also be called every time some creative player is flying upwards at sufficient speed.
1.7 statistics?