Citizens: NPCs with commands and dialogues
Advanced NPCs: click actions, dialogues, traders, guards, and linking to quests.
Updated August 13, 2026
Basic NPC creation — NPC and Citizens. This page covers what you do with them next.
Click commands
/npc command add warp market
/npc command add -p cost 100
/npc command permissions essentials.warp.market
The -p flag runs the command as the player; without it, the command runs from the console. This matters: /warp won't work from the console.
Dialogues
Add-on plugins (Denizen, simple dialog add-ons) let you run a step-by-step dialogue with answer options. For most servers, a sequence of messages with a delay is enough.
Merchant
The NPC opens a shop menu through a menu plugin (DeluxeMenus, ChestCommands). Click on the NPC → command that opens the menu.
Guard
/trait sentinel
/npc sentinel target add npc
/npc sentinel damage 6
Sentinel is a separate add-on: the NPC attacks mobs or players based on conditions. Useful for decoration, not for real protection.
Performance
/npc lookclose falsefor distant NPCs.- Don't keep NPCs in chunks that stay loaded without players.
- A hundred NPCs at spawn means a hundred entities for every player who joins.
