• Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server

Fixed Benders can bend subelements without permission

Status
Not open for further replies.

StrangeOne101

Staff member
Plugin Developer
Moderator
Verified Member
Problem: Players can bend and use abilities of subelements they don't have permission for. Example: An earthbender without "bending.earth.lavabending" can still use lavabending.

What should happen: If they don't have access to the right permission, they shouldn't be able to use it even when they have bending.ability.<ability>

Version: 1.7.0 Beta 12
 

Finn_Bueno_

Staff member
Plugin Developer
Verified Member
I believe they are all default, so you have to add -bending.earth.lavabending, etc.
 

StrangeOne101

Staff member
Plugin Developer
Moderator
Verified Member
I believe they are all default, so you have to add -bending.earth.lavabending, etc.
I have added the negative perm in the permissions file. It still doesn't work.

My current permissions file (relating to bending that is):
Code:
- bending.earth
- bending.fire
- bending.water
- bending.air
- bending.chi
- bending.command.choose.*
- bending.player
- -bending.command.rechoose
- -bending.admin
- -bending.earth.sandbending
- -bending.earth.metalbending
- -bending.earth.lavabending
- -bending.air.flight
- -bending.air.spiritualprojection
- -bending.fire.combustionbending
- -bending.fire.lightningbending
- -bending.water.bloodbending
- -bending.admin.*
- -bending.ability.elementsphere
- -bending.ability.spiritbeam
- -bending.ability.avatarstate
- -bending.avatar
- bending.*
- bending.ability.*
 
Status
Not open for further replies.
Top