Skip to content

Quests

Type: Bot

A list of accepted quests.

Type: Quest[]

A list of quests loaded in the client.

Type: Quest[]

Abandons a quest.

ParameterTypeDescription
questIdnumberThe quest id to abandon.

Returns: Promise<void>

Accepts a quest.

ParameterTypeDescription
questIdnumberThe quest id to accept.

Returns: Promise<void>

Accepts multiple quests concurrently.

ParameterTypeDescription
questIdsnumber[]List of quest ids to accept.

Returns: Promise<void>

Completes a quest.

ParameterTypeOptionalDefaultDescription
questIdnumberThe quest id to complete.
turnInsnumber1The number of times to turn-in the quest.
itemIdnumber-1The ID of the quest rewards to select.
specialbooleanfalseWhether the quest is “special.”

Returns: Promise<void>

Resolves for a Quest instance.

ParameterTypeDescription
questIdnumberThe id of the quest.

Returns: Quest | null

Loads a quest.

ParameterTypeDescription
questIdnumberThe quest id to load.

Returns: Promise<void>

Loads multiple quests at once.

ParameterTypeDescription
questIdsnumber[]List of quest ids to load

Returns: Promise<void>