Disable Mob Duplication through Mob Eggs

Discussion in 'Archived: Plugin Requests' started by sirbrando, Jul 9, 2013.

  1. Offline

    sirbrando

    Hello,
    I would like a plugin that disables the action of mob eggs duplicating the same mob by right clicking on that mob with an egg.

    For example on my server, I give out Zombie and Skele horses as prizes... However, I have dicovered that by right clicking on one of them with a horse egg Creates another zombie or skele horse. I do not want this to be possible

    I would like something that disables the action of being able to spawn a mob by right clicking on the mob.

    Is this possible or is this already a plugin, I have searched with no luck. Any help would be greatly appreciated.

    Thanks
     
  2. Offline

    Zarius

    OtherDrops may be able to assist - you could try this config (copy & paste to the bottom of the otherdrops-drops.yml file):

    PHP:
      ANY_CREATURE:
      - 
    actionrightclick
        tool
    spawnegg
        drop
    DENY
    That _should_ cancel the rightclick event entirely and might fix the issue - I can't test that at the moment though.
     
  3. Offline

    sirbrando

    Thanks for the info, but I'm really looking for something to disable it from spawning when right clicking on another mob. I still want people to be able to spawn horses with eggs, just not duplicate other horses like Skeletons by right clicking on them.
     
  4. Online

    timtower Administrator Administrator Moderator

    sirbrando That script does that, you won't be able to use eggs on living creatures anymore but you can use the eggs on the ground etc
     
  5. Offline

    sirbrando

    Oh I see... sorry misunderstood. Thanks for the help, i will try that

    It worked!! Thank you so much. Exactly what i needed. :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 3, 2016
  6. Offline

    Garris0n

    For god's sake somebody needs to add "Make sure your request can't be solved with OtherDrops" before posting at this point XD
     
  7. Offline

    sirbrando

    Well at least now if someone else has the same problem, they can search up this thread.
     
  8. Online

    timtower Administrator Administrator Moderator

    Or any other plugin that can be found within 10 second XD, would be nice if everybody would actually read the "read me first"
     
  9. Offline

    Garris0n

    Yeah, sometimes I wonder if you're actually just a bot that helps fix bad posts...:p
     
    timtower likes this.

Share This Page