Access Control List - NyaaCat/NyaaUtils GitHub Wiki
Access Control List
ACL is to block certain item from being enchanted or repaired using /nu enchant or /nu repair command.
Command
None.
Permission
None.
Config
Configuration file acl.yml
default:
enchant: true
repair: true
'some lore':
enchant: true
repair: false
repair: false indicates that items containing some lore cannot be repaired
Usage
Add lore to acl.yml and define whether item with this lore can be enchanted or repaired. the default matches all other lore, a.k.a when no match for defined lore in ACL, default controls the action.
Note
It's renamed to GlobalLoreBlacklist in the code but still use acl.yml as config file name for compatibility.