Skip to main content
NPCs live in plugins/NMEntities/NPCs/, created on startup alongside Mobs/ and Effects/. The /npc commands manage these files for you, but they’re plain YAML and safe to hand-edit. /nme reload applies changes and respawns everything.

Format

Every .yml or .yaml file in the folder can hold multiple NPCs. Each top-level key is an NPC id:

Field reference

One definition, many instances

Each locations: entry is an instance of the same NPC standing somewhere in the world. Add an entry by hand (or with /npc spawn) and another copy appears there on the next reload or chunk load. Remove an entry and that copy is gone. The definition-level keys apply to every instance, with one wrinkle: /npc rename, /npc skin and /npc nametag run against a single selected copy write a per-copy override instead, so one placed instance can carry its own name, skin or nametag setting while the rest follow the definition.

Older files

NPC files from before multi-instance support used a single location: key. They still load, treated as one instance, and are upgraded to the locations: list automatically the next time a command touches them.