Add configurable blocked items list.
This commit is contained in:
@@ -18,6 +18,21 @@ economy:
|
||||
cost-to-open: 10
|
||||
refund-on-delete: 50
|
||||
|
||||
# Blocked Items
|
||||
# Here you can block items in vaults.
|
||||
# You can give player's playervaults.bypassblockeditems permission to bypass this list.
|
||||
# Ops also have an automatic bypass.
|
||||
# Use material names. This does not work with ids.
|
||||
|
||||
# Should we even use this? If left to false, the list won't do anything.
|
||||
blockitems: false
|
||||
|
||||
# Only effective if the above option is true.
|
||||
blocked-items:
|
||||
- PUMPKIN
|
||||
- DIAMOND_BLOCK
|
||||
|
||||
|
||||
# Cleanup
|
||||
# Should we cleanup vaults that haven't been used in awhile?
|
||||
# Only checks on restarts. Runs on another thread so it won't
|
||||
|
||||
@@ -27,4 +27,5 @@ plugin-not-found: "&cNo converter found for that plugin"
|
||||
conversion-complete: "&aConverted %converted players to PlayerVaults"
|
||||
conversion-background: "&fConversion has been forked to the background. See console for updates."
|
||||
vaults-locked: "&cVaults are currently locked while conversion occurs. Please try again in a moment!"
|
||||
help: "/pv <number>"
|
||||
help: "/pv <number>"
|
||||
blocked-item: "&6%m &cis blocked from vaults."
|
||||
@@ -29,4 +29,7 @@ permissions:
|
||||
default: true
|
||||
playervaults.admin:
|
||||
description: Admin vault operations.
|
||||
default: op
|
||||
playervaults.bypassblockeditems:
|
||||
description: Bypass blocked items.
|
||||
default: op
|
||||
Reference in New Issue
Block a user