# Configuration

#### **List of Achievement Types**

Each type represents a specific action or event a player can accomplish.

| **Achievement Type**   | **Description**                                           |
| ---------------------- | --------------------------------------------------------- |
| `ARMOR_EQUIP`          | Detects when a player equips a piece of armor.            |
| `ARROW_SHOOT`          | Detects when a player shoots an arrow.                    |
| `BLOCK_BREAK`          | Detects when a player breaks a specific block.            |
| `BOAT_DISTANCE`        | Tracks the distance traveled in a boat.                   |
| `BOOK_SIGN`            | Detects when a player signs a book.                       |
| `BREED`                | Detects when a player breeds animals.                     |
| `BREW_POTION`          | Detects when a player brews a potion.                     |
| `BUCKET_FILL`          | Detects when a player fills a bucket with a liquid.       |
| `CAMEL_DISTANCE`       | Tracks the distance traveled while riding a camel.        |
| `CRAFT`                | Detects when a player crafts an item.                     |
| `GAIN_EFFECT`          | Detects when a player gains a potion effect.              |
| `ELYTRA_FLY`           | Tracks the distance flown with an Elytra.                 |
| `ENCHANT`              | Detects when a player enchants an item.                   |
| `ENDER_PEARL_TELEPORT` | Detects when a player teleports using an Ender Pearl.     |
| `ENTITY_KILL`          | Detects when a player kills a specific entity.            |
| `EXTRACT_FROM_ANIMAL`  | Detects when a player shears a sheep or milks a cow.      |
| `FERTILIZE_PLANTS`     | Detects when a player uses Bone Meal on plants.           |
| `FIREWORK_LAUNCH`      | Detects when a player launches a firework.                |
| `FISHING`              | Detects when a player catches a fish.                     |
| `FOOD_CONSUME`         | Detects when a player eats food.                          |
| `HOE_LAND`             | Detects when a player tills land using a hoe.             |
| `ITEM_DROP`            | Detects when a player drops an item from their inventory. |
| `ITEM_PICKUP`          | Detects when a player picks up an item.                   |
| `JUMP_HEIGHT`          | Tracks the highest jump performed by a player.            |
| `LEVEL_ACHIEVE`        | Detects when a player reaches a specific level.           |
| `LLAMA_DISTANCE`       | Tracks the distance traveled while riding a llama.        |
| `MINECART_DISTANCE`    | Tracks the distance traveled in a minecart.               |
| `NPC_INTERACTION`      | Detects when a player interacts with an NPC.              |
| `PIG_DISTANCE`         | Tracks the distance traveled while riding a pig.          |
| `PLAYER_KILL`          | Detects when a player kills another player.               |
| `PLAY_MUSIC_DISC`      | Detects when a player plays a music disc in a jukebox.    |
| `USE_POTION`           | Detects when a player drinks a potion.                    |
| `RAID_WIN`             | Detects when a player wins a raid.                        |
| `REPAIR`               | Detects when a player repairs an item in an anvil.        |
| `SLEEP`                | Detects when a player sleeps in a bed.                    |
| `SMELT`                | Detects when a player smelts an item in a furnace.        |
| `SNEAK_DISTANCE`       | Tracks the distance a player sneaks.                      |
| `SNOWBALL_THROW`       | Detects when a player throws a snowball.                  |
| `STRIDER_DISTANCE`     | Tracks the distance traveled while riding a Strider.      |
| `TAME`                 | Detects when a player tames an animal.                    |
| `USE`                  | Detects when a player interacts with a block or item.     |
| `VANILLA`              | Detects when a player completes a vanilla advancement.    |
| `VILLAGER_TRADE`       | Detects when a player trades with a villager.             |
| `WALK_DISTANCE`        | Tracks the distance a player walks.                       |



The plugin generates multiple configuration files:

#### `config.yml`

```yaml
# Configuration of AdvancementsCore
#license:
#  key: "PASTE-YOUR-KEY-HERE"

# Messages for the plugin
messages:
  no_permission: "&cYou do not have permission to use this command."
  usage_team: "&cUsage: /team <create|join|leave|invite|kick|delete|list|personallist> [args...]"
  only_players: "&cOnly players can use this command."
  team_not_enabled: "&cYou can't do that in solo mode"
  team_created: "&aTeam %team_name% created with ID: %team_id%."
  team_joined: "&aJoined team: %team_id%."
  team_left: "&aYou have left your team."
  player_invited: "&aPlayer invited: %player_name%."
  player_invite_received: "&aYou have been invited to join the team: %team_name%."
  player_already_in_team: "&cPlayer is already in a team."
  not_in_team: "&cYou are not in a team."
  player_not_found: "&cPlayer not found."
  player_kicked: "&aPlayer kicked: %player_name%."
  player_kick_received: "&cYou have been kicked from the team: %team_name%."
  team_deleted: "&aTeam deleted: %team_id%."
  achievement_not_found: "&cAchievement not found."
  team_not_found: "&cTeam not found."
  already_in_team: "&cYou are already in a team. Leave your current team before creating a new one."
  cannot_invite_self: "&cYou cannot invite yourself to your own team."
  team_list: "&aTeams:"
  team_list_entry: "&a- %team_name% (ID: %team_id%) (%member_count% members)"
  team_members: "&aMembers of your team (%team_name%):"
  team_member_entry: "&a- %player_name%"
  unknown_command: "&cUnknown command. Usage: /team <create|join|leave|invite|kick|delete|list|personallist> [args...]"
  usage_command: "&cUsage: /advancementscore <reload|days> [args...]"
  config_reloaded: "&aConfiguration reloaded."
  day_set: "&aDay set to %day%"
  page_next: "&aNext Page"
  page_previous: "&aPrevious Page"
  filter_day_prefix: "&cDay: &r"
  filter_world_prefix: "&cWorld: &r"
  filter_category_prefix: "&cCategory: &r"
  filter_disabled: "&cDisabled"
  progress_title: "&aProgress"
  progress_lore: "&7%completed%/%total% Achievements completed"
  lore_left_click: "&7Left-click to give one item"
  lore_right_click: "&7Right-click to give one item"
  lore_shift_click: "&7Shift left-click to give all items needed"
  get_achievement_id: "&aAchievement ID: %id%"
  get_achievement_id_null: "&cNo Achievement ID found!"
  achievement_description: "&f%description%"
  achievement_progress: "&7Progress: %current%/%threshold%"
  achievement_points: "&7Points: %points%"
  no_team: "&cNo team"
  invalid_team: "&cInvalid team"
  invitation_expired: "&cYou don't have an invitation to join this team."
  no_invitation: "&cYour invitation to join this team has expired."
  total_points: "&aTotal Points Possible: %points%"
  total_achievements: "&aTotal Achievements Possible: %achievements%"
  leaderboard_entry: "&a%team_name% &7(%points% points)"
  current_day: "&aCurrent day: &r%day%"
  menu_title: "&aAchievements Menu"
  npc_menu_title: "&aNPC Achievements Menu"
  achievement_granted: "&aAchievement %achievement_name% granted to team %team_name%."
  progress_set: "&aProgress set for achievement %achievement_name% of team %team_name% to %amount%."
  progress_added: "&aProgress of achievement %achievement_name% of team %team_name% increased by %amount%."
  unknown_action: "&cUnknown action."
  amount_must_be_number: "&cThe amount must be a number."
  usage_achievement: "&cUsage: /achievement <give|progress> [args...]"
  usage_achievement_give: "&cUsage: /achievement give <team_id> <achievement_id>"
  usage_achievement_progress: "&cUsage: /achievement progress <set|add> <team_id> <achievement_id> <amount>"
  achievement_max_reached: "&cYou have reached the maximum progress for achievement: %achievement%"
  no_required_items: "&cNo required items"

# Materials used in menus
materials:
  navigation_previous: "ARROW"
  navigation_next: "ARROW"
  filter_day: "COMPASS"
  filter_world: "MAP"
  filter_category: "BOOK"
  achievement_completed: "GREEN_TERRACOTTA"
  achievement_in_progress: "RED_TERRACOTTA"
  progress_tracker: "BOOKSHELF"

# Other settings of the plugin
general:
  enable_team: true
  enable_team_chat: true
  team_chat_prefix: "[Team]"
  npc_id: 0  # ID of the Citizen NPC to interact with

# Database configuration
database:
  type: "sqlite"  # Change in "mysql" if you want to use MySQL Database
  host: "localhost"
  port: 3306
  database: "advancementscore"
  username: "root"
  password: ""
  jdbcUrl: "jdbc:mysql://localhost:3306/advancementscore"

```

#### `achievements.yml`

```yaml
# ==============================
# Achievements Configuration
# ==============================
# To add a new achievement, use the following format:
#
# achievement_id:
#   name: "Achievement name"
#   description: "Description of the achievement"
#   material: "MATERIAL"            # The material representing the achievement (eg: STONE, DIAMOND_SWORD)
#   type: "ACHIEVEMENT_TYPE"        # The type of achievement (eg: BLOCK_BREAK, ENTITY_KILL)
#   arguments:                      # The necessary arguments (eg: STONE, DIAMOND_ORE for block_break)
#     ["SKELETON", "ZOMBIE"]
#   threshold: integer              # The threshold to reach (ex: 50 to break 50 stone blocks)
#   points: integer                 # The number of points obtained (ex: 10 points)
#   world: "world_name"             # The world in which the achievement can be accomplished (ex: world, world_nether, world_the_end)
#   day: integer                    # The day of the event (ex: 1 for the first day)
#
# ==============================
# Examples of achievements
# ==============================

### ARMOR_EQUIP
# Equip a specific piece of armor
achievement_equip_diamond_helmet:
  name: "Diamond Helmet Equipped"
  description: "Equip a diamond helmet."
  material: "DIAMOND_HELMET"
  type: "ARMOR_EQUIP"
  arguments: ["DIAMOND_HELMET"]
  threshold: 1
  points: 5
  world: "world"
  day: 1

# Equip multiple specific armor pieces
achievement_equip_iron_helmet_boots:
  name: "Iron Protection"
  description: "Equip both an iron helmet and iron boots."
  material: "IRON_HELMET"
  type: "ARMOR_EQUIP"
  arguments: ["IRON_HELMET", "IRON_BOOTS"]
  threshold: 2
  points: 10
  world: "world"
  day: 2

# Equip a full set of armor
achievement_full_netherite_armor:
  name: "Netherite Champion"
  description: "Equip a full set of Netherite armor."
  material: "NETHERITE_CHESTPLATE"
  type: "ARMOR_EQUIP"
  arguments: ["FULL_NETHERITE"]
  threshold: 1
  points: 20
  world: "world_nether"
  day: 3

# Equip any armor piece (wildcard)
achievement_equip_any_armor:
  name: "Armored Up"
  description: "Equip any armor piece."
  material: "IRON_CHESTPLATE"
  type: "ARMOR_EQUIP"
  arguments: ["*"]
  threshold: 1
  points: 5
  world: "world"
  day: 4


### ARROW_SHOOT
# Shoot an arrow using any ranged weapon (wildcard)
achievement_shoot_any_weapon:
  name: "Any Weapon Mastery"
  description: "Shoot an arrow using any ranged weapon."
  material: "BOW"
  type: "ARROW_SHOOT"
  arguments: ["*"]
  threshold: 1
  points: 5
  world: "world"
  day: 3


### BLOCK_BREAK
# Specific block type
achievement_break_diamond_ore:
  name: "Diamond Miner"
  description: "Mine a diamond ore block."
  material: "DIAMOND_ORE"
  type: "BLOCK_BREAK"
  arguments: ["DIAMOND_ORE"]
  threshold: 1
  points: 10
  world: "world"
  day: 1

# Any block (wildcard)
achievement_break_any_block:
  name: "Destructive Force"
  description: "Break any type of block."
  material: "STONE"
  type: "BLOCK_BREAK"
  arguments: ["*"]
  threshold: 50
  points: 5
  world: "world"
  day: 3


### BOAT_DISTANCE
# Travel a specific distance in a boat
achievement_boat_travel_100:
  name: "Sailor"
  description: "Travel 100 blocks by boat."
  material: "OAK_BOAT"
  type: "BOAT_DISTANCE"
  arguments: ["*"]
  threshold: 100 #Number of block to travel
  points: 10
  world: "world"
  day: 1


### BOOK_SIGN
# Sign threshold number of books
achievement_sign_any_books:
  name: "Novelist"
  description: "Sign any number of books."
  material: "BOOK_AND_QUILL"
  type: "BOOK_SIGN"
  arguments: ["*"]
  threshold: 10
  points: 20
  world: "world"
  day: 3


### BREED
# Breed a specific animal (e.g., Cow)
achievement_breed_cow:
  name: "Cow Breeder"
  description: "Breed a cow."
  material: "WHEAT"
  type: "BREED"
  arguments: ["COW"]
  threshold: 1
  points: 5
  world: "world"
  day: 1

# Breed any type of animal (wildcard)
achievement_breed_any:
  name: "Master Breeder"
  description: "Breed any type of animal."
  material: "GOLDEN_CARROT"
  type: "BREED"
  arguments: ["*"]
  threshold: 20
  points: 25
  world: "world"
  day: 3


### BREW_POTION
# Brew a specific potion (e.g., Strength Potion)
achievement_brew_strength:
  name: "Potion Brewer"
  description: "Brew a Strength potion."
  material: "POTION"
  type: "BREW_POTION"
  arguments: ["MINECRAFT:STRENGTH"]
  threshold: 1
  points: 5
  world: "world"
  day: 1

# Brew a specific modified potion (e.g., LONG or STRONG Strength Potion)
achievement_brew_long_strength:
  name: "Potion Brewer"
  description: "Brew a Strength potion."
  material: "POTION"
  type: "BREW_POTION"
  arguments: ["MINECRAFT:LONG_STRENGTH"] #Can be ["MINECRAFT:STRONG_STRENGTH"]
  threshold: 1
  points: 5
  world: "world"
  day: 1


# Brew any type of potion (wildcard)
achievement_brew_any_potion:
  name: "Master Alchemist"
  description: "Brew any type of potion."
  material: "POTION"
  type: "BREW_POTION"
  arguments: ["*"]
  threshold: 20
  points: 25
  world: "world"
  day: 3


### BUCKET_FILL
# Fill a bucket with water
achievement_fill_water_bucket:
  name: "Water Collector"
  description: "Fill a bucket with water."
  material: "WATER_BUCKET"
  type: "BUCKET_FILL"
  arguments: ["WATER_BUCKET"]
  threshold: 1
  points: 5
  world: "world"
  day: 1

# Fill a bucket with lava multiple times
achievement_fill_lava_bucket_multiple:
  name: "Lava Harvester"
  description: "Fill a bucket with lava five times."
  material: "LAVA_BUCKET"
  type: "BUCKET_FILL"
  arguments: ["LAVA_BUCKET"]
  threshold: 5
  points: 15
  world: "world"
  day: 2

# Fill a bucket with any liquid (wildcard)
achievement_fill_any_bucket:
  name: "Bucket Master"
  description: "Fill a bucket with any liquid."
  material: "BUCKET"
  type: "BUCKET_FILL"
  arguments: ["*"]
  threshold: 10
  points: 20
  world: "world"
  day: 3


### CAMEL_DISTANCE
# Travel 100 blocks while riding a camel
achievement_camel_ride_distance:
  name: "Desert Explorer"
  description: "Travel 100 blocks while riding a camel."
  material: "SAND"
  type: "CAMEL_DISTANCE"
  arguments: ["*"]
  threshold: 100
  points: 20
  world: "desert"
  day: 1


### CRAFT
# Craft a specific item (Diamond Sword)
achievement_craft_diamond_sword:
  name: "Master Blacksmith"
  description: "Craft a Diamond Sword."
  material: "DIAMOND_SWORD"
  type: "CRAFT"
  arguments: ["DIAMOND_SWORD"]
  threshold: 1
  points: 10
  world: "world"
  day: 1

# Craft any item (Wildcard achievement)
achievement_craft_any_item:
  name: "Skilled Artisan"
  description: "Craft any item."
  material: "CRAFTING_TABLE"
  type: "CRAFT"
  arguments: ["*"]
  threshold: 10
  points: 20
  world: "world"
  day: 3


### GAIN_EFFECT
# Gain a specific potion effect (Speed II)
achievement_gain_speed:
  name: "Swift Runner"
  description: "Gain Speed II effect."
  material: "SUGAR"
  type: "GAIN_EFFECT"
  arguments: ["SPEED:2"]
  threshold: 1
  points: 10
  world: "world"
  day: 1

# Gain any effect (Wildcard)
achievement_gain_any_effect:
  name: "Magical Influence"
  description: "Gain any potion effect."
  material: "BREWING_STAND"
  type: "GAIN_EFFECT"
  arguments: ["*"]
  threshold: 5
  points: 20
  world: "world"
  day: 3


### ELYTRA_FLY
# Fly threshold distance with Elytra (Wildcard)
achievement_elytra_fly_any:
  name: "Sky Explorer"
  description: "Fly any distance using an Elytra."
  material: "ELYTRA"
  type: "ELYTRA_FLY"
  arguments: ["*"]
  threshold: 100
  points: 10
  world: "world"
  day: 1


### ENCHANT
# Enchant any item (Wildcard)
achievement_enchant_any:
  name: "Mystic Touch"
  description: "Enchant any item."
  material: "ENCHANTED_BOOK"
  type: "ENCHANT"
  arguments: ["*"]
  threshold: 1
  points: 5
  world: "world"
  day: 1

# Enchant a specific item (e.g., Diamond Sword)
achievement_enchant_diamond_sword:
  name: "Blade of Power"
  description: "Enchant a Diamond Sword."
  material: "DIAMOND_SWORD"
  type: "ENCHANT"
  arguments: ["DIAMOND_SWORD"]
  threshold: 1
  points: 10
  world: "world"
  day: 2


### ENDER_PEARL_TELEPORT
# Use an Ender Pearl to teleport (Wildcard)
achievement_ender_pearl_any:
  name: "Warp Jumper"
  description: "Teleport using an Ender Pearl."
  material: "ENDER_PEARL"
  type: "ENDER_PEARL_TELEPORT"
  arguments: ["*"]
  threshold: 1
  points: 5
  world: "world"
  day: 1


### ENTITY_KILL
# Kill any entity (Wildcard)
achievement_kill_any:
  name: "Slayer"
  description: "Kill any entity."
  material: "IRON_SWORD"
  type: "ENTITY_KILL"
  arguments: ["*"]
  threshold: 10
  points: 5
  world: "world"
  day: 1

# Kill a specific entity (Example: Zombie)
achievement_kill_zombie:
  name: "Zombie Hunter"
  description: "Kill a zombie."
  material: "IRON_SWORD"
  type: "ENTITY_KILL"
  arguments: ["ZOMBIE"]
  threshold: 5
  points: 10
  world: "world"
  day: 2

# Kill MythicMobs mobs
achievement_kill_skeleton_creeper:
  name: "Monster Slayer"
  description: "Kill a skeleton and a creeper."
  material: "DIAMOND_SWORD"
  type: "ENTITY_KILL"
  arguments: ["Zahar"] #Custom Mythicmobs name
  threshold: 2
  points: 15
  world: "world_nether"
  day: 3


### EXTRACT_FROM_ANIMAL
# Extract from any animal (Wildcard)
achievement_extract_any:
  name: "Animal Harvester"
  description: "Extract resources from any animal."
  material: "BUCKET"
  type: "EXTRACT_FROM_ANIMAL"
  arguments: ["*"]
  threshold: 5
  points: 5
  world: "world"
  day: 1

# Extract wool from a sheep
achievement_shear_sheep:
  name: "Wool Collector"
  description: "Shear a sheep to collect wool."
  material: "SHEARS"
  type: "EXTRACT_FROM_ANIMAL"
  arguments: ["SHEEP"]
  threshold: 3
  points: 10
  world: "world"
  day: 2

# Extract milk from a cow
achievement_milk_cow:
  name: "Dairy Farmer"
  description: "Milk a cow using a bucket."
  material: "BUCKET"
  type: "EXTRACT_FROM_ANIMAL"
  arguments: ["COW"]
  threshold: 2
  points: 15
  world: "world_farm"
  day: 3


### FERTILIZE_PLANTS
# Fertilize threshold plant (Wildcard)
achievement_fertilize_any:
  name: "Green Thumb"
  description: "Fertilize any plant using bone meal."
  material: "BONE_MEAL"
  type: "FERTILIZE_PLANTS"
  arguments: ["*"]
  threshold: 5
  points: 5
  world: "world"
  day: 1


### FIREWORK_LAUNCH
# Launch threshold firework (Wildcard)
achievement_firework_any:
  name: "Firework Enthusiast"
  description: "Launch any type of firework."
  material: "FIREWORK_ROCKET"
  type: "FIREWORK_LAUNCH"
  arguments: ["*"]
  threshold: 3
  points: 5
  world: "world"
  day: 1


### FISHING
# Catch any fish (Wildcard)
achievement_fishing_any:
  name: "Master Angler"
  description: "Catch any type of fish."
  material: "FISHING_ROD"
  type: "FISHING"
  arguments: ["*"]
  threshold: 10
  points: 5
  world: "ocean_world"
  day: 1

# Catch a specific fish (Cod)
achievement_fishing_cod:
  name: "Cod Collector"
  description: "Catch a cod while fishing."
  material: "FISHING_ROD"
  type: "FISHING"
  arguments: ["COD"]
  threshold: 3
  points: 10
  world: "river"
  day: 2


### FOOD_CONSUME
# Consume any food item (Wildcard)
achievement_food_any:
  name: "Foodie"
  description: "Eat any type of food."
  material: "APPLE"
  type: "FOOD_CONSUME"
  arguments: ["*"]
  threshold: 20
  points: 5
  world: "survival_world"
  day: 1

# Consume a specific food item (Golden Apple)
achievement_food_golden_apple:
  name: "Golden Feast"
  description: "Eat a Golden Apple."
  material: "GOLDEN_APPLE"
  type: "FOOD_CONSUME"
  arguments: ["GOLDEN_APPLE"]
  threshold: 1
  points: 15
  world: "pvp_arena"
  day: 2


### HOE_LAND
# Hoe any land with any hoe (Wildcard)
achievement_hoe_any:
  name: "Farmer Starter"
  description: "Hoe any type of land."
  material: "WOODEN_HOE"
  type: "HOE_LAND"
  arguments: ["*"]
  threshold: 10
  points: 5
  world: "survival_world"
  day: 1

# Hoe land with a specific hoe (Diamond Hoe)
achievement_hoe_diamond:
  name: "Luxury Farming"
  description: "Hoe land using a Diamond Hoe."
  material: "DIAMOND_HOE"
  type: "HOE_LAND"
  arguments: ["DIAMOND_HOE"]
  threshold: 5
  points: 15
  world: "farm_zone"
  day: 2


### ITEM_DROP
# Drop any item (Wildcard)
achievement_drop_any:
  name: "Careless Dropper"
  description: "Drop any item from your inventory."
  material: "AIR"
  type: "ITEM_DROP"
  arguments: ["*"]
  threshold: 10
  points: 5
  world: "survival_world"
  day: 1

# Drop a specific item (Diamond Sword)
achievement_drop_diamond_sword:
  name: "Why Would You Drop This?"
  description: "Drop a Diamond Sword."
  material: "DIAMOND_SWORD"
  type: "ITEM_DROP"
  arguments: ["DIAMOND_SWORD"]
  threshold: 1
  points: 15
  world: "adventure_zone"
  day: 2


### ITEM_PICKUP
# Pickup any item (Wildcard)
achievement_pickup_any:
  name: "Loot Collector"
  description: "Pick up any dropped item."
  material: "AIR"
  type: "ITEM_PICKUP"
  arguments: ["*"]
  threshold: 20
  points: 5
  world: "survival_world"
  day: 1

# Pickup a specific item (Diamond)
achievement_pickup_diamond:
  name: "Shiny Treasure"
  description: "Pick up a Diamond."
  material: "DIAMOND"
  type: "ITEM_PICKUP"
  arguments: ["DIAMOND"]
  threshold: 5
  points: 15
  world: "mine_zone"
  day: 2


### JUMP_HEIGHT
# Jump threshold height (Wildcard)
achievement_jump_any:
  name: "Light as a Feather"
  description: "Perform any jump."
  material: "FEATHER"
  type: "JUMP_HEIGHT"
  arguments: ["*"]
  threshold: 100
  points: 5
  world: "any_world"
  day: 1


### LEVEL_ACHIEVE
# Reach threshold level (Wildcard)
achievement_reach_any_level:
  name: "Level Up!"
  description: "Reach any level."
  material: "EXPERIENCE_BOTTLE"
  type: "LEVEL_ACHIEVE"
  arguments: ["*"]
  threshold: 50
  points: 5
  world: "survival_world"
  day: 1


### LLAMA_DISTANCE
# Travel threshold distance on a llama (Wildcard)
achievement_llama_any_distance:
  name: "Llama Rider"
  description: "Travel any distance while riding a llama."
  material: "LEAD"
  type: "LLAMA_DISTANCE"
  arguments: ["*"]
  threshold: 500
  points: 5
  world: "survival_world"
  day: 1


### MINECART_DISTANCE
# Travel threshold distance in a minecart (Wildcard)
achievement_minecart_any_distance:
  name: "Minecart Traveler"
  description: "Travel any distance while riding a minecart."
  material: "MINECART"
  type: "MINECART_DISTANCE"
  arguments: ["*"]
  threshold: 1000
  points: 5
  world: "survival_world"
  day: 1


### NPC_INTERACTION (Citizens)
# Give any object to the NPC (Wildcard)
achievement_npc_any:
  name: "Friendly Stranger"
  description: "Give any block to the NPC."
  material: "PLAYER_HEAD"
  type: "NPC_INTERACTION"
  arguments: ["*"]
  threshold: 1
  points: 5
  world: "village"
  day: 1

# Give specific object to the NPC (Wildcard)
achievement_npc_diamond:
  name: "Friendly Stranger"
  description: "Give diamond to the NPC."
  material: "DIAMOND_BLOCK"
  type: "NPC_INTERACTION"
  arguments: ["DIAMOND"]
  threshold: 10
  points: 5
  world: "village"
  day: 1


### PIG_DISTANCE
# Ride threshold distance with a pig (Wildcard)
achievement_pig_any:
  name: "Riding Rookie"
  description: "Travel any distance while riding a pig."
  material: "SADDLE"
  type: "PIG_DISTANCE"
  arguments: ["*"]
  threshold: 10
  points: 5
  world: "farm"
  day: 1


### PLAYER_KILL
# Kill any player (Wildcard)
achievement_player_kill_any:
  name: "First Blood"
  description: "Kill any player in combat."
  material: "IRON_SWORD"
  type: "PLAYER_KILL"
  arguments: ["*"]
  threshold: 1
  points: 10
  world: "arena"
  day: 1

# Kill a specific player (e.g., Admin or a VIP)
achievement_player_kill_specific:
  name: "Revenge on Admin"
  description: "Defeat the server admin in battle."
  material: "DIAMOND_SWORD"
  type: "PLAYER_KILL"
  arguments: ["AdminPlayer123"]
  threshold: 1
  points: 20
  world: "pvp_zone"
  day: 2


### PLAY_MUSIC_DISC
# Play any music disc (Wildcard)
achievement_play_any_disc:
  name: "Jukebox Hero"
  description: "Play any music disc in a jukebox."
  material: "JUKEBOX"
  type: "PLAY_MUSIC_DISC"
  arguments: ["*"]
  threshold: 1
  points: 10
  world: "lobby"
  day: 1

# Play a specific disc (e.g., Pigstep)
achievement_play_specific_disc:
  name: "Grooving to Pigstep"
  description: "Play the Pigstep music disc in a jukebox."
  material: "MUSIC_DISC_PIGSTEP"
  type: "PLAY_MUSIC_DISC"
  arguments: ["MUSIC_DISC_PIGSTEP"]
  threshold: 1
  points: 20
  world: "spawn"
  day: 2


### USE_POTION
# Drink any potion (Wildcard)
achievement_drink_any_potion:
  name: "Potion Enthusiast"
  description: "Drink any type of potion."
  material: "POTION"
  type: "USE_POTION"
  arguments: ["*"]
  threshold: 1
  points: 5
  world: "survival"
  day: 1

# Drink a specific potion (e.g., Speed)
achievement_drink_speed_potion:
  name: "Gotta Go Fast"
  description: "Drink a Speed potion."
  material: "POTION"
  type: "USE_POTION"
  arguments: ["SPEED"]
  threshold: 1
  points: 10
  world: "arena"
  day: 2


### RAID_WIN
# Win a pillager raid (Wildcard)
achievement_win_any_raid:
  name: "Village Defender"
  description: "Win any raid."
  material: "CROSSBOW"
  type: "RAID_WIN"
  arguments: ["*"]
  threshold: 1
  points: 10
  world: "village"
  day: 5


### REPAIR
# Repair any item (Wildcard)
achievement_repair_any:
  name: "Master of Repairs"
  description: "Repair any item using an anvil."
  material: "ANVIL"
  type: "REPAIR"
  arguments: ["*"]
  threshold: 1
  points: 10
  world: "survival"
  day: 2

# Repair a specific item
achievement_repair_diamond_sword:
  name: "Diamond Savior"
  description: "Repair a diamond sword using an anvil."
  material: "DIAMOND_SWORD"
  type: "REPAIR"
  arguments: ["DIAMOND_SWORD"]
  threshold: 1
  points: 15
  world: "survival"
  day: 3


### SLEEP
# Sleep in any bed (Wildcard)
achievement_sleep_any:
  name: "Sweet Dreams"
  description: "Sleep in a bed for the first time."
  material: "WHITE_BED"
  type: "SLEEP"
  arguments: ["*"]
  threshold: 1
  points: 5
  world: "survival"
  day: 1


### SMELT
# Smelt any item (Wildcard)
achievement_smelt_any:
  name: "Master of the Furnace"
  description: "Smelt anything using a furnace."
  material: "FURNACE"
  type: "SMELT"
  arguments: ["*"]
  threshold: 1
  points: 5
  world: "survival"
  day: 1

# Smelt a specific item (Iron Ingot)
achievement_smelt_iron:
  name: "Blacksmith Apprentice"
  description: "Smelt an iron ingot from raw iron."
  material: "IRON_INGOT"
  type: "SMELT"
  arguments: ["IRON_INGOT"]
  threshold: 1
  points: 10
  world: "survival"
  day: 2


### SNEAK_DISTANCE
# Sneak threshold distance (Wildcard)
achievement_sneak_any:
  name: "Silent Walker"
  description: "Sneak any distance."
  material: "LEATHER_BOOTS"
  type: "SNEAK_DISTANCE"
  arguments: ["*"]
  threshold: 1
  points: 5
  world: "survival"
  day: 1


### SNOWBALL_THROW
# Throw any snowball (Wildcard)
achievement_snowball_any:
  name: "Snowball Fight!"
  description: "Throw a snowball."
  material: "SNOWBALL"
  type: "SNOWBALL_THROW"
  arguments: ["*"]
  threshold: 1
  points: 5
  world: "survival"
  day: 1


### STRIDER_DISTANCE
# Ride a Strider for threshold distance (Wildcard)
achievement_strider_any:
  name: "Strider Rider"
  description: "Travel any distance on a Strider."
  material: "STRIDER_SPAWN_EGG"
  type: "STRIDER_DISTANCE"
  arguments: ["*"]
  threshold: 1000
  points: 5
  world: "nether"
  day: 1


### TAME
# Tame any animal (Wildcard)
achievement_tame_any:
  name: "Animal Whisperer"
  description: "Tame any animal."
  material: "LEAD"
  type: "TAME"
  arguments: ["*"]
  threshold: 1
  points: 5
  world: "world"
  day: 1

# Tame a specific animal (Wolf)
achievement_tame_wolf:
  name: "Loyal Companion"
  description: "Tame a Wolf."
  material: "BONE"
  type: "TAME"
  arguments: ["WOLF"]
  threshold: 1
  points: 10
  world: "world"
  day: 2


### TAME
# Use any interactive block or item (Wildcard)
achievement_use_any:
  name: "Curious Explorer"
  description: "Interact with any interactive block or item."
  material: "LEVER"
  type: "USE"
  arguments: ["*"]
  threshold: 1
  points: 5
  world: "world"
  day: 1

# Use a specific block (Anvil)
achievement_use_anvil:
  name: "Master Blacksmith"
  description: "Use an Anvil."
  material: "ANVIL"
  type: "USE"
  arguments: ["ANVIL"]
  threshold: 1
  points: 10
  world: "world"
  day: 2

# Use a specific item (Shield)
achievement_use_shield:
  name: "Defender"
  description: "Raise a Shield to block an attack."
  material: "SHIELD"
  type: "USE"
  arguments: ["SHIELD"]
  threshold: 1
  points: 10
  world: "world"
  day: 4

# Use a Totem of Undying
achievement_use_totem:
  name: "Second Chance"
  description: "Use a Totem of Undying to cheat death."
  material: "TOTEM_OF_UNDYING"
  type: "USE"
  arguments: ["TOTEM_OF_UNDYING"]
  threshold: 1
  points: 25
  world: "world"
  day: 5

# Step on any pressure plate (Wildcard)
achievement_use_pressure_plate:
  name: "Trap Triggered"
  description: "Step on any pressure plate."
  material: "STONE_PRESSURE_PLATE"
  type: "USE"
  arguments: ["*"]
  threshold: 1
  points: 5
  world: "world"
  day: 6


### VANILLA
# Complete any vanilla advancement (Wildcard)
achievement_vanilla_any:
  name: "Advancement Seeker"
  description: "Complete any vanilla advancement."
  material: "BOOK"
  type: "VANILLA"
  arguments: ["*"]
  threshold: 1
  points: 10
  world: "world"
  day: 1

# Complete a specific vanilla advancement (e.g., Stone Age)
achievement_vanilla_stone_age:
  name: "Stone Age"
  description: "Mine stone with your pickaxe."
  material: "STONE_PICKAXE"
  type: "VANILLA"
  arguments: ["minecraft:story/mine_stone"]
  threshold: 1
  points: 5
  world: "world"
  day: 2


### VILLAGER_TRADE
# Trade any item with a villager (Wildcard)
achievement_villager_trade_any:
  name: "Apprentice Trader"
  description: "Complete a trade with a villager."
  material: "EMERALD"
  type: "VILLAGER_TRADE"
  arguments: ["*"]
  threshold: 1
  points: 5
  world: "world"
  day: 1

# Trade a specific item (e.g., emeralds)
achievement_villager_trade_emeralds:
  name: "Emerald Tycoon"
  description: "Trade 10 emeralds with a villager."
  material: "EMERALD"
  type: "VILLAGER_TRADE"
  arguments: ["EMERALD"]
  threshold: 10
  points: 15
  world: "world"
  day: 2


### WALK_DISTANCE
# Walk threshold distance (Wildcard)
achievement_walk_any:
  name: "Taking the First Step"
  description: "Walk any distance."
  material: "LEATHER_BOOTS"
  type: "WALK_DISTANCE"
  arguments: ["*"]
  threshold: 100
  points: 5
  world: "world"
  day: 1


# Add other achievements here...
```

`data.yml`

```yaml
current_day: 1
```

