How to make it so I can spawn a player name has a mob?!

Discussion in 'Plugin Development' started by PerezHD, Nov 26, 2014.

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

    PerezHD

    Hey guys, I hope you understood the title, well basically what I need help is spawning a mob with the players name

    All I have now is ./mob create which just spawns the mob.
    What I would like it to do is make it so if I would to type:
    /mob create <PlayerName>, it would spawn that certain mob as the player that was choosen!

    My current code:
    http://pastebin.com/PBCpEBMk
     
  2. Offline

    Skionz

    PerezHD I would use citizens or look into how they do it.
     
  3. Offline

    leon3001

  4. leon3001
    I believe he wants to spawn a human entity with the skin of the specified player.
     
  5. Offline

    PerezHD

    Not really, I want the mob like for example a villager to have a players name above. Understand?

    Already using it, I am just needing this for my bar plugin XD

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 29, 2016
  6. This part is rather misleading then:
    Anyways, do that leon3001 suggested.
     
Thread Status:
Not open for further replies.

Share This Page