Not Working #28


  • New
  • Defect
Open
Assigned to krisdestruction
  • _ForgeUser12199309 created this issue Apr 13, 2014

    Steps to reproduce: Place item id under usage and ownership section
    Bans:
      Usage:
       - 7002
      Ownership:
       - 7002

    Expected Output: Unable to craft

    Actual Output: Still able to craft

    Plugin Version: ItemRestrict          : 1.4

    CraftBukkit Build Number: MCPC 1.6.4 - 251 (Running FTB Monster 1.1.0)

    Pastebin Link to Error Logs: None

  • _ForgeUser12199309 added the tags New Defect Apr 13, 2014
  • _ForgeUser12199309 posted a comment Apr 15, 2014

    Update...I have found that on one of my ranks it checks the perms and fails (Halfling)

    2014-04-15 13:35:24 [INFO] [PermissionsEx] User I_pyRex_I checked for permission 'itemrestrict.bypass.ownership.7002-4', no match found (CACHE MISS) 2014-04-15 13:35:24 [INFO] [PermissionsEx] User I_pyRex_I checked for permission 'itemrestrict.bypass.ownership.7002', no match found (CACHE MISS)

    However, on the next rank up (trusted) it is matching with a different permission.

    2014-04-15 13:36:16 [INFO] [PermissionsEx] User I_pyRex_I checked for permission 'itemrestrict.bypass.ownership.7002-0', no match found (CACHE MISS) 2014-04-15 13:36:16 [INFO] [PermissionsEx] User I_pyRex_I checked for permission 'itemrestrict.bypass.ownership.7002', regex-matched a value of true from itemrestrict.bypass.ownership.30872-14 (CACHE MISS)

  • LemADEC posted a comment Apr 26, 2014

    In PermissionEx, the dash sign '-' is used to define ranges. So the permission itemrestrict.bypass.ownership.30872-14 will in fact enable bypass from item 14 to 30872...

    To counter this effect, you need to escape with a backslash '\' like this: itemrestrict.bypass.ownership.30872\-14


To post a comment, please login or register a new account.