Plugin Request: Every Mob Hostile?

Discussion in 'Archived: Plugin Requests' started by waffles0_0, Oct 23, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    waffles0_0

    So, As a server owner and crappy coder I'd hope someone with experience could manage this:

    Could I make a normally passive mob hostile? for example:

    Plugin name: HostileMob
    Commands:
    /hm create <mob> <name>
    Then to make it hostile:
    /hm <name> hostile <on/off>
    Then, to adjust more:
    /hm <name> health <health>
    /hm <name> damage <damage>
    Damage would be per attack, by default once every 2 ticks I suppose...
    For a name above the mob's head:
    /hm <name> displayname <displayname>

    The main point of this is to mmake normally passive mobs attack a player, i.e. a Sheep (Named "Ram") That would attack a player, etc.

    If that's too complex, maybe put it in a config?
    I know it's a lot to ask, but it has potential as a popular plugin.

    I know that bukkit is pretty much dead but any part timers...
    I think this could be a popular plugin for RPG style servers.
    In my case this is for an SAO server.
    Please reply to the thread or PM me with questions.

    (First post, How'd I do?)

    Well Thanks, but someone needs to make it first and It sounds immensely complicated :(

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

    Watto

    I do like the idea of this, i might have a go and depending on how it goes i may release it.
    However someone else can take this job if they wish because i'm pretty busy.. and i'm terrible at Reflection. ^^
     
  3. Offline

    MisterErwin

    waffles0_0 I'm just guessing you don't now anything about minecrafts "AI".

    A hostile mob in MC has something called targetselector:
    We can change those/add those (also to not Monsters) via a lot of version depended stuff (NMS code)
    https://github.com/SpigotMC/mc-dev/tree/master/net/minecraft/server

    You might want to look here for PathfinderGoal classes - e.g. we can say:
    A chicken should have the same AI as a (baby)zombie
    A squid should be able to shoot like a Skeleton
    ...
    What we mostlikely won't do is invent a whole new AI :)

    Just tag me if you need some help w/ it/have any questions
     
  4. Offline

    waffles0_0

    Ok, well I'm super confused now. Are you saying you would make a plugin with changeable AI's?

    Like /hm <name> ai <mob>
    and then
    /hm ram ai zombie
    would make a "ram" act like a zombie after this was done:
    /hm create sheep ram

    Is tha what you're saying,

    MisterErwin
     
  5. Offline

    waffles0_0

    Coonsidering the fact that idk what reception is in the first place you're one step ahead of me xD But if you could help that would be awesome ^.^

    Watto
     
  6. Offline

    waffles0_0

  7. Offline

    waffles0_0

Thread Status:
Not open for further replies.

Share This Page