Config.yml
Config.yml (InventoryPlus 1.8.6)
To fully whitelist a slot, also add 0.* (air). Note: this is the config for Inventory Plus version 1.8.6. Newer versions might vary.
# ___ _ ____ _ # |_ _|_ ____ _____ _ __ | |_ ___ _ __ _ _ | _ \| |_ _ ___ # | || '_ \ \ / / _ \ '_ \| __/ _ \| '__| | | | | |_) | | | | / __| # | || | | \ V / __/ | | | || (_) | | | |_| | | __/| | |_| \__ \ # |___|_| |_|\_/ \___|_| |_|\__\___/|_| \__, | |_| |_|\__,_|___/ # _ |___/ # |_ | ) _ _| _ _ # |_)\/ |_)(_|(_|(/_\/(/_ # / / # # General Info: # - When setting a message string, don't use special symbols # - If your config breaks, use a YAML Phaser to check it # - Custom items/modded items ARE supported. Equip the item and type /ivitem to get the ID and durability (if it exists). # #---- # enable: true/false # / Enables or disables the plugin #---- # debug: # debug-click: false # / Enables/disables the developer debug mode for inventory clicks. # debug-drop: false # / Enables/disables the developer debug mode for dropping items. # debug-pickup: false # / Enables/disables the developer debug mode for picking up items. #---- # messages: # enable-messages: true # / Enable messages to players? # color: RED # / Color of those messages in capital letters. Colors: http://jd.bukkit.org/rb/apidocs/org/bukkit/ChatColor.html # slot-locked: 'This slot is locked.' # / Same as above, sends a message if the slot is locked. # not-dropable: 'You cant drop that.' # / Sends a message if you can't drop the item because it's black/non-whitelisted/slot is locked. # not-usable: 'You cant use this item.' # / Sends this message whenever a player tries to place/use a block/item that he is not allowed to place (out of locked/non-allowed slots). #---- # settings: # allow-banned-drops: false # / if set to true, items that are not allowed cannot be removed from a slot. If false, locked slots will still not allow dropping. # allow-banned-interactions: false # / if set to true, items that are not allowed cannot be used. #---- # 0: # / Slot number. First slot in your hotbar has the number 0. first slot in your actual inventory is slot 9. # locked: false # / Should the slot be completely deactivated? If true, no items can be placed/dropped/taken from that slot. # blacklist: true # / Blacklist enabled? If so, only the items listed under "items:" will be forbidden for that slot, # / everything else will work. # / If it is set to false, only the items listed will be possible to place/take/drop. # / To make a fully working whitelist (blacklist: false), also add 0.* (air) to your items list (further info below). # item-not-allowed: 'This item is not allowed for that slot.' # / Sends the message to the player, if an item they want to place/take is not allowed (black/non-whitelisted). Put nothing inside the ' for no messages. # / Can be used for telling players which items are allowed for each slot, for example for slot number 5: 'You can only place swords into this slot.' # items: # - 0.* / First number sets the item ID, second the item durability. If the item has no meta data then just type 0. # - 3.0 / Both numbers are split with a point. You can find the ID and durability of an item with holding it in your hand any typing /ivitem # - 17.2 / Air is 0 (add * to allow all air types), dirt would be 3.0, stone would be 1.0, glass 20.0, jungle wood 17.3 # - 272.* / Some items have a durability that always changes, for example pickaxes and swords. # - 17.* / To fully allow a sword/destroyable item, add the wild-card '*'. It will allow every possible value after the dot => Every durability. # - 6702.0 / This is an example for a modded item. It has the ID of 6702 and was added with forge. Modded items are supported. #---- enable: true debug: debug-click: false debug-drop: false debug-pickup: false messages: enable-messages: true color: 'RED' slot-locked: 'This slot is locked.' not-dropable: 'You cant drop that.' not-usable: 'You cant use this item.' settings: allow-banned-drops: false allow-banned-interactions: false 0: locked: false blacklist: false item-not-allowed: 'This item is not allowed for that slot. 0' items: - 267.* - 268.* - 272.* - 276.* - 283.* - 0.* - 3.0 1: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot. 1' items: 2: locked: true blacklist: false item-not-allowed: 'This item is not allowed for that slot. 2' items: - 3.0 - 0.* 3: locked: false blacklist: false item-not-allowed: 'This item is not allowed for that slot. 3' items: - 17.0 - 0.* 4: locked: false blacklist: false item-not-allowed: 'This item is not allowed for that slot. 4' items: - 17.0 - 0.* 5: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot. 5' items: - 3.0 6: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 7: locked: false blacklist: false item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 - 0.* 8: locked: false blacklist: false item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 - 0.* 9: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 10: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 11: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 12: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 13: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 14: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 15: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 16: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 17: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 18: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 19: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 20: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 21: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 22: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 23: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 24: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 25: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 26: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 27: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 28: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 29: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 30: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 31: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 32: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 33: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 34: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0 35: locked: false blacklist: true item-not-allowed: 'This item is not allowed for that slot.' items: - 3.0
Comments