Skip to content

Rewards

Eufranio edited this page May 31, 2020 · 1 revision

Rewards are the prizes that are given to the player after he's successfully completed a quest. The base rewards are the ones listed below:

Command

Executes a list of commands as the server console, replacing the %player% placeholder on each command with the name of the player who completed the quest.

{
    commands=[
        "give %player% minecraft:stone"
    ]
}

Message

Sends a list of messages to the player, replacing the %player% placeholder on each message with the name of the player who completed the quest.

{
    messages=[
        "&aSuccessfully completed quest!"
    ]
}

Progress

Sets or add progress for the player who completed the quest in the quest's quest line. If mode = 1, it will set the progress to the specified one. If mode = 2, it will add the specified progress to the current progress of the player on the quest line.

{
    progressAfter=1
    # 1 = set, 2 = add
    progressMode=2
}

Teleport

Teleports the player who completed the quest to the specified location.

{
    location="0,0,0,world"
}