Take a look at how slapper does it. Or: Use the human entity. Do this by extending it with the name of your NPC for example: PHP: class Noneplayercharacter extends Human{ If you are still stuck you need to call your extended class in your main file of your plugin and send it to all the players online or in a level.. Hope this helped.
sure, but if you've read the development section rules you know that you have to make an attempt yourself first and show the code you have. We do not give out 100% free code here to script kiddies. Try making the code yourself using the API provided in pocketmine first, then we can help correct it.