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

SkyLicks picture SkyLicks  路  3Comments

smmmadden picture smmmadden  路  3Comments

kakd picture kakd  路  3Comments

elijahblooom picture elijahblooom  路  3Comments

Castiella picture Castiella  路  3Comments