NPCs

NPCs

View as Markdown ·

On this page

circle-info

Every NPC is its own file in the npcs folder, named after its id.

#Add an NPC

Stand where the NPC should be and run /pnpc create <id> [type]. Without a type it is a player NPC with the default skin, named after its id.

The lime pane in Editor > NPCs creates one where you stand too, with a generated id such as npc_1234, and opens its editor straight away. Ids cannot be changed later, so use the command when the id matters to you, for example in tags or other plugins.

#The NPC List

Every NPC is listed by id, with its type, tags, location and whether it is enabled. The tag filter shows only the NPCs with one tag, and while a tag is picked, a second button turns all of them on or off at once.

Features Description
Display Name The name shown above the NPC.
Entity Type A player or any living mob.
Skin The skin of a player NPC.
Model A ModelEngine or BetterModel model instead of the entity.
Click Actions Click and proximity actions, click cooldown, block while running.
Dialogue A conversation with choices.
Appearance Glow, equipment, pose, size, head turning, tab list, collision.
Nameplate The name's height and a symbol above it.
Emotes A gesture on a timer or when a player comes close.
Visibility & Tags Who sees the NPC, from how far, and its tags.
Enabled Turn the NPC on or off.
Move Here Move the NPC to where you stand.
Teleport Teleport to the NPC.
Delete Delete the NPC.
My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping