Required Dependency: NPC Plugin
This feature can be activated by installing the Citizens plugin.
Required Dependency: ProtocolLib
This feature can be activated by installing the ProtocolLib plugin.
Hide Citizens NPCs if specified conditions are met!
You can do that by adding a
hide_npcs section in your package.
It allows you to assign conditions to specific NPC IDs like so:
hide_npcs: 41: killedAlready,questStarted 127: '!questStarted'
The interval the conditions are checked in can be configured in the config.yml.
Force Visibility Update🔗
You can run the
updatevisibility event to manually update the visibility. This is useful for performance optimizations
if used with the npc hider interval set to high values.