This plugin contains a custom enchantment effect to automatically convert pre-defined dust/ores into corresponding blocks. This automatic blocking will happen when your inventory (and VKBackPack) is/are full.
Installation:
Just install TE-AutoBlockingEnchant.jar in TokenEnchant/enchants folder. Then you can either "restart the server" or "reload the plugin (not /te reload)". AutoBlockingEnchantment will automatically be loaded into TokenEnchant framework.
Configuration:
[color=#a9b7c6][size=2][font="JetBrains Mono", monospace][color=#cc7832]Potions[/color]:
[color=#cc7832]AutoBlocking[/color]:
[color=#cc7832]description[/color]: [color=#6a8759]"Automatically turn dust/ore into blocks when your inventory/backpack is full."
[/color] [color=#cc7832]event_map[/color]:
[color=#cc7832]BlockBreakEvent[/color]: [color=#6a8759]"NORMAL"
[/color] [color=#cc7832]price[/color]: 10
[color=#cc7832]max[/color]: 1
[color=#cc7832]occurrence[/color]: always
[color=#cc7832]wait_for_inventory_full[/color]: false
[color=#cc7832]resource_mapping[/color]:
[color=#cc7832]CLAY_BALL[/color]:
[color=#cc7832]num[/color]: 4
[color=#cc7832]target[/color]: CLAY
[color=#cc7832]DIAMOND[/color]:
[color=#cc7832]num[/color]: 9
[color=#cc7832]target[/color]: DIAMOND_BLOCK
[color=#cc7832]GOLD_INGOT[/color]:
[color=#cc7832]num[/color]: 9
[color=#cc7832]target[/color]: GOLD_BLOCK
[color=#cc7832]IRON_INGOT[/color]:
[color=#cc7832]num[/color]: 9
[color=#cc7832]target[/color]: IRON_BLOCK
[color=#cc7832]EMERALD[/color]:
[color=#cc7832]num[/color]: 9
[color=#cc7832]target[/color]: EMERALD_BLOCK
[color=#cc7832]REDSTONE[/color]:
[color=#cc7832]num[/color]: 9
[color=#cc7832]target[/color]: REDSTONE_BLOCK
[color=#cc7832]INK_SACK[/color]:
[color=#cc7832]data[/color]: 4
[color=#cc7832]num[/color]: 9
[color=#cc7832]target[/color]: LAPIS_BLOCK
[color=#cc7832]COAL[/color]:
[color=#cc7832]num[/color]: 9
[color=#cc7832]target[/color]: COAL_BLOCK[/font][/size][/color]