Skip to main content

Achievements

info

There are two types of achievements:

  • CHALLENGE - Single tier
  • TIERED - Multiple tiers

The type is automatically determined by the number of tiers.

note

Achievements are located in the plugins/EpicAchievements/achievements/<category> folder.
You can have as many achievement files as you want in a category.

Below is an example of an achievement configuration:

achievements/survival/challenges.yml
# Unique identifier. Don't modify it or players will lose their progress!
lucky-catch:
# The type of task
# See https://wiki.pixelstudios.dev/epicachievements/configuration/tasks
type: FISH
# The achievement's name
name: "Lucky Catch"
# The achievement's description
description:
- "&fCatch an enchanted book"
- "&fwhile fishing."
# (Optional) The achievement's weight
# This determines the default sorting order in the menu
# The default weight is 1
# weight: 10

# (Optional) Permission required to access the achievement
# permission: achievements.lucky-catch

# (Optional) Required achievements to access this achievement
# requirements:
# - "miner" # Requires all tiers to be completed
# - "farmer:1" # Requires the first tier to be completed

# A list of conditions
# See https://wiki.pixelstudios.dev/epicachievements/configuration/conditions
conditions:
- type: game_modes
game-modes:
- SURVIVAL
- type: items
items:
- ENCHANTED_BOOK
# A list of tiers (at least one tier is required)
tiers:
1:
# Progress required to complete the tier
required-amount: 1
# A list of rewards. See https://wiki.pixelstudios.dev/epicachievements/configuration/rewards
rewards:
- type: points
amount: 5
# More tiers can be added below:
# 2:
# required-amount: 3
# rewards:
# - type: points
# amount: 10