Item Restrictions - ssomar1607/ExecutableItems GitHub Wiki
Item Restrictions
This page will teach you about item restrictions. All restrictions are set to false by default.
If you want to apply a certain restriction across all items, manually add the restriction in your config.yml.
Brute-forcing items with container restrictions such as cancel-deposit-chest using hoppers would have the ei item stuck in that container and can only be removed via creative mode or by destroying the container holding the item.
CANCEL DROP
Info: Prevents players from dropping the executable item
Config: cancel-item-drop: false
Default: true
CANCEL PLACE
Info: Prevents players from placing executable items into the ground
Config: cancel-item-place: true
CANCEL CRAFT
Info: Prevents players from crafting vanilla recipes with the said executable items (including custom crafting recipes from Wolfy's CustomCrafting plugin)
Config: cancel-item-craft: true
CANCEL CRAFT NO CUSTOM
Info: Prevents players from crafting vanilla recipes with the said executable items but can still be used for custom crafting recipes from Wolfy's CustomCrafting plugin
Config: cancel-item-craft-no-custom: true
CANCEL DEPOSIT CHEST
Info: Prevents players from putting executable items in the following,
Chest
Ender Chest
Trapped Chest
Barrel
Shulker Box
Config: cancel-deposit-in-chest: false
NOTE: THIS WILL NOT WORK ON CREATIVE
CANCEL DEPOSIT FURNACE
Info: Prevents players from putting executable items in the following,
Furnace
Blast Furnace
Smoker
Config: cancel-deposit-in-furnace: false
NOTE: THIS WILL NOT WORK ON CREATIVE
CANCEL ENCHANT
Info: Prevents players from enchanting this item in any way
Config: cancel-enchant: false
CANCEL ANVIL
Info: Prevents players from putting executable items in anvils
Config: cancel-anvil: true
CANCEL ACTION RENAME IN ANVIL
Info: Prevents players from renaming ei items in the anvil
Config: cancel-rename-anvil: true
CANCEL ACTION ENCHANT IN ANVIL
Info: Prevents players from enchanting ei items in the anvil
Config: cancel-enchant-anvil: true
CANCEL CONSUMPTION
Info: Prevents players from consuming executable items
Config: cancel-consumption: false
LOCKED IN INVENTORY
Info: Makes the executable item stay in that slot number and prevents players from moving it in any way possible
Config: locked-in-inventory: false
NOTE: THIS WILL NOT WORK ON CREATIVE
CANCEL TOOL INTERACTIONS
Info: Prevents players from using executable items to do tool interactions
Config: cancel-tool-interactions: false
CANCEL ITEM FRAME
Info: Prevents players from putting executable items in item frames
Config: cancel-item-frame: false
CANCEL SMITHING TABLE
Info: Prevents players from putting executable items in smithing tables
Config: cancel-smithing-table: false
CANCEL GRIND STONE
Info: Prevents players from putting executable items in grindstones
Config: cancel-stone-cutter: true
CANCEL STONE CUTTER
Info: Prevents players from putting executable items in stonecutters
Config: cancel-stone-cutter: true
CANCEL EVENT IF NO PERM
Info: Prevents players from using executable items if he hasn't the permission (example if player has a pickaxe executable item, if he hasn't the perm of this executable item, he can't mine with it)
Config: cancelEventIfNoPerm: true
CANCEL EVENT IF NOT OWNER
Info: Prevents players from using executable items if he isn't the owner of this EI (example if player has a pickaxe EI, if isn't the owner, he can't mien with it)
Config: cancelEventIfNotOwner: true
CANCEL BREWING
Info: Prevents players from putting ei items into brewing stands
Config: cancel-brewing: false
CANCEL BEACON
Info: Prevents players from putting ei items into beaconds
Config: cancel-beacon: false
CANCEL CARTOGRAPHY
Info: Prevents players from putting ei items into cartographies
Config: cancel-cartography: false
CANCEL COMPOSTER
Info: Prevents players from putting ei items into composters
Config: cancel-composter: false
CANCEL DISPENSER
Info: Prevents players from putting ei items into dispensers
Config: cancel-dispenser: false
CANCEL DROPPER
Info: Prevents players from putting ei items into droppers
Config: cancel-dropper: false
CANCEL HOPPER
Info: Prevents players from putting ei items into dispensers. (Not to be confused with putting items to hoppers via dropping them on top of hoppers
Config: cancel-hopper: false
CANCEL LECTERN
Info: Prevents players from putting ei items into lecterns
Config: cancel-lectern: false
CANCEL MERCHANT
Info: Prevents players from putting ei items into villager trades