Edit shopkeepers plugin?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

LeeifMR

Member
Oct 2, 2024
27
1
3
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: