# Configuration

### config.yml

```

anvil-protection: true

grindstone-protection: true

spawner-collection: true

spawner-place: true

trialspawner-collection: true

trialspawner-place: true

trialspawner-activation-distance: 8

item-initial-damage: 0

damage-item-value: 16

custom-tool-required: true

recipes:
  enable: true
  item-name: "&4Spawner Pickaxe"
  item: "GOLDEN_PICKAXE"
  enchants-required: true
  enchants:
   - SILK_TOUCH:2
    #- EFFICIENCY:4
    #- UNBREAKING:3
  hide-enchants: true
  crafting:
    shape:
     - "EEE"
      - " S "
      - " S "
    ingredients:
      E: "EMERALD"
      S: "STICK"

message:
  no-perm: "&cYou do not have permission to use this command"
  no-entity: "&cThe entity was not found!"
  no-player: "&cPlayer not found!"
  no-command: "&c&cCommand not recognized!"
  no-args: "&cPlayer or entity missing!"
  spawner-received: "&aYou have received a Spawner of "
  trialspawner-received: "&aYou have received a TrialSpawner of "
  pickaxe-received: "You have received: "
  incompatible-version: "&cTrialSpawner is only available for versions higher than 1.21!"
  
```

<table><thead><tr><th>Entries</th><th>Descriptions</th></tr></thead><tbody><tr><td><pre><code>anvil-protection
</code></pre></td><td>Prevents the custom pickaxe for harvesting spawners from being modified by the anvil</td></tr><tr><td><pre><code>grindstone-protection
</code></pre></td><td>Prevents the custom pickaxe for harvesting spawners from being modified by the grindstone</td></tr><tr><td><pre><code>spawner-collection
</code></pre></td><td>Enable the ability to collect spawners</td></tr><tr><td><pre><code>spawner-place
</code></pre></td><td>Enable the ability to place spawners</td></tr><tr><td><pre><code>trialspawner-collection
</code></pre></td><td>Enable the ability to collect trial spawners</td></tr><tr><td><pre><code>trialspawner-place
</code></pre></td><td>Enable the ability to place trial spawners</td></tr><tr><td><pre><code>trialspawner-activation-distance
</code></pre></td><td>Trialspawner activation distance</td></tr><tr><td><pre><code>item-initial-damage
</code></pre></td><td>When the pickaxe is given or crafted it will be given with a specific damage already. If 0 the pickaxe has a lifetime</td></tr><tr><td><pre><code>damage-item-value
</code></pre></td><td>Damage the pickaxe takes when picking up a spawner/trial spawner</td></tr><tr><td><pre><code>custom-tool-required
</code></pre></td><td>Does it require the custom pickaxe to harvest spawners?</td></tr><tr><td><pre><code>recipes:
  enable: true
  item-name: "&#x26;4Spawner Pickaxe"
  item: "GOLDEN_PICKAXE"
  enchants-required: true
  enchants:
   - SILK_TOUCH:2
    #- EFFICIENCY:4
    #- UNBREAKING:3
  hide-enchants: true
  crafting:
    shape:
     - "EEE"
      - " S "
      - " S "
    ingredients:
      E: "EMERALD"
      S: "STICK"
</code></pre></td><td>IThe spawner harvesting tool can be crafted and the following customizations can be applied:<br>Name, lore, enchant and recipe</td></tr><tr><td><pre><code>message
</code></pre></td><td>"message" contains all in-game messages, translatable into your own language</td></tr></tbody></table>
