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

Categories · Changes

Page history
Update Categories authored Feb 11, 2023 by Vierdant's avatar Vierdant
Hide whitespace changes
Inline Side-by-side
Showing with 55 additions and 1 deletion
+55 -1
  • Categories.md Categories.md +55 -1
  • No files found.
Categories.md
View page @ 72b75a68
...@@ -4,6 +4,56 @@ These are added/edited in the `category.yml` file in your MythicAchievements plu ...@@ -4,6 +4,56 @@ These are added/edited in the `category.yml` file in your MythicAchievements plu
Categories have their own tabs in the advancement menu, and also display as the first "node" in the category. Categories have their own tabs in the advancement menu, and also display as the first "node" in the category.
Table Of Contents:
[[_TOC_]]
## Adding New Category
```yml
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
```yml
Display: 'Hunting Monsters'
```
Display the name of your category. This name is shown in the tab's icon and the starting node item.
### Description
```yml
Description: 'Adventure awaits you in the wilderness'
```
Provide a short description of your category. This is only shown in the starting node item.
![image](uploads/9ead2354a0d2909e8984f67d2730e727/image.png)
### Background
```yml
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
```yml
Frame: CHALLENGE
```
The frame shape of your starting node item.
This can be a `TASK`, `GOAL`, or `CHALLENGE`.
### Icon
```yml
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 ## Example
``` ```
SPECIAL: SPECIAL:
...@@ -12,4 +62,8 @@ SPECIAL: ...@@ -12,4 +62,8 @@ SPECIAL:
Icon: Icon:
Material: NETHER_STAR Material: NETHER_STAR
``` ```
![image](uploads/f8447f1449ec03975fe62621ac4b1810/image.png "") ![image](uploads/f8447f1449ec03975fe62621ac4b1810/image.png "")
\ No newline at end of file
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](Usage)
\ 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