Skip to content

Commit

Permalink
Prevent players from resetting each other's skills
Browse files Browse the repository at this point in the history
The child permission has the value set to false. From http://bukkit.gamepedia.com/Plugin_YAML: "a child node of false inherits the inverse parent permission". Having the value set to false grants the permission to reset other players' skills to everyone that doesn't have the mcmmo.skillreset permission, which by default nobody has.
  • Loading branch information
filoghost committed Apr 24, 2017
1 parent 7d05c9d commit 0911c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1900,7 +1900,7 @@ permissions:
description: Allow reset of skill levels
children:
mcmmo.commands.skillreset.all: true
mcmmo.commands.skillreset.others.all: false
mcmmo.commands.skillreset.others.all: true
mcmmo.skills.*:
default: false
description: Implies all mcmmo.skills permissions.
Expand Down

0 comments on commit 0911c86

Please sign in to comment.