Mob Follow

Discussion in 'Plugin Requests' started by PhillyCheezsteak, Mar 21, 2015.

Thread Status:
Not open for further replies.
  1. Plugin category: Mechanics

    Suggested name: Mob Follow

    What I want:
    If a player uses /mobfollow (radius) all mobs in that radius will follow the player.
    If a mob is following a player and is too far away from the player, that mob will teleport to the player.
    If a player logs off/disconnects when they have mobs that are following them. The mobs will despawn/die (almost like /butcher)
    /mobfollow kill (playername) will kill all mobs that player has following them
    /mobfollow call calls all mobs following you to your location

    Ideas for commands:
    /mobfollow (radius)
    /mobfollow kill (playername)
    /mobfollow call

    Ideas for permissions:
    mobfollow.follow (use first command)
    mobfollow.kill (use the second command) (use the third command)

    When I'd like it by: As soon as you can please.

    NOTE: You cannot have mobs follow you if they are follow someone else
    Last edited: Mar 21, 2015
  2. Offline


    This seems a lot like the plugin EchoPet, except with 2 or more mobs for a single player's usage limit. This shouldn't be too hard to code, although I'm not a coder.

    Exactly what are you using this for, or are you just going to use it for fun?
  3. @Chromify I am basically going to bind these commands to items so players can instantly have mobs following them.
  4. Offline


  5. Bump

    I am guessing this might work, but you can use the getNearbyEntities() method, and use a Runnable and the setTarget or setLocation method to set their location to the player for the mobs to follow. I am not a dev, but if you want to give this a shot, I would greatly appreciate it :)

    If the mob following does not work or is difficult, then the mob teleporting to the players could work :)
    Last edited: Mar 28, 2015
  6. Please if anyone is willing to make this or a simplistic version of this, I would greatly appreciate it :)
  7. Offline


    Well, I could make something like this, I just have a few questions. Is there any limitation to how many mobs can be following you at a given time? Should it be restricted to certain mobs or should it be every mob? And finally the big issue, if I were to do this I would be using NMS. Of course the problem with NMS is that the plugin breaks in almost every Bukkit update. All the plugins I make on the forums are of course open source, so you, or someone else, can change the very few things that needs to be changed when updates happen (Mostly just imports, but sometimes class names). Anyways, let me know if you still want this, and be sure to tell me what version of Bukkit you are using (e.g. Bukkit 1.7.10 RO.3 or something along those lines)
    Last edited: Mar 31, 2015
  8. Offline

    timtower Administrator Administrator Moderator

    @JungleSociety This section is for official craftbukkit builds though, so 1.7.10 or lower
  9. Offline


    Okay thanks. I haven't been on the forums in a while so I wasn't aware of this.
Thread Status:
Not open for further replies.

Share This Page