[MECH] Friendly 1.1 - Customize mob alignments [1240]

Discussion in 'Inactive/Unsupported Plugins' started by Celtic Minstrel, Jun 22, 2011.

  1. Offline

    Celtic Minstrel

    Friendly - Customize mob alignments
    Version: v1.0

    This plugin allows you to change the alignment of mobs. There are three alignments (Friendly, Neutral, and Aggressive) and three contexts (Day, Night, and Nether), and you can control the alignment of each mob in each context separately.

    Currently, you can only lower the alignment (so, no setting pigs to Aggressive) and cannot affect Ghasts or Slimes. Both these limitations will be fixed when I figure out how and/or when it becomes possible.

    Configuration is really easy. Just put sections in the following format in the config file:
    Code:
    <mob-name>:
      <context>: <alignment>
    
    For example, if you want creepers to be neutral at night and friendly during the day, the following config would do that:
    Code:
    CREEPER:
      Day: Friendly
      Night: Neutral
    
    Download

    This plugin was originally written by jordanneil23, but since he hasn't committed to its repository since March, and it allowed exactly what I wanted for my LAN server, I touched it up and then decided I might as well release it.

    Todo list:
    • Support raising the alignment of mobs (eg making cows neutral).
    • Support ghasts.
    • Support slimes.
    • Should detect light level instead of time of day, maybe? Or at least make it an option.
    • Randomness factors (25% neutral, 75& aggressive!)
    • Varying damage
    • Don't target admins
    • Per-world settings
    • Permissions (groups) support
    • Also control mob attitudes towards mobs.

    Changelog:
    Version 1.0
    • New config file format
    • Separate support for alignments in the nether.

    Version 0.1
    • Initial release by jordanneil23
     
  2. Offline

    oilrag

    look foreword to your return Celtic Minstrel, you created some jolly good plugins so far i know i wont be disappointed. have a relaxing break [yellowflower]
     
  3. Offline

    Samzapp

    Will this work for 1000?
     
  4. Offline

    Celtic Minstrel

    I haven't tested, but I think it should work.
     
  5. Offline

    Samzapp

    Just tested it, doesn't seem to work. I added passiveness to every hostile mob, but Zombies still attack me and Creepers still blow up. I put in "Passive" for each one, but the example here shows "Friendly". Am I supposed to put "Passive" or "Friendly"?
     
  6. Offline

    Celtic Minstrel

    You're supposed to put Friendly. Try that?
     
  7. Offline

    Samzapp

    I'll try it.

    Tested and it appears to work for Skeletons but everything else acts as if it were Neutral. They just walk around and don't do anything, but if I hit them, they try to attack.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  8. Offline

    Celtic Minstrel

    Well, that's odd. I'll test in a day or so and fix if possible, along with some new features.
     
  9. Offline

    Samzapp

  10. Offline

    jordanneil23

    This should be be added to SpawnMob in the next release. I stopped working on it a while back I only recently started merging it with SpawnMob. Just thought you should know. :p
    EDIT: It's gonna be harder then I thought..
     
  11. Offline

    Celtic Minstrel

    Hm, well, I'll wait and see how that goes. I might want to continue developing this anyway. :p
     
  12. Offline

    Retrophaze

    Is there any way you could add permissions support? For example make mobs friendly for only certain player. I think this would be great for rpg server (a class that mobs don't attack). I would really appreciate it if you did this because I need it EXTREMELY bad for my server and I think a lot more people would download it. PLEASE
     
  13. Offline

    Celtic Minstrel

    It's on the todo list. It won't support Permissions or GroupManager though, only newer permissions systems. (Might support newer versions of Permissions, but not 3.1 or earlier.)
     
  14. Offline

    mfgreth

    so is this confirmed not to work for latest bukkit? i would like this so mobs dont attack ops during server events.
     
  15. Offline

    Celtic Minstrel

    Not confirmed, but it's fairly minimal at the moment so it probably will. Let me know if you try it.
     
  16. Offline

    Deadonpromnite

    Is it possible to make it attack non op but ignore op? If it is, I need this very badly
     
  17. Offline

    Celtic Minstrel

    See the todo list.
     
  18. Offline

    Master2112

    Used this to make the Monster mob friendly, waiting for "mobs attacking mobs" to be done, then i have guards! :D
     
  19. Offline

    Samzapp

    Will this ever be updated?
     
  20. Offline

    Celtic Minstrel

    I'm not sure. I went to start updating it awhile ago and ran into lots of issues, so I'm not sure how to proceed. Does 1.0 not work on the latest recommended build?
     
  21. Offline

    Samzapp

    I haven't actually tested it on 1185 or 1240 yet. I'll let you know the results when I get them.
     
  22. Offline

    Celtic Minstrel

    Surprise! An update has been released! It adds multiworld support, but otherwise has no new features. However, it's tested on recent Bukkit builds, finally.

    Also there's a BukkitDev page for the plugin. This has been around for forever, but has now become relevant since that's where the download is hosted. I probably won't update this thread much either.
     
  23. Offline

    Samzapp

    Could you update the download link on the first post? That one still has the 1.0 link.
     
  24. Offline

    Celtic Minstrel

    Ah, sure. Done. :D
     
  25. Offline

    Samzapp

    Sorry to bother you again, but could you update the title and description? I typically just look at the version number on the plugin list to find updates, which can make it confusing if only the download link is changed.
     
  26. Offline

    Samzapp

    Bukkit is really throwing the updates at us quickly. 1185 and 1240 were released a few weeks back, and now we've got this new 1317. I'm guessing that'd be pretty tough for a plugin developer, having to update each time.
     
  27. Offline

    Zymosis

    What would top this plugin off is if you add configurable damage and health for the mobs. Is that possible? That would be very nice to have :)
     
  28. Offline

    Celtic Minstrel

    It might be possible, but it would not be easy. Bukkit's API in this area is very sparse; I was working on a version that worked around that by dipping into CraftBukkit code, but the task is pretty daunting, and I kind of gave up on it.

    EDIT: Actually, those two specific things might not be as hard as I implied above; they're also not quite in the scope of this plugin though.
     
  29. Offline

    jordanneil23

    I have already added this to a version of SpawnMob that hasn't been released yet, I plan to release it tonight or tomorrow.

    Edit
    I didn't notice that you added multi-world support, very nice, mind if I edit some of the multi-world code and use it in SpawnMob?
     
  30. Offline

    Celtic Minstrel

    I don't have a problem with that. Go right ahead.

    I'll probably keep this around anyway, since some people might want it without mob spawning, though I'm not sure how much work I'll do on it.
     
  31. Offline

    Samzapp

    This plugin's usefulness has been cut by at least half since all hostile mobs have been changed to neutral as of 1.0.
     

Share This Page