Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a PlayerPreTeleportEvent event called before the teleportation… #10263

Closed

Conversation

Will33ELS
Copy link

Hello,

I would like to propose the addition of a new event to Paper that would be called before a player's teleportation attempt.

In my current scenario, I have a cosmetic plugin that adds a passenger to the player (a TextDisplay), and all teleportations are blocked because the player has at least one passenger, with no event being called to remove it. This forces the use of NMS (which is discouraged today).

The PlayerPreTeleportEvent event would be invoked before all checks and would allow plugin developers the opportunity to ensure compliance with checks before teleportation occurs.

@Will33ELS Will33ELS requested a review from a team as a code owner February 19, 2024 10:57
@Leguan16
Copy link
Contributor

I already opened a PR that adds this event: #10173

@Will33ELS
Copy link
Author

@Leguan16 Well noted, thank you. Do you know when your PR will be processed?

@Leguan16
Copy link
Contributor

Nope. Can be tomorrow, can be in 2 weeks. But you can leave feedback if you want :)

@Will33ELS Will33ELS closed this Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants