Skip to content

Add Event to control who hears the dragon death sound#10918

Closed
Lurkrul wants to merge 2 commits into
PaperMC:masterfrom
Lurkrul:DragonDeathSoundControl
Closed

Add Event to control who hears the dragon death sound#10918
Lurkrul wants to merge 2 commits into
PaperMC:masterfrom
Lurkrul:DragonDeathSoundControl

Conversation

@Lurkrul
Copy link
Copy Markdown

@Lurkrul Lurkrul commented Jun 19, 2024

Allows plugins to add/remove players from who will hear the dragon death sound.

While this has a niche use case, it will be helpful in those cases.

Servers that have their own customized enderdragon can use the event to change it to where all damage dealers will hear the noise.
This can also be used in the case where a server wants to allow players to ignore the dragon death sound.

@Lurkrul Lurkrul requested a review from a team as a code owner June 19, 2024 10:44
Comment thread patches/server/1028-add-event-so-you-can-modify-what-players-hear-the-dr.patch Outdated
@Lurkrul
Copy link
Copy Markdown
Author

Lurkrul commented Jun 24, 2024

The requested changes have been made.

@NewwindServer
Copy link
Copy Markdown
Contributor

Potential expansion to GlobalSoundEvent to include wither spawn sound and end portal open sound?

Copy link
Copy Markdown
Member

@Machine-Maker Machine-Maker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This event should probably be "generalized" a bit. I think a more general event is probably better. You won't get the "dragon" context, but smth that fires for each player that receives a level event packet of any type might be useful. We have a type that represents level events (Effect). I'm not sure if that event would fire too often though.

@Lurkrul Lurkrul closed this by deleting the head repository Jan 5, 2025
@Warriorrrr Warriorrrr moved this from Changes required to Waiting For Author in Paper PR Queue Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants