hey guys, I've been working on a minigame plugin,That i don't know how exactly I can told about what this minigame will be, but I'll make a documentation and will drop on my github when done. I'm trying (I will try ) to set a block as player head when certain event get triggered, for example, if one player touch another with a stone in hand, the touched player will got this stone in their head, (but the player will still be able to see normally)... This is possible on current mcpe protocol? or maybe just change the player skin mid-game for one with a block in the head? lol. thanks.
I tried using addItem for the specific head armour slot, but it didn't work. It places the item there, but I can't see it in the 3rd players view. Other ideas?
You can resend the player skin by despawning the player and respawning him with a modified skin. Invisibility between the despawn and respawn is negligible because they will be sent in the same encapculsated packet and the client will handle the two packets without a tick between that renders the invisibility to the player.
GrabBag (http://forums.pocketmine.net/plugins/grabbag.1060/) has been able to change skins for a while. Otherwise, take a look at this: http://forums.pocketmine.net/plugins/blockman.1005/ BTW, setting armor won't work.