Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Multiple Requirement Achievements #616

Open
@Laarryy

Description

Hello, I may be wrong, but I can't seem to find a way to set up achievements in the config so that several steps must be completed before the achievement is granted. I thought of making several single achievements (with no reward), and then a final achievement with a reward that is completed by unlocking all of the single achievements, but I'm not sure how I can set up one achievement to be unlocked by others. My end goal, for example, could be to give a reward when a player has completed all of the following:
-Mine 30 000 stone
-Mine 2 048 Coal ore
-Mine 1 024 iron ore
-Mine 512 Gold ore
-Mine 512 Redstone ore
-Mine 256 Lapis ore
-Mine 64 Diamond ore

I have tried this as follows (replacing values with 1 for easy testing):

Breaks:
stone:
'1':
diamond_ore:
'1':
gold_ore:
'1':
coal_ore:
'1':
redstone_ore:
'1':
lapis_ore:
'1':
iron_ore:
'1':
Goal: [Goal].
Message: §1The greatest miner ever!
Name: break_everything
DisplayName: [name]
Reward:
Command:
Execute: give PLAYER [reward]

When I run this, the plugin works fine and gives no errors on startup, however, the achievement is granted only by breaking iron_ore, and the other blocks have no effect.

Is there any way to set up such an achievement? Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementAlso known as new features.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions