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

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

itsme-to
Copy link

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

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.

1 participant