> For the complete documentation index, see [llms.txt](https://alex-plugins.gitbook.io/nebula/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alex-plugins.gitbook.io/nebula/groups.md).

# Groups

Each enchantment has to be part of a group. You can define groups in the file groups.yml located in the `/plugins/Nebula/` folder.

## Creating a group

First add the root of the group (it will be the group name). Under the root add these properties :&#x20;

* **name** : The displayed name of the group
* **group\_color** : the color prefix of the group
* **success\_rate** : the success rate range, separated by hyphen (**-**)
* **break\_rate** : the break rate range, separated by hyphen (**-**)
* **rarity** : The group rarity (highest if rarest)
* **sorcerer\_price** : the price on the sorcerer (exp or vault money depending on the value in config.yml)
* **recycler\_value** : the amount of exp you get recycling the book or item
* **sorcerer\_slot** : the slot in the sorcerer inventory
* **max\_enchantments\_per\_item** : The maximum amount of enchantments per item (-1 for unlimited)

### Example :&#x20;

```
normal:
  name: Normal
  group_color: "&7"
  success_rate: "80-90"
  break_rate: "0-5"
  rarity: 1
  sorcerer_price: 50
  recycler_value: 20+10*%level%
  sorcerer_slot: 11
  max_enchants_per_item: -1
```

## Adding group to the enchantment

In the enchantment file you want to put your group, set the group property to the group name :&#x20;

`group : normal`
