فهرست منبع

Updated perm node behaviour and changelog

nossr50 13 سال پیش
والد
کامیت
8da259cabc
2فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  1. 1 0
      Changelog.txt
  2. 5 2
      src/main/resources/plugin.yml

+ 1 - 0
Changelog.txt

@@ -14,6 +14,7 @@ Version 1.3.07
  + Added a permission node for Greater Impact ability
  + Added permission nodes for Treasure & Magic Hunter for Fishing
  = Fixed bug where the permission node for Impact didn't work
+ = Fixed some bypass nodes defaulting true for Ops
  ! Changed MySQL to save player information 50ms apart from each other to reduce the load on the MySQL server
  - Removed some unused permission nodes
 

+ 5 - 2
src/main/resources/plugin.yml

@@ -116,8 +116,6 @@ permissions:
         description: Implies all mcmmo permissions.
         children:
             mcmmo.defaults: true
-            #Instead of containing mcmmo.defaultsop on its own, it should specify each of mcmmo.defaultsop
-            mcmmo.admin: true
             mcmmo.tools.*: true
             mcmmo.chat.adminchat: true
     mcmmo.defaults:
@@ -140,6 +138,7 @@ permissions:
     mcmmo.admin:
         description: Allows access to mmoupdate and other sensitive commands        
     mcmmo.bypass.*:
+        default: false
         description: Implies all bypass permissions.
         children:
             mcmmo.bypass.arcanebypass: true
@@ -147,12 +146,16 @@ permissions:
             mcmmo.bypass.inspect.offline: true
             mcmmo.bypass.hardcoremode: true
     mcmmo.bypass.hardcoremode:
+        default: false
         description: Allows user to bypass negative penalties of Hardcore mode
     mcmmo.bypass.arcanebypass:
+        default: false
         description: Allows user to bypass Arcane Repair so he will never lose enchantments
     mcmmo.bypass.inspect.distance:
+        default: op
         description: Allows user to bypass Inspect's distance requirements
     mcmmo.bypass.inspect.offline:
+        default: op
         description: Allows user to bypass Inspect's offline player requirements
     mcmmo.tools.*:
         description: Implies all mcmmo.tools permissions.