Added runnable custom commands on GUI item click. New related config options added.
Code (YAML):
player-shop-teleportation: # You can run custom commands whenever a player clicks on a shop from the Search GUI # Placeholders: # {PLAYER_NAME} -> Player name # {SHOP_LOC_X} {SHOP_LOC_Y} {SHOP_LOC_Z} -> Shop x,y,z coordinates custom-commands:
run-custom-commands: false
commands-list: - tp
{PLAYER_NAME
}{SHOP_LOC_X
}{SHOP_LOC_Y
}{SHOP_LOC_Z
} - eco give
{PLAYER_NAME
} 1000000
Added a new permission to bypass safety check for shop tp.
You will manually have to add this permission to give players access to this feature. (Check
this link for full list of permissions)