Browse Source

Prevent players from resetting each other's skills

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.
filoghost 8 năm trước cách đây
mục cha
commit
0911c86422
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/main/resources/plugin.yml

+ 1 - 1
src/main/resources/plugin.yml

@@ -1900,7 +1900,7 @@ permissions:
         description: Allow reset of skill levels
         description: Allow reset of skill levels
         children:
         children:
             mcmmo.commands.skillreset.all: true
             mcmmo.commands.skillreset.all: true
-            mcmmo.commands.skillreset.others.all: false
+            mcmmo.commands.skillreset.others.all: true
     mcmmo.skills.*:
     mcmmo.skills.*:
         default: false
         default: false
         description: Implies all mcmmo.skills permissions.
         description: Implies all mcmmo.skills permissions.