README.md
563 B · sha256:f1d480df0c4dd368d788f7f181d205c055de183f5bd1bf9099a730bd7a56ca14
# NPCs
`rune add @rune/npcs`, then restart Paper.
- `/npc create guide Town Guide` places a named villager where you stand.
- `/npc say guide Welcome to town!` sets its right-click dialogue.
- `/npc` lists IDs and `/npc remove guide` removes one.
Definitions persist by world and position. Entities are recreated when
their chunk loads. Right-clicks emit `npcs.interact` with
`{ npcId, playerId, playerName }` for quests and menus to consume. Remove
loaded NPCs before uninstalling or restart Paper to discard their entities.
Management requires `rune.admin`.