NPC disappear

Discussion in 'Spigot Plugin Help' started by Seru, May 12, 2016.

  1. I 'm using clearlag and Citizens

    When used /lagg unloadchunks, npc's disappear

    Any ideas?
  2. 2.9.1 simply added an event before unloading the chunk for api.

    The "error" not happen in version 2.9.0.

    In addition to NPC, also they disappeared animals and monsters.

    Clearlag calls the ChunkUnloadEvent event before attempting to unload a chunk. If Citizens isn't listening to that event and handling it appropriately then it's a bug on their side.

    You don't really have to use /unloadchunks on spigot either considering they deactivate entities, chunks, and so on when players aren't near them. Spigot should also be able to efficiently and silently unload the chunks it's self.

    The only time i'd recommend using unloadchunks is when you're very low on memory and have no choice but to use it.