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 4
    • Issues 4
    • 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

Examples · Changes

Page history
Create Usage/Examples authored Feb 11, 2023 by Vierdant's avatar Vierdant
Hide whitespace changes
Inline Side-by-side
Showing with 146 additions and 0 deletions
+146 -0
  • Usage/Examples.md Usage/Examples.md +146 -0
  • No files found.
Usage/Examples.md 0 → 100644
View page @ bdfa6466
## Credits
Thanks to @Joeychu#2261,... we are able to provide you with a bunch of examples of how achievements can be set up.
This is meant to be a learning resource, not all achievements are related to each other or work with each other.
Table of Contents:
[[_TOC_]]
## Examples
### Little Miner
Created by: Joeychu
Break any stone block 100 times to receive the achievements. With a cool flame effect upon completion.
```yml
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.
```yml
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.
```yml
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/conditional) criteria it checks every 5 seconds if the player has a stack of golden blocks in their inventory.
```yml
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.
```yml
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
```
\ No newline at end of file
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