Essentials: Add teleport warmup event to API

Created on 25 Apr 2019  路  2Comments  路  Source: EssentialsX/Essentials

Feature request

Feature description
An event called when teleport warmups start.

How the feature is useful
This would allow other plugins to listen to the event and add their own functionality (like #2468).

open to PR enhancement

Most helpful comment

2590 doesn't implement this despite its name - it adds an event that is called between the end of the warmup and the teleport safety checks, which is... not particularly useful. I'm considering reverting this and adding two events in their place, a TeleportWarmupEvent (before the warmup) and a PreTeleportEvent (in place of that PR's event). The PlayerTeleportEvent implemented in #2590 is largely useless in its current form.

All 2 comments

Implemented in #2590.

2590 doesn't implement this despite its name - it adds an event that is called between the end of the warmup and the teleport safety checks, which is... not particularly useful. I'm considering reverting this and adding two events in their place, a TeleportWarmupEvent (before the warmup) and a PreTeleportEvent (in place of that PR's event). The PlayerTeleportEvent implemented in #2590 is largely useless in its current form.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luckybl0ck picture luckybl0ck  路  25Comments

Techno3600 picture Techno3600  路  20Comments

Tsuser1 picture Tsuser1  路  17Comments

AdminZero picture AdminZero  路  17Comments

MrMarvel picture MrMarvel  路  36Comments