1

Custom NPC Plugin?

xPotatoFrys •5/12/15 8:48 pm
•
6.1k
•
5/18/2015 10:32 pm
Hello, I'm xPixelPie .
It seems..I need a little help with my Minecraft server.
I'm looking for a plugin that could spawn NPCS, but able to change their skin through their control panel. I'm not quite sure if this is possible, but if anyone could possibly develop one or knows of one, please tell me.

Thanks,
xPixelPie
Posted by
xPotatoFrys
Level 31 : Artisan Explorer
46

  Have something to say?

Join • Sign in

5

MomoMomiji
• 05/18/2015 10:32 pm
• Level 4 : Apprentice Architect
Ops, I'm a bit late with this reply.

In any case, the problem resides in the fact that, without mods (or even complete client overhauls like spigot), there is very little difference between an NPC and an actual player. The server will send a "spawn player packet" to the client, which in 1.8+ only contains UUID and server related information; nothing regarding an actual "name" is sent. In addition, without a mod like More Player Models or so, there is no way to alter the behavior of the client getting every skin from the Mojang skin server.

This may be possible with 1.7.10, but even then I wouldn't get your hopes up. Realistically, the best way to go about this is looking for mods (forge or otherwise), and just set up a modded server; without, you'll have to rely on other player's skins.

For reference, the current 1.8.4 "Spawn Player" packet.
1
xPotatoFrys
• 05/16/2015 11:43 am
• Level 31 : Artisan Explorer
bump
1
xPotatoFrys
• 05/15/2015 10:38 pm
• Level 31 : Artisan Explorer
Thanks for your help, but I'm thinking custom skins that I made myself to add onto npcs. c:
1
susieq1979q
• 05/14/2015 8:02 pm
• Level 19 : Journeyman Mage
I think citizens has the options to reskin the npcs spawned so they can wear different skins pertaining to their name.

/npc skin name <- to change the skin

You can also try getting a citizen to wear a head of another player if u want as well.
/npc equip
1
MomoMomiji
• 05/13/2015 9:50 am
• Level 4 : Apprentice Architect
Sadly, the best that can be done is use an NPC plugin, and change the name to a player with the skin you want. If nothing else, there are many directories with player skins that almost always never change, so those can be a good resource.

Anyways, Citizens is my favorite plugin for this type of thing. Can be a resource hog though, but it has the most powerful scripting out of all options.
1

Welcome