Cure piglin, become their friend

Discussion in 'Plugin Requests' started by Felina_Lain, Jun 10, 2022.

  1. Offline

    Felina_Lain

    Plugin category: Gameplay edit

    Minecraft version: 1.18.2

    Suggested name: BefriendCuredPiglins

    What I want:
    I'd like a plugin that allow you to cure zombified piglins, with a weakness potion and a golden apple, and then make them fully neutral mobs (no gold armor needed)

    Depending on an option it would be neutral either:
    - Only to the player that cured them, unless that player hit it later.
    - Or neutral to all players, unless hit by one.

    (I know the first part already exist, I found several plugins, but none with the second part.)

    Ideas for commands: neutralpiglinall true/false
    to turn the option mentioned above on and off

    Ideas for permissions:
    player.cancurepiglin to allow a player to cure a piglin
    player.canbefriendpiglin to allow a player to be friend to a cured piglin

    When I'd like it by: No real deadline, I'll just be happy if/when I get it


    Thank you very much to anyone that might take interest in this
     
  2. Offline

    gochi9

    This is the plugin

    You can read on the page the command and how the config works.

    Hope you like it.
     
  3. Offline

    Felina_Lain

    Oh wow thanks!!!
    I just tested it, this works just perfect!

    Just, there was one feature requested that isn't in it:
    if the piglin get hit by a player it's friendly with, it becomes hostile again.
    I don't know if it's possible at all, but if it is, if you don't mind adding it?

    Otherwise, or if it's too annoying, this will work just fine, this is going to be so cool for rp and trade farms!!!

    thank you so much!
     
  4. Offline

    gochi9

    I update the resource, just click the link above and download the last version.

    Also make sure you delete the old config after you change the version. They option is set false by default.

    They turn aggressive when hit but they change back if they are left alone for a little bit. Made it so because I wouldn't find it fun if they remained aggressive permanently especially if it was because of an accidental hit and also after all that effort of getting a splash potion of weakness and a golden apple.
     
    Last edited: Jun 18, 2022
  5. Offline

    Felina_Lain

    The idea of them being able to calm down is so much better than what I thought of!
    It works perfectly, this is amazing, thank you again so much!!
     
    Last edited: Jun 18, 2022
  6. Offline

    gochi9

    I saw the message before you edited it, saying something about them breaking down. I went to test it and it worked fine than came back to see that you edited it. Were you using an older version or what happened?
     
  7. Offline

    Felina_Lain

    Yeah no, it was my fault, I had saved several plugins with the name "CuringPiglin" under different folders, and I used the wrong one, thinking it was yours, it was completely me being a dummass XD
     
  8. Offline

    gochi9

    Ah I see. Glad to see everything is in order. If you want any other features just write a message here, or on the spigot page
     
    Last edited by a moderator: Jun 20, 2022

Share This Page