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
  • Categories

Last edited by Vierdant Feb 11, 2023
Page history

Categories

Categories are a simple way to group specific achievements, and each category will generate its own tab in the advancements window!

These are added/edited in the category.yml file in your MythicAchievements plugin folder.

Categories have their own tabs in the advancement menu, and also display as the first "node" in the category.

Table Of Contents:

  • Adding New Category
  • Category Breakdown
    • Display
    • Description
    • Background
    • Frame
    • Icon
  • Example

Adding New Category

CATEGORY_KEY:
  Display: 'Name of your category'
  Description: 'Description of Category'
  Background: 'textures/block/polished_blackstone.png'
  Frame: TASK
  Icon:
    Material: IRON_SWORD
    Model: 0

Category Breakdown

Display

Display: 'Hunting Monsters'

Display the name of your category. This name is shown in the tab's icon and the starting node item.

Description

Description: 'Adventure awaits you in the wilderness'

Provide a short description of your category. This is only shown in the starting node item. image

Background

Background: 'textures/block/black_concrete.png'

The background image of your category. This can be a path to any block texture inside of the player's loaded resource pack.

So if you want diamond ore as the background of your category, you would provide textures/block/diamond_ore.png as the value.

Frame

Frame: CHALLENGE

The frame shape of your starting node item. This can be a TASK, GOAL, or CHALLENGE.

Icon

Icon:
  Material: IRON_SWORD
  Model: 0

The icon is the item displayed in the tab button in the advancement menu, and in the starting node of the category.

You have to provide a valid material name, MAKE SURE IT IS UPPERCASE. Optionally, you have the choice to provide a model data value (CustomModelData).

Example

SPECIAL:
  Display: 'Special'
  Background: 'textures/block/quartz_pillar.png'
  Icon:
    Material: NETHER_STAR

image

MYTHIC_ACHIEVEMENTS:
  Display: 'Mythic Achievements'
  Description: 'Get Achieving'
  Background: 'textures/block/blue_concrete.png'
  Icon:
    Material: DIAMOND

image

This example only uses the required values to generate a valid category.

To learn how to add achievements to the category you created, see Creating Achievements

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