# config.yml

```yaml
options:
  disable-npc: true
  disable-in-combat: false
  shift-click: true
  interact-permission: false
```

| Options             | Description                                                                                                        |
| ------------------- | ------------------------------------------------------------------------------------------------------------------ |
| disable-npc:        | Enable/Disable viewing NPC's profiles.                                                                             |
| disable-in-combat:  | Enable/Disable viewing player's profiles on combat (Requires CombatLogX)                                           |
| shift-click:        | Opening profiles required shift-click instead of just click.                                                       |
| interact-permission | Should we use interact permission? Player need **playerprofiles.viewinteract** permission to view others profiles. |

```yaml
cooldown:
  enabled: true
  duration: 3 #in seconds
```

| Options   | Description                                               |
| --------- | --------------------------------------------------------- |
| enabled:  | Should we enable cooldown when someone opens up profiles? |
| duration: | Defines the cooldown duration in seconds.                 |

```yaml
disabledWorlds:
  - pvpworld
  - testworld
  - casesensitive
```

List all world that disable players from viewing each others profiles. (case-sensitive)

```yaml
ui:
  fill-inventory:
    enabled: true
    item:
      material: BLACK_STAINED_GLASS_PANE
      amount: 1
      name: '&f'
  title: "%player_name%'s profiles"
  size: 54
  items:
    helmet:
    chestplate:
    leggings:
    .....
```

| Options                  | Description                                        |
| ------------------------ | -------------------------------------------------- |
| fill-inventory.enabled:  | Enable/Disable fill inventory with specific items. |
| fill-inventory.material: | Items material for the fill inventory item.        |
| fill-inventory.amount:   | Amount of each items that fill inventory item has. |
| fill-inventory.name      | Name of each items that fill inventory item has.   |
| title:                   | Profiles menu GUI title.                           |
| size:                    | Profiles menu GUI size.                            |

And for the items section, it's pretty self explanatory, basically when player doesn't have a helmet on, the items would be the one that specified on that section.
