Suggestion Open

request for PlayerToggleFlightEvent trigger type for MythicRPG / MythicCrucible

#6715 opened by Unknown 9 months ago

Unknownreported this suggestion

Summary

https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/player/PlayerToggleFlightEvent.html

as an event trigger for MythicRPG / MythicCrucible

Usage

I am currently trying to make a double jump skill, nothing I do feels as intuitive as simply double tapping space.

Value

An nice, intuitive trigger for MythicRPG / MythicCrucible, for any kind of upward or forward mobility, like a leap or double jump.

Priority

High because double jump is such a common script.

Implementation

https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/player/PlayerToggleFlightEvent.html

This event has a lil quark that it only works when AllowFlight is true, and when it is true the player takes no fall damage

There are 2 mechanic already that toggles AllowFlight for the player, those being a toggle mechanic - setflying{flyingy=true/false} and an aura mechanic - fly{auraname=#flying} so no additional mechanics needs to be added for this trigger to function

Sign in to join the discussion.