How to detect villager trade event?

  • 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!

Status
Not open for further replies.

enarkay

Member
May 1, 2017
1
0
0
Hi guys, I'm trying to make a feature so that upon successfully trading with a villager, the villager will be killed/removed. The thing is, I have no idea how to detect a villager trade event!

I've searched through all of skript's and the addons' events but I wasn't able to find any. The closest result I could find was the Gui Trade Event from RandomSK but if I'm not mistaken, it does not detect actual trades with villagers.

Would anyone know how to detect actual (successful) trades with villagers?
 
Status
Not open for further replies.