Hooks

Explanation on how Hooks work

PlaceholderAPI

If you activate the PlaceholderAPI Hooks from the config.yml, you will be able to use the PlaceholderAPI placeholders in the reward executors.

And you can use the %eluckyblock_breaks% placeholder to see the total LuckyBlocks destroyed by the player

It is advisable to use THIS version of PAPI

WorldGuard

If you have activated WorldGuard Hooks from config.yml, you will be able to use luckyblock preventions for regions

It is only compatible if you are using the WorldGuard 7+ version!

Vault

If you have activated Vault Hooks from config.yml, you can give or take money to a player through the 2 executors located in the rewards.yml:

  • [GIVE_MONEY] number of money

  • [TAKE_MONEY] number of money

Tokens Hook

TokenEnchant, TokenManager, or UltraPrisonCore

If you have activated the TokenEnchant Hook from the config.yml, you will be able to use 2 executors located in the rewards.yml

  • [GIVE_TOKENS] number of tokens

  • [TAKE_TOKENS] number of tokens

PlotSquared

If you have activated the Hook PlotSquared from the config.yml, only the owner of the plot will be able to break a luckyblock, if a player tries to break a luckyblock of another plot, it will be denied

It is only compatible with the PlotSquared 6+ version!

Last updated