Interface DisplayCondition

Display condition of articles/quests.

interface DisplayCondition {
    command?: string | string[];
    default?: boolean;
    firstLoad?: boolean;
    itemStack?: ItemStack;
}

Properties

command?: string | string[]

Display article when player send the command.

default?: boolean

Default condition like simple articles.

firstLoad?: boolean

Display article when the world first load.

itemStack?: ItemStack

Display article when player use the item.