-
Notifications
You must be signed in to change notification settings - Fork 4
Commands
Questlog has debug / development commands to ease quest creation.
All /questlog commands can also start with /ql as a shorthand
Arguments written within <> are required, where as within [] are not.
<quest> - the quest ID (this is the thing you write in quests.json). Autocompleted.
<objective>, <trigger>, <reward> - the index of the entry. Starts at 0, and is in the order they're specified in the quest definition.
Triggers and Objectives of type questlog:quest_complete do not change their values when a quest is synthetically reset/uncompleted using commands.
The player executing (or the command block or whatever) these commands must have a permission level of at least 2 (/op and /deop commands).
Note: due to an oversight, until and including Questlog 1.0.3, the commands could be executed by any player.
Lists information about a quest.
Resets a quest to its default state.
Equivalent to running /questlog <quest> trigger reset, /questlog <quest> objective reset, and /questlog <quest> reward uncollect
If an amount is specified, sets the trigger's completion value to the amount.
Otherwise, completes the trigger.
Completes all quest's triggers.
Equivalent to running /questlog <quest> trigger <trigger> set for every trigger.
Cannot specify the amount, since triggers' total value can vary.
Resets the given quest's trigger.
Equivalent to /questlog <quest> trigger <trigger> set 0.
Resets all quest's triggers
Equivalent to running /questlog <quest> trigger <trigger> reset for every trigger.
If an amount is specified, sets the objective's completion value to the amount.
Otherwise, completes the objective.
Completes all quest's objectives.
Equivalent to running /questlog <quest> objective <objective> set for every objective.
Cannot specify the amount, since objectives' total value can vary.
Resets a given quest's objective.
Equivalent to /questlog <quest> objective <objective> set 0.
Resets all quest's objectives.
Equivalent to running /questlog <quest> objective <objective> reset for every objective.
Collects the specific reward (along with it's specific effect), regardless of the quest's completion/trigger state.
If a reward is already collected, will not collect it again.
Does not play the reward sound if it's specified, as the command is ran server-side and sounds are client-side.
Collects all quest's rewards.
Equivalent to running /questlog <quest> reward <reward> collect for every reward.
Uncollects the specific reward if it has already been collected. Does not revert it's effect.
Uncollects all quest's rewards. Does not revert their effects.
Equivalent to running /questlog <quest> reward <reward> uncollect for every reward.