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

# Configs

### Basic Structure

The configuration file uses YAML format and follows this structure:

```yaml
placeholders:
  yourplaceholder:
    placeholders:
      - 'condition1'
      - 'condition2'
    output: 'result'
```

### Placeholder Types

#### 1. Simple Placeholder

Simple placeholders create custom placeholders outputs using only 1 Placeholder as its input.

```yaml
placeholders:
  custom1:
    placeholders:
      - '%player_name% == Junkeh'
    output: '<red>Yes'
```

#### 2. Multi-Type Placeholder

Multi-Type Placeholders checks for multiple placeholders at once, you can either make it output if those 2 placeholders are met, or you could make it so it can change outputs depending on the placeholder.

```yaml
meow:
  types:
    - priority: 1
      placeholders:
        - '%player_name% == Junkeh'
        - '%player_is_op% == yes'
      output: '&#ff00ff:33'
    
    - priority: 2
      placeholders:
        - '%player_is_op% == yes'
      output: '<gold>:3'
```

### Priority System

Lower numbers have higher priority:

```yaml
types:
  - priority: 1  # Highest priority
    placeholders:
      - '%player_level% >= 50'
    output: '<gold>High Level'
  
  - priority: 2  # Medium priority
    placeholders:
      - '%player_level% >= 25'
    output: '<yellow>Mid Level'
```

Types without priority get lowest priority.
