Skip to content

Added support to hide Vanished players from Teams#1499

Merged
tastybento merged 18 commits into
BentoBoxWorld:developfrom
Paul19988:develop
Aug 23, 2020
Merged

Added support to hide Vanished players from Teams#1499
tastybento merged 18 commits into
BentoBoxWorld:developfrom
Paul19988:develop

Conversation

@Paul19988

Copy link
Copy Markdown
Contributor

Added player.CanSee(Player) to check if player is hidden by vanish plugin,
Added custom layout to support hiding offline times for Coop & trusted roles as these roles do not have to be accepted by the recipient.

@tastybento tastybento left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There is a Util class method that I'd prefer to be used in here somewhere - Util.getOnlinePlayerList(User user) will provide a list of visible players for that user.

@Paul19988 Paul19988 requested a review from tastybento August 23, 2020 01:36
@Paul19988

Copy link
Copy Markdown
Contributor Author

Requires re-approval after changes made

@Poslovitch Poslovitch added Status: Need review Waiting for a review to be made on this Pull Request Type: Bug labels Aug 23, 2020

@Poslovitch Poslovitch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Good intent, and thanks for your work, but I find the changes a bit confusing. I've pinpointed that in my review comments. Have a look at them, please.

Comment thread src/main/resources/locales/en-US.yml Outdated
@Paul19988 Paul19988 requested a review from Poslovitch August 23, 2020 15:56

@Poslovitch Poslovitch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks much better!
Thanks for your quick changes.

@tastybento Please review, and I'll merge the changes.

@Poslovitch Poslovitch linked an issue Aug 23, 2020 that may be closed by this pull request

@tastybento tastybento left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the PR.

@tastybento tastybento merged commit 01c2c30 into BentoBoxWorld:develop Aug 23, 2020
@tastybento tastybento added Status: Done This issue has been completed or answered. This pull request has been merged. and removed Status: Need review Waiting for a review to be made on this Pull Request labels Aug 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Done This issue has been completed or answered. This pull request has been merged. Type: Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Various commands can expose vanished players

3 participants