Skript icon indicating copy to clipboard operation
Skript copied to clipboard

on jump event

Open T3sT3ro opened this issue 11 years ago • 8 comments

add "on jump" event and on "coordinates change".

T3sT3ro avatar Aug 24 '13 12:08 T3sT3ro

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.

Njol avatar Sep 05 '13 16:09 Njol

But if you accepted a condition or two in the event in order to make it be called less often, would that work?

joeuguce99 avatar Sep 13 '13 02:09 joeuguce99

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.

Njol avatar Sep 13 '13 09:09 Njol

on (x|y|z) coordinate (increment|decrement) by %number%?

joeuguce99 avatar Sep 15 '13 18:09 joeuguce99

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.

Njol avatar Oct 03 '13 18:10 Njol

So couldn't it be something like "players y-coordinate increases/decreases [by %number%]" ?

T3sT3ro avatar Oct 06 '13 18:10 T3sT3ro

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.

Njol avatar Oct 20 '13 10:10 Njol

1.7 statistics?

joeuguce99 avatar Dec 12 '13 03:12 joeuguce99