Player NPCs from Citizens to exist
Player NPCs don't spawn/load/exist as entities
Just create an NPC with player entity type.
1) Install Citizens.
2) type /npc create bob [optional type /npc create bob --type player]
3) the entity doesn't spawn
Just Citizens (tested with version 2.0.26-b1881 and 2.0.26-b1857).
git-Paper-199 (I had git-Paper-196 and didn't have any issue)
I'm gonna test it with version between 196 and 199.
Only on version 199.
We also have the problem
we cannot see the npc... But the npc actually exists. They can speak, But are invisible in client.
It's because it's Npc with user skins. Because Npc with a mob look are all visible. So it must have something to do with it, the Citizens tries to retrieve the skin data but the new paper version blocks this
It's because it's Npc with user skins. Because Npc with a mob look are all visible. So it must have something to do with it, the Citizens tries to retrieve the skin data but the new paper version blocks this
not even remotely correct
It's because it's Npc with user skins. Because Npc with a mob look are all visible. So it must have something to do with it, the Citizens tries to retrieve the skin data but the new paper version blocks this
not even remotely correct
then why is it ?? you can see all Citizens mobs like creeper skeletons and all other people just not citizens with playerskin. so why is that?
It's because it's Npc with user skins. Because Npc with a mob look are all visible. So it must have something to do with it, the Citizens tries to retrieve the skin data but the new paper version blocks this
not even remotely correct
then why is it ?? you can see all Citizens mobs like creeper skeletons and all other people just not citizens with playerskin. so why is that?
Because they changed the player join code and the NPC is a fake player but looks real to the server. They didn't change monsters.
Ugh always problems with citizens. I think I know how to fix it
same problem
Ma8ician. Did you upgrade to a newer Paper release? That is why this issue was closed. Is that Aikar pushed a new build which should have fixed it.
Build 200+ has the fix. I personally verified it.
Can confirm fixed in 200+ paper
Thank you guys worked a treat!
200 Seems to work, but 201 makes them all invisible again :( could be just me tho since I have a lot of plugins, but this never happened before. Still, thanks a lot for your hard work! 200 works great.
This is due to https://github.com/PaperMC/Paper/blob/master/Spigot-Server-Patches/0486-Fix-Longstanding-Broken-behavior-of-PlayerJoinEvent.patch#L38
can we start linking patches properly so the links don't break on rebase
Too much effort. There's a browser extension that fixes the link for you.
https://github.com/PaperMC/Paper/blob/HEAD@%7B2020-04-19T12:05:23Z%7D/Spigot-Server-Patches/0486-Fix-Longstanding-Broken-behavior-of-PlayerJoinEvent.patch#L38
Most helpful comment
Can confirm fixed in 200+ paper