[Solved] Tab list compatibility fixes do not fully work. [Distance based bug]
So, I have been having a problem with the latest Citizens 2 dev build. This build claims to provide tab list compatability, though it doesn't hide 100% of the NPCs. 2 NPCs always refuse to be hidden.
What happens:
- We have a large area with all the staff listed and shown as statues at /warp staff
- When someone goes to /warp staff, all the staff names flash on the TAB list breifly.
- After a moment, most of the names disappear (leaving 2 NPC names still on TAB), and your name is gone (probably replaced by one of the NPCs' names).
- If you teleport away from the area, the names are still displayed in TAB, though if you relog, the TAB list will become accurate upon logging in, if the chunks where the NPCs exist are not loaded.
- Else, if you log out and log back in while the chunks are loaded at the NPCs, then they fake names in TAB remain and your name is still hidden.
Tested on both 1.8 (vanilla client) and 1.7.9 client with only Optifine. Spigot 1.7.10 + 1.8 Protocol Hack (Spigot Update - 20140909a) Citizens2 #1172 (also tested the build patch that someone posted earlier on github; same result). Java 1.7
Example <- The players "Holyapple1984" and "B1adeX" are not online and are NPCs in an area at /warp staff along with many other NPCs.
It is always Holyapple1984 and B1adeX, when teleporting there that remain on the list.
EDIT: I realized that the reason they were showing on TAB was because they were a distance away from the player when they enter the area. If you teleport/relog too far away from an NPC, they get stuck on the tab list for you, regardless of relogging.
They also disappear from TAB when you get close enough. This is a strange distance based bug. I hope you can fix it.
EDIT 2: When you're near an NPC with the same name as someone online, they are hidden from the TAB list.
This is as a result of #59
I can confirm this is a bug in 1.8 Spigot. It's happening on my server occasionally.
Might be fixed now?
This is still not fixed with using build 1178 and even the newest patched spigot 20141001a.
Using Latest Citizens build artifact #1178. Human NPC's from my server spawn world are appearing in the tablist server-wide and my name disappears from the tablist. Any other suggestions to fix? Using Spigot1656.jar THANKS!
Thought it was fixed in #1180 but NPC's name still appear. My username has come back though. Please fix if you can! thanks
Same here. Using Build #1180 and NPCs of players who are already online show up in the TAB list as well as the player.
Can you try the latest build?
It appears 100% clean for me.
Build #1183 fixes this for me
Hi! Thanks for all your support, but the Human NPC's still appear in the TABlist. For some reason, this on occurs with the NPC's in the spawn world. Is there something i'm doing wrong? Here is a copy of my config. do i need to delete it for the new updates to take affect. Thanks for all your support.
Please look above for an example of what happens.
http://pastebin.com/0bnu7pW4
Thank You!
Could you provide a startup log too, so we can look for any inconsistencies?
Also a screenshot of your tablist as it is now?
Ok, will post tomorrow. Thanks for your help! :D
Hi, here is my console log. Referring to Citizens only.
[06:30:35 INFO]: [Citizens] Loading Citizens v2.0.13-SNAPSHOT (build 1183) [06:31:14 INFO]: [Citizens] Enabling Citizens v2.0.13-SNAPSHOT (build 1183) [06:31:14 ERROR]: [Citizens] Unable to find Rhino classes - javascript scripts won't see non-CraftBukkit classes [06:31:22 INFO]: [CommandNPC] Enabling CommandNPC v1.7 [06:31:22 INFO]: Injecting command info into Citizens. [06:31:23 INFO]: [cncp] Registered hook(NCPHook might get added later): Citizens2(default) / 2.2 [06:31:25 INFO]: [NoCheatPlus] Added hook: Citizens2(cncp) [2.0]. [06:31:29 INFO]: [Citizens] Loaded 116 NPCs.
[06:34:33 INFO]: This server is running CraftBukkit version git-Spigot-1.7.9-R0.2-208-ge0f2e95 (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT) [06:34:42 INFO]: Citizens version 2.0.13-SNAPSHOT (build 1183) [06:34:42 INFO]: Website: http://www.citizensnpcs.co [06:34:42 INFO]: Authors: aPunch and fullwall
And here is a screenshot of the tablist currently. Appears on 1.7 and 1.8 clients. (only in the spawn world)

Heads Up, This problem started only when I upgraded from Bukkit to Spigot.
If you need additional information, please let me know. Thanks for your ongoing support! Citizens2 is the best statue plugin out there. Thank you for maintaining it.
Haha, using Citizens only for statues is like using WorldEdit for digging blocks, but to each their own.
That is really strange, the latest fix seems really solid, and it works for everyone but you... are you able to create a local test server ( https://www.youtube.com/watch?v=I71eMkUZmDY&feature=youtu.be ) that shows the problem and upload the contents for us to play with?
@tjbruce17594 - do you have remove-from-player-list set to false?
My Current Config. http://pastebin.com/0bnu7pW4
This started when I updated from Bukkit to Spigot. Is there a plugin conflict, or something I did wrong etc? Also, the problem only occurs when you join the spawn/default world. The Human NPC's names stay on the tablist.
Thanks for your support.
Just came to say I am having the same problem. I am updated to the newest dev build as well. I believe this happens no matter what world you are on. If you set the name of the NPC as a minecraft username, thus giving them the skin of that minecraft user, then the name shows up on the scoreboard. If you give them a name, and then set them to a specific type, then they do not show up on the list. Hopefully this will help.