NPCs
NPCs are an essential part of every RPG for player ingame interaction.
In BetonQuest NPCs can be used to start conversations or interact with them otherwise,
as shown in the Scripting
and Visual Effects
section of the documentation.
Info
This NPC is not related to the NPC/Quester in Conversations
Provided Integrationsπ
BetonQuest provides Integrations for the following Npc plugins:
Referring an NPCπ
Npcs are defined in the npcs
section.
npcs:
innkeeper: citizens 0
mayorHans: citizens 4
guard: citizens Guard byName
You simply use the Citizens NPC id as argument.
To acquire the NPCs ID select the NPC using /npc select
, then run /npc id
.
You can also get a NPC by its name with the byName
argument.
That is useful when you have many NPCs with the same name which should all start the same conversation
or count together in the npcinteract
and npckill
objectives.
npcs:
innkeeper: FancyNpcs dc8f2889-ed79-455e-944b-115dae978737
mayorHans: FancyNpcs 72910823-c0c3-499d-adcc-d31cb75963c0
guard: FancyNpcs Guard byName
You simply use the FancyNpcs NPC id as argument.
To acquire the NPCs ID use the /npc nearby
command and copy the UUID
from the NPC info.
You can also get a NPC by its name with the byName
argument.
That is useful when you have many NPCs with the same name which should all start the same conversation
or count together in the npcinteract
and npckill
objectives.
npcs:
bernhard: ZNPCsPlus bernhard
guard: ZNPCsPlus Guard10
You simply use the ZNPCsPlus NPC ID as argument.
To acquire the NPCs ID use the /npc near 5
command and copy the ID
from the NPC info.
Warning
If there are more NPCs than one NPC with the same name, and you select multiple NPCs by name (like by using
Citizens byName
option) certain events like npcteleport
or objectives like npcrange
might throw an exception.
Conversationsπ
You can start Conversations with NPC interaction by assigning them in the
npc_conversations
section of a quest package.
NPC Hiding: hide_npcs
π
You can hide NPCs for certain players using conditions. You can find information about it here.