Is there anyway I can tell if someone clicked on a shopkeeper from the shopkeepers plguin, I made this skript with catagories, but it only works on normal villagers with the name, not shopkeepers
Code:
on right click on a villager:
if name of clicked entity is "&2Oak Shop":
cancel event
open chest with 3 rows named "&8Oak Shop" to player
wait 1 tick
loop 26 times:
format slot loop-number of player with gray stained glass pane named " " to be unstealable
format slot 0 of player with gray stained glass pane named " " to be unstealable
format slot 11 of player with leather chestplate named "&eOak Gear" to run "sudo %player% shopkeeper open Real-Oak"
format slot 13 of player with wooden axe named "&eOak Axes" to run "sudo %player% shopkeeper open Real-Oak2"
format slot 15 of player with an anvil named "&eCompressor" to run "sudo %player% shopkeeper open Real-Oak3"
Last edited: