FancyNpcs
Last updated
When FancyNpcs is installed, the interact_npc trigger becomes available. Detection is automatic.
interact_npc
clicks an NPC
1 per interaction
The target is the NPC's name — the one you gave it in /npc create <name>, not its display name. It's required; there's no any.
objectives:
report_back:
name: "CF6FF&lReport to the Captain"
description:
- "&#C7D0D9Find the captain at the docks"
- "&#C7D0D9and tell him what you saw."
trigger: interact_npc
target: captain
required: 1This trigger is the building block for classic RPG-style quest flows:
Delivery quests — objective 1: collect items, objective 2: interact_npc on the recipient. Since all objectives progress in parallel, tell players the order in the descriptions.
Talk-to-X-people quests — one interact_npc objective per NPC, each with required: 1.
Turn-in endings — make interact_npc the last objective of every story quest, so quests always end at a character instead of in mid-air.
Every click counts, and there's no cooldown on the plugin side — with required: 5, five quick clicks on the same NPC complete the objective. For "visit 5 different NPCs" quests, use five separate objectives instead of one with required: 5.
Last updated