This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Steps to reproduce: Place item id under usage and ownership sectionBans: 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
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)
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.