Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicAchievements MythicAchievements
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicAchievementsMythicAchievements
  • Wiki
    • Usage
  • Examples

Last edited by Vierdant Feb 12, 2023
Page history

Examples

A collection of examples of different use cases of MythicAchievements. Meant to be a learning resource, not all achievements are related to each other or work with each other.

Thanks to @Joeychu#2261,... for providing the examples shown on this page.

Table of Contents:

  • Examples
    • Little Miner
    • Dwarfen
    • Creature of the Dark
    • Getting Rich
    • Kingdom Of Sand

Examples

Little Miner

Created by: Joeychu

Break any stone block 100 times to receive the achievements. With a cool flame effect upon completion.

LITTLE_MINER:
  Display: 'Little Miner'
  Description: 'Break a Total of 100 Blocks of any Stone.'
  Category: MYTHIC_ACHIEVEMENTS
  Frame: CHALLENGE
  Icon:
    Material: STONE
  Criteria:
    BLOCKBREAKING:
      Type: BREAK_BLOCK
      Block: STONE,ANDESITE,GRANITE,DIORITE,DEEPSLATE
      Amount: 100
  Reward:
    Message: '&6&lCongrationlations&r on your Achievement! Your rewards are a new Pickaxe, 100 exp'
    Drops:
    - DIAMOND_PICKAXE
    - EXPERIENCE 100
    Skills:
    - particles{p=flame;a=50;s=0.1} @self

Dwarfen

Created by: Joeychu

Break any stone block 1000 times to receive the achievements.

DWARFEN:
  Display: 'Dwarfen'
  Description: 'Break a Total of 1000 Blocks of any Stone.'
  Category: MYTHIC_ACHIEVEMENTS
  Parent: LITTLE_MINER
  Frame: GOAL
  Icon:
    Material: POLISHED_DIORITE
  Criteria:
    BLOCKBREAKING:
      Type: BREAK_BLOCK
      Block: STONE,ANDESITE,GRANITE,DIORITE,DEEPSLATE
      Amount: 1000
  Reward:
    Message: '&6&lCongrationlations&r on your Achievement! Your rewards are a new Pickaxe and 1000 exp'
    Drops:
    - NETHERITE_PICKAXE
    - EXPERIENCE 1000
    Skills:
    - particles{p=flame;a=50;s=0.1} @self
    - cmd{c="w <trigger.name> Good Job <trigger.name>!"}

Creature of the Dark

Created by: Joeychu

Kill 10 of each type of monster specified in the Criteria while being in a dark space. Usually caves.

CREATURE_OF_THE_DARK:
  Display: 'Creature of the Dark'
  Description: 'Kill 10 Skeletons, Zombies and Spiders each while in caves.'
  Category: MYTHIC_ACHIEVEMENTS
  Frame: TASK
  Icon:
    Material: SKELETON_SKULL
  Criteria:
    SKELETON:
      Type: KILL_MOB_TYPE
      EntityType: SKELETON
      Amount: 10
      Conditions:
      - inside true
    SPIDER:
      Type: KILL_MOB_TYPE
      EntityType: SPIDER
      Amount: 10
      Conditions:
      - inside true
    ZOMBIE:
      Type: KILL_MOB_TYPE
      EntityType: ZOMBIE
      Amount: 10
      Conditions:
      - inside true
  Reward:
    Message: '&6&lCongrationlations&r on your Achievement! Your rewards are a new Sword and 100 exp'
    Drops:
    - DIAMOND_SWORD
    - EXPERIENCE 100
    Skills:
    - particles{p=flame;a=50;s=0.1} @self
    - cmd{c="w <trigger.name> Good Job <trigger.name>!"}

Getting Rich

Created by: Joeychu

Utilizing the CONDITIONAL criteria it checks every 5 seconds if the player has a stack of golden blocks in their inventory.

GETTING_RICH:
  Display: 'Getting Rich'
  Description: 'Have a stack of Gold Blocks in your inventory.'
  Category: MYTHIC_ACHIEVEMENTS
  Frame: CHALLENGE
  Icon:
    Material: GOLD_BLOCK
  Criteria:
    BONED:
      Type: CONDITIONAL
      CheckInterval: 100
      Conditions:
      - hasitem{i=GOLD_BLOCK;amount=64} true
  Reward:
    Skills:
    # item can be a mythic item
    - drop{i=SmallFortune}

Kingdom Of Sand

Created by: Joeychu

Placing a total of 100 sand blocks will grant you this achievement. Then you will have 64 more sands to make some windows for your house.

KINGDOM_OF_SAND:
  Display: 'Building a Kingdom of Sand'
  Description: 'Place a Total of 100 Sand Blocks'
  Category: MYTHIC_ACHIEVEMENTS
  Frame: CHALLENGE
  Icon:
    Material: SAND
  Criteria:
    BLOCKBREAKING:
      Type: PLACE_BLOCK
      Block: SAND
      Amount: 100
  Reward:
    Drops:
    - SAND 64
Clone repository

Achievements

  • Home
  • Changelogs
  • Commands and Permissions
  • FAQ / Common Issues

Usage

  • Installation
  • General Configuration
  • Categories (Tabs)
  • Creating Achievements
  • Criteria
  • Rewards

New Mechanics

  • Achievement Mechanics
  • Achievement Conditions