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

WorldEdit support #11

Open
Gegy opened this issue Nov 30, 2020 · 1 comment
Open

WorldEdit support #11

Gegy opened this issue Nov 30, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@Gegy
Copy link
Member

Gegy commented Nov 30, 2020

It is possible to override the WorldEdit permission provider:
https://github.com/EngineHub/WorldEdit/blob/f2ce020da059718e34342c149172944dfd02b775/worldedit-fabric/src/main/java/com/sk89q/worldedit/fabric/FabricWorldEdit.java#L345-L347

@Gegy Gegy added the enhancement New feature or request label Nov 30, 2020
@amnotbananaama
Copy link

This isn't a code solution, but a workaround that I've employed for WorldEdit specifically. One thing that I was able to do was set cheat-mode=true in the config/worledit/worldedit.properties file. This allows all players access to all WorldEdit commands, and bypasses the permission provider check. I then manually configured what WorldEdit commands I wanted each Role to have access to in my roles.json file.

This was before you added the new "permission_level" Override type, but personally I've found it to be the easiest way to special case WorldEdit. I'm not sure if this helps you but I hope it does!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants