# Examples

Examples are finished NPCs that show what the plugin can do. Place one, look at how it is set up in the editor, and change it into your own.

## Placing an Example

Open **Editor > Examples** and Left-Click an example, or type `/pnpc example <name>`. The NPC is placed a few blocks in front of you, facing you, and its editor opens. When [PhoenixHolograms](https://www.phoenixplugins.com/products/phoenix-holograms) is installed, the example also gets its name hologram, linked to the NPC.

## The Examples

| Name | Shows |
| ---- | ----- |
| `guide` | A player NPC with a dialogue, choices, typing text and a camera lock. |
| `merchant` | A villager that opens PhoenixShop: Left-Click opens a category, Right-Click the shop. Needs PhoenixShop with a shop called `shop`. |
| `mirror` | A mannequin wearing the skin of each player looking at it, with speech bubbles. |
| `teleporter` | Teleports players back to where you stood when you placed it, with a title, a sound and a cooldown. |
| `guard` | An armoured guard with a health bar that fights back when hit. |
| `pet` | A cat that wanders around, purrs and meows when clicked. |
| `crier` | Walks a small loop next to where it was placed and calls out lines in chat. |
| `quest` | A fisherman with a `!` above his head who trades 3 cod for a diamond. |
| `vip` | Looks different to players with `phoenixnpcs.example.vip`: gold glow, another skin and a welcome line. |
| `training-dummy` | An armor stand that shows the damage of every hit. |
| `leaderboard-statue` | A player wearing the skin of the #1 player of a leaderboard, with the name and value above it. Needs PlaceholderAPI and a PhoenixHolograms leaderboard hologram called `leaderboard`. |
| `duels-queue` | Joins the unranked solo `classic` queue and shows how many players are queueing and playing. Needs PhoenixDuels. |
| `crate-preview` | Opens the preview of the crate `CrateExample`. Needs PhoenixCrates; change the crate in its click actions. |
| `trader` | A villager with its own vanilla trades: bread for an emerald, emeralds for iron and a name tag for emeralds and a book. |

Source: https://www.phoenixplugins.com/docs/phoenix-npcs/features/examples