API?
dniym opened this issue ยท 0 comments
I would like to make it automatically open the /shopmenu after a player has entered a shop. Is there a way to hook into merchantmenu and trigger a /shopmenu command?
My shops all have regions around them, and I can create code to detect them entering the region. However I don't know how to force open a shop menu! Thanks!
EDIT: as a workaround i used player.performCommand("shopmenu");
might want to add that as a feature though, maybe number of seconds before showing menu automatically,
-1 don't auto open it
0 open as soon as they enter
<some other number greater than 0> number of seconds to wait.