Features / Selection workflow

Selection workflow

Typing out an NPC's name on every single command gets old fast. Selection fixes that.

How it works

The plugin remembers one NPC per player as your "selected" one.

  • Creating an NPC with /npc create selects it automatically
  • /npc select <name> selects a specific NPC by name
  • /npc select with no name selects whichever NPC is physically closest to you
  • /npc deselect clears your selection

Using it

Once an NPC is selected, you can leave its name out of most commands:

/npc select Bob
/npc scale 1.5
/npc glowing red
/npc skin Notch

Each of those three commands after select applies to Bob, without repeating the name.

You can still name an NPC explicitly
Giving an explicit name always works and always overrides your current selection for that one command — selection is a shortcut, not a requirement. /npc scale Other 2.0 works exactly the same whether or not you have something else selected.

If nothing is selected

If you run a name-less command with nothing selected, the plugin tells you so directly instead of silently failing:

No NPC selected. Use /npc select <name> or /npc scale <name> <factor>.

When selection clears

  • When you log off
  • When the NPC you had selected gets removed