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

Spawn teleportation message sent after teleportation #6025

Merged
merged 2 commits into from
Feb 22, 2025

Conversation

itsme-to
Copy link
Contributor

Information

Details

Proposed feature:
To maintain consistency with the teleportation messages for homes and warps, the “teleporting” message is now sent after the teleportation is completed (useful when there is a delay).

I am also proposing this PR because I have a plugin that adds sounds to messages, even those from other plugins. I would like to add a sound to teleportation, just as I did for home and warps. However, since the spawn message is sent beforehand, if there is a delay before the player is teleported, the sound plays immediately instead of after the teleportation. This change would fix that and make it more consistent with warps and homes.

Thanks in advance!

Environments tested:

OS: MacOS
Java version: 21

  • Most recent Paper version (1.21.4, git-Paper-BUILD)
  • CraftBukkit/Spigot/Paper 1.12.2
  • CraftBukkit 1.8.8

@JRoy JRoy merged commit 263dab5 into EssentialsX:2.x Feb 22, 2025
1 check passed
@JRoy
Copy link
Member

JRoy commented Feb 22, 2025

I don't know how i like no message being sent until the teleport happens but that's a story for another PR

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