messageDialogues

Basic description of the dialogue files.

Settings

This section allows you to configure settings specific to dialogues.

Settings:
  typing-speed: 1 # Ticks(Second/20)
  range: 3 # 
  effect: Slowness # Slowness / Freeze
  answer-numbers: true
  prevent-exit: false
  character-name: true
  character-image: true
  background-fog: true
circle-info

The prevent-exit setting prevents the dialogue from being instant ended using shift.

Dialogue

Specifies the dialogue pages; you can configure everything here.

Dialogue:
  '1':
    lines:
      - 'LuxDialogues is now on #2d87c3BBB!'
      - 'Have not you #cdff29bought #4f4a3eit yet?'
      - 'What are you waiting for?'
    pre-actions:
      - msg %player_name% dialoguepreAction1 @console
    post-actions:
      - msg %player_name% dialoguepostAction1 @console
  '2':
    lines:
      - 'New features are added almost'
      - 'every day I think you'
      - 'shouldn''t miss this'
      - 'opportunity...'
    pre-actions: {}
    post-actions: {}
circle-info

pre-actions are triggered at the beginning of the dialogue page, while post-actions are triggered at the end. Available arguments here include @console, @delay.<seconds>, condition.<condition> and @redirect. A detailed explanation is provided in the following sections of the page.

triangle-exclamation

Answers

The selection screen that appears at the end of dialogues.

circle-info

The usage of conditions and actions is explained in the following sections of the page.

circle-exclamation

Conditions

There are 2 types of conditions: one for permissions and the other for placeholders.

Actions

Actions can be used in dialogues and answers. The locations where they are used are specified in the texts above. There are several tags you can use for actions. These are exemplified below.

circle-exclamation

Last updated