Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Access Control List

Recursive G edited this page Nov 29, 2016 · 3 revisions

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.