Added ShopGUI+ support. If you are using GUI storage and not player inventory storage, you could enable this option, and if the player does not have enough blocks, it will offer him to buy them in 1 click using ShopGUI+
Reset config or add:
Code (YAML):
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# ShopGUI+
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
shopgui:
enabled
: false
messages:
purchase-available
:
"&aClick here to purchase missing blocks for ${total_cost}"
purchase-success
:
"&aSuccessfully purchased blocks! You can now complete the operation"
purchase-failed
:
"&cYou don't have enough money to purchase the blocks! Need: ${total_cost}"
not-holding-tool
:
"&cYou must be holding the World Edit tool to purchase blocks!"
no-pending-purchase
:
"&cYou don't have any pending block purchases!"
blocks-not-in-shop
:
"&cSome blocks are not available in the shop!"