A plugin for creating and giving players quests as items
1

Developers

ItemQuests adds a few events for developers which they can use, these are:

QuestCompleteEvent
QuestObjectiveCompleteEvent
QuestProgressGainedEvent
QuestStartEvent

QuestProgressGainedEvent

This event can be used by developers to post objective progress changes, and is listened for internally by ItemQuests to handle external objective requests. The amount can be negative, in which case it will take progress away from the objective.

This event is posted when players gain progress for an objective. This event holds information about the player that gained the progress, the string representation of the objective node that they gained progress for, an the amount of progress that they gained. This quest is not cancellable.

QuestCompleteEvent

This event is posted when players complete a quest, and contains information about the player that completed the quest, and the quest that they completed. This quest is not cancellable.

QuestObjectiveCompleteEvent

This event is posted when players complete an objective, and contains information about the player that completed the quest, the quest that they completed, and the objective that they had completed. This quest is not cancellable.

QuestStartEvent

This event is posted when players start a new quest, and contains information about the player that started the quest, and the quest that they started. This quest is not cancellable.

Category: Gameplay

Published on Jul 29, 2021

views

stars

watchers

total downloads

Promoted Versions

Members