Get Started / First NPC

Create your first NPC

This page assumes you have never used a command-based Minecraft plugin before. Every step is spelled out.

Step 1 — stand where you want the NPC

NPCs spawn at your exact location and facing direction. Walk to the spot first, then run the command.

Step 2 — create it

/npc create Bob

This creates an NPC named Bob that looks like a player. You'll see a message confirming it was created, and it's automatically selected — more on what that means below.

Want it to look like a mob instead of a player? Add the type:

/npc create Zomb ZOMBIE
What "selected" means
After you create an NPC, this plugin remembers which one you were just working with. As long as it's selected, you can leave the name off most commands and they'll apply to it automatically. See Selection workflow for the full explanation.

Step 3 — give it a skin (if it's a player-type NPC)

/npc skin Notch

This downloads the real skin belonging to the Minecraft account named Notch and applies it. No name needed since Bob is still selected from step 2.

Want it to look exactly like you, live, as your skin changes? Use:

/npc skin @mirror

Step 4 — make it do something when clicked

Right now, clicking your NPC does nothing. Let's make it say hello:

/npc action interact add message Hello there!

Now right-click the NPC. It should say "Hello there!" in chat.

Step 5 — save your work

Most changes save themselves automatically. If you ever want to force every NPC to save right now, run:

/npcs save

What's next