Add configurable blocked items list.

This commit is contained in:
drtshock
2015-05-21 10:39:34 -05:00
parent ab46f49b0f
commit 24f423d2f3
7 changed files with 72 additions and 37 deletions
+15
View File
@@ -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
+2 -1
View File
@@ -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."
+3
View File
@@ -29,4 +29,7 @@ permissions:
default: true
playervaults.admin:
description: Admin vault operations.
default: op
playervaults.bypassblockeditems:
description: Bypass blocked items.
default: op