-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Make CommandSourceStack respect hidden players #11556
base: master
Are you sure you want to change the base?
Conversation
We have this diff already Paper/patches/server/0988-Fix-entity-type-tags-suggestions-in-selectors.patch Lines 80 to 92 in 85c870e
Either we remove this or duplicate it. |
Okay, thanks for the quick check 👍 |
79c7627
to
491d15b
Compare
While this works, we should probably at least discuss if we want certain commands to obey this visibility. |
Perhaps we can add an exclusion for operators? |
I think excluding operators makes sense. |
491d15b
to
c241489
Compare
just an idea, if anyone has a solution they find better please leave a comment |
I don't like making more functionality dependant on ops. The concept of "op" is not a good thing to really encourage more. People should be using proper permissions. I thought about maybe a new permission that could be granted to bypass all visibility hiding, but I'm not sure about that either. |
I don't know. The paper command for example also works for ops and mixing op and permission requirements sucks. |
i agree with machine, considering servers will most likely not give staff operator but instead give them the permissions they need i think it would be smarter to add a permission for this. i don't think comparing this to the paper command is fair as the paper command is more of a debug command rather than something a staff member would actually have to use frequently |
Ok, I think we want a permission, but just for command suggestions, |
fixes #11545