Citizens2 icon indicating copy to clipboard operation
Citizens2 copied to clipboard

Villagers despawning

Open LoXR opened this issue 9 years ago • 13 comments

Server Version: 1.12.1 Plugin Version: 2.0.22-SNAPSHOT (build 1490) What is the problem?: Was recently reported from one of the players that their named Villager had despawned right infront of them as they were working in their house. No commands or such were done at the time. So unsure if its a bug thats occured with Citizens + 1.12 or a plugin conflict of such.

LoXR avatar Aug 31 '17 11:08 LoXR

That's common to happen from plugin conflicts. Many plugins will casually remove entities (ground items, some mob types, etc) and just include mob-typed NPCs in that for some reason :/

mcmonkey4eva avatar Aug 31 '17 19:08 mcmonkey4eva

Use the command to bring up your NPC list, does it display the NPC that they had?

Kequo avatar Sep 02 '17 14:09 Kequo

It doesnt, only the ones I have created with the NPC create command.

LoXR avatar Sep 03 '17 15:09 LoXR

Could you provide a full plugin list? Got similiar issues. Due to this we had to replace Villager npcs with zombies. https://github.com/CitizensDev/Citizens2/issues/1214

johnfriedrich avatar Sep 03 '17 18:09 johnfriedrich

Plugins (86): CrazyCrates, GroupManager, PerWorldPlugins, PlugMan, BetterChairs, Lockette, RogueParkour, Arconix, Hordes, TradePlus, Ping, PandoraChatFilter, SuperDeliveryMan, Tablist, ChatColor, CoreProtect, AdvancedReporter, JustOneMore, DragonEggDrop, Essentials_WarpGUI, GappleCooldown, BetterMcmmoStats, FactionScoreboard, AutoBroadcaster, EssentialsSignFix, WorldBorder, FactionsHomes, FactionsBreak, Votifier, VoidSpawn, Multiverse-Core, ProtocolLib, DeathMessagesPrime, eZProtector, VotingPlugin, FastAsyncWorldEdit, ExploitPatcher, HideAchievements, mcMMO, ActionAnnouncer, Vault, ServerListPlus, ProtocolSupport, ColoredAnvils, FastLogin, BetterBowTrails, HolographicDisplays, Spartan, SkinsRestorer, ChestCommands, RepairPlus, DeathSpectating, WorldEdit, Orebfuscator4, Essentials, HeadDatabase, mcMMOAction, RankupForMcMMO, Citizens, HomeGUI, AdvancedMobArena, AdvancedAchievements, KitPreview, CrazyAuctions, EssentialsChat, EnjinMinecraftPlugin, CrazyEnvoy, QuickShop, WorldGuard, QuickShopWG, CommandNPC, StaffList, PlayMoreSounds, ProtocolSupportAntiBot, CombatLogX, EssentialsSpawn, AreaShop, React, AuthMe, Factions, Duels, FBasics, LiteBans, SilkSpawners, ItemFrameShops, FactionsFly

LoXR avatar Sep 04 '17 01:09 LoXR

Apparently its occured again.

LoXR avatar Sep 05 '17 01:09 LoXR

I confirm the existence of the problem. Player's villagers dissapear on every world unloading. Issue does not depend on the configuration and occurs after and the presence of the problem is verified from the version 2.0.21. No any exception in the server logs. Debug mode displays only the following information:

Preventing further respawns of 5 due to DespawnReason.RELOAD
Despawned 5 DespawnReason. RELOAD
Preventing further respawns of 4 due to DespawnReason.RELOAD
Despawned 4 DespawnReason. RELOAD
Preventing further respawns of 3 due to DespawnReason.RELOAD
Despawned 3 DespawnReason. RELOAD
Removing 3 from skin tracker due to DespawnReason.CHUNK_UNLOAD
Despawned 3 DespawnReason. CHUNK_UNLOAD
Despawned id 3 due to chunk unload at [1,1]
Removing 0 from skin tracker due to DespawnReason.CHUNK_UNLOAD
Despawned 0 DespawnReason. CHUNK_UNLOAD
Despawned id 0 due to chunk unload at [-1,-1]
Removing 5 from skin tracker due to DespawnReason.CHUNK_UNLOAD
Despawned 5 DespawnReason. CHUNK_UNLOAD
Despawned id 5 due to chunk unload at [1,3]
Removing 4 from skin tracker due to DespawnReason.CHUNK_UNLOAD
Despawned 4 DespawnReason. CHUNK_UNLOAD
Despawned 3 DespawnReason. CHUNK_UNLOAD
Despawned id 3 due to chunk unload at [1,1]
Removing 0 from skin tracker due to DespawnReason.CHUNK_UNLOAD
Despawned 0 DespawnReason. CHUNK_UNLOAD
Despawned id 0 due to chunk unload at [-1,-1]
Removing 5 from skin tracker due to DespawnReason.CHUNK_UNLOAD
Despawned 5 DespawnReason. CHUNK_UNLOAD
Despawned id 5 due to chunk unload at [1,3]
Removing 4 from skin tracker due to DespawnReason.CHUNK_UNLOAD
Despawned 4 DespawnReason. CHUNK_UNLOAD
Despawned id 4 due to chunk unload at [1,2]
Tried to despawn 5 while already despawned.
Tried to despawn 4 while already despawned.
Tried to despawn 3 while already despawned.
Tried to despawn 0 while already despawned.
Retrying spawn of 0 later due to chunk being unloaded. Util.isLoaded true
Stored 0 for respawn from NPCNeedsRespawnEvent
Removing 3 from skin tracker due to DespawnReason.CHUNK_UNLOAD
Despawned 3 DespawnReason. CHUNK_UNLOAD
Despawned id 3 due to chunk unload at [1,1]
Removing 5 from skin tracker due to DespawnReason.CHUNK_UNLOAD
Despawned 5 DespawnReason. CHUNK_UNLOAD
Despawned id 5 due to chunk unload at [1,3]
Removing 4 from skin tracker due to DespawnReason.CHUNK_UNLOAD
Despawned 4 DespawnReason. CHUNK_UNLOAD
Despawned id 4 due to chunk unload at [1,2]

Last citizens 2.0.22 version build from jenkins. Last spigot 1.11.2 version build. Also tested on a clean server only with Citizens.

Ghostlyr avatar Oct 04 '17 21:10 Ghostlyr

+ mc 1.9 got same issues

joxeyoco avatar Nov 05 '17 22:11 joxeyoco

Seems to be happening specifically to villager npcs. I've got a number of player npcs who remain in the world when the chunk is reloaded or returning to the game after disconnecting, but the villagers disappear and require a full /citizens reload to bring them back. They appear in the NPC list, otherwise.

Doesn't appear to be a conflict with another plugin, at least when I test them via a server with only citizens.

Jwguy0 avatar Dec 10 '17 16:12 Jwguy0

Please disappear the villagers npc I have tried everything I have the latest version of the plugin but nothing there is no way help please.

andfont avatar Feb 28 '18 12:02 andfont

what is happening to me is not only with the players also with npc's players disappear the mitat of what I have, I've tried everything and in the end what I do an an npc select ID and then npc spawn and it comes back out but I'm all the same day. please fix this in the plugin version! please thanks!

andfont avatar Feb 28 '18 12:02 andfont

This issue shouldn't occur except as a plugin conflict (many plugins will cause conflicts like this, especially with villager NPCs). If it is happening on clean servers + latest dev build of C2 and Spigot, then something's gone haywire...

mcmonkey4eva avatar Jun 28 '18 13:06 mcmonkey4eva

See https://wiki.citizensnpcs.co/Plugin_Conflict for relevant information dealing with plugin conflicts.

If you gather more information on the issue, please reply below so we can investigate further.

mcmonkey4eva avatar Oct 12 '18 18:10 mcmonkey4eva