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

question: permission to enter the area #309

Open
Smorted opened this issue Jul 8, 2021 · 2 comments
Open

question: permission to enter the area #309

Smorted opened this issue Jul 8, 2021 · 2 comments

Comments

@Smorted
Copy link

Smorted commented Jul 8, 2021

is there a way to make it that only players with certain permission are able to enter a specific area?

like in simplewarp plugin when i make an area i can assign the permission "simplewarp.warpname" to a group and make the warp only accessible for those who have its permission

as far as i see theres only "whitelist" feature

@genboy
Copy link
Owner

genboy commented Jul 19, 2021

Hi @Smorted, not directly, sorry. I can take a look what adjustments are needed and will try to find some time next couple of days to see how to accomplish that with specific permissions.

@Smorted
Copy link
Author

Smorted commented Jul 19, 2021

well, i made it work for me by a way that i don't think is practical, maybe you can do it better

i basically added one more check to Festival.php at line 1368 which is $player->hasPermission("festival.$name")

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

No branches or pull requests

2 participants