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

Hiding vanished players #26

Closed
Loapu opened this issue Oct 24, 2023 · 2 comments · Fixed by #27
Closed

Hiding vanished players #26

Loapu opened this issue Oct 24, 2023 · 2 comments · Fixed by #27

Comments

@Loapu
Copy link
Contributor

Loapu commented Oct 24, 2023

Hey, would it be possible to hide vanished players from the list? You could hook in PAPIProxyBridge for example and use the PAPI placeholders to detect players in a vanished state.

Kind regards,
Loapu

@voruti
Copy link
Owner

voruti commented Oct 24, 2023

Sounds useful. Which mods/plugins can use the bridge (on the mc server side) i.e. which mod/plugin are you currently using to vanish players?

Since I'm currently not using anything like that, I probably don't find the time to implement this myself in the near future. You're welcome to open a pull request if you like to do the implementation...

@Loapu
Copy link
Contributor Author

Loapu commented Oct 25, 2023

Hey, I thought it would be better to write a dedicated bridge for vanished status, as this would not require the server owners to use potentially two extra plugins per server. Here is the bridge I coded, and here the PR for the optional dependency.

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 a pull request may close this issue.

2 participants