Skip to content

Fix default Minecraft join message not being used #5848

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

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

Conversation

zp4rker
Copy link

@zp4rker zp4rker commented Jun 27, 2024

Information

This PR fixes #5796.

Details

Proposed fix:

  • Add permission check for essentials.silentjoin/essentials.silentjoin.vanish
  • Remove broadcast of join message when allowSilentJoinQuit() is true

Environments tested:

OS: Windows 11

Java version: Corretto-21.0.3.9.1

  • Most recent Paper version (1.20.6-147-ver/1.20.6@e41d44f)
  • CraftBukkit/Spigot/Paper 1.12.2
  • CraftBukkit 1.8.8

Demonstration:

image

zp4rker added 2 commits June 27, 2024 23:17
Default Minecraft join message not used when allow-silent-join-quit set to true
Remove unnecessary broadcast of join message since default join message is working again

Fixes EssentialsX#5796
Copy link
Member

@JRoy JRoy left a comment

Choose a reason for hiding this comment

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

there's a chance that the User is not fully loaded during this point of the event, you should probably just perform the permission check on the Bukkit player object rather than the User object

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.

Minecraft default join message is not translated
2 participants