Version: 0.5.1
Option Dialogue
The Option Dialogue
action displays a list of options to the player to choose from. This action provides you with the ability to give players choices that affect the outcome of the game.
How could this be used?
This action can be useful in a variety of situations, such as presenting the player with dialogue choices that determine the course of a story or offering the player a choice of rewards for completing a quest.
Fields
Criteria
InheritedListA list of facts that must be met by the player before this entry can be triggered.
Modifiers
InheritedListA list of facts that will be modified for the player when this entry is triggered.
Triggers
RequiredListSpeaker
RequiredText
RequiredColoredPlaceholdersThe text to display to the player.
Colors and formatting from the
MiniMessage Adventure Api
can be used. So for example, you can use <red>Some Text</red>
for red text.Placeholders from the
PlaceholderApi
can be used. So for example, you can use %player_name%
for the player name.Options
RequiredListThe options for the player to choose from.
Duration
RequiredThe duration it takes to type out the message. If the duration is zero, the message will be displayed instantly.
Durations can be specified in the following format:
1d 2h 3m 4s
. The following units are supported: d
for days, h
for hours,m
for minutes and s
for seconds.