# Config

## Main Configuration (config.yml)

### Brush Configuration

```yaml
brushes:
  paintbrush:
    itemname: '<red>Paint Brush'
    material: STICK
    max_stack_size: 1
    durability: 100
    custom_model_data: 1000
    mechanics:
      click_actions:
        left_click: SINGLE
        right_click: RECTANGULAR
        shift_left_click: ELLIPSE
        shift_right_click: CONSOLE
      commands:
        - '[console] say Hi from Paint Brush!'
        - '[message] Your Paint Brush is ready! <delay=20>'
```

#### Brush Properties

| Property            | Description        | Example             |
| ------------------- | ------------------ | ------------------- |
| itemname            | Display name       | '\<red>Paint Brush' |
| material            | Item material      | STICK               |
| max\_stack\_size    | Maximum stack size | 1                   |
| durability          | Tool durability    | 100                 |
| custom\_model\_data | Custom model data  | 1000                |

{% hint style="warning" %}
Maximum stack size currently doesnt work.
{% endhint %}

#### Available Blocks

```yaml
available_blocks:
  stone:
    material: STONE
    permission: all
  dirt:
    material: DIRT
    permission: easybrushes.blocks.dirt
```

#### Placeable Blocks

```yaml
placeable_blocks:
  all:
    material: STONE
    permission: all
```

#### Placement Rules

```yaml
placeable_on: ALL  # ALL, SPECIFIC
placeable_sides: ALL  # ALL, WALL, FLOOR, CEILING
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://junkeh.gitbook.io/eb/features/config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
