Using the Config

This tutorial will explain how to customize the config.yml.

config.yml
```
#Enable or disable all ore spawning and recipes
Enabled: true

#Set if ores should generate in all worlds
All Worlds: true

#If All Worlds is false, these worlds will still spawn ores (whitelist).
#If All Worlds is true, these worlds will not spawn ores (blacklist).
Worlds:

#The delay in ticks between each chunk being cleared using the /clear <world> command
Clear World: 1

#These are the blocks that ores can replace when spawning
Spawn Blocks:
  - STONE
  - DIORITE
  - ANDESITE
  - GRANITE
  - DEEPSLATE
  - TUFF
  - NETHERRACK
  - END_STONE

#Instead of placing the ores, ores will be replaced by chests with the ore inside
Ores as Chests: false

Drop in Creative: false

#If true, ores that don't drop themselves can have these enchantments applied to them
Allow Fortune: true
Allow Silk Touch: true

#Items on this list will break ores instantly.
Tools:
  - IRON_PICKAXE
  - GOLDEN_PICKAXE
  - DIAMOND_PICKAXE
  - NETHERITE_PICKAXE

#Allows custom enchanments from other plugins to display on the item
#items that were spawned in before enabling this will not work in custom recipes!
Custom Enchantments Display: false

#When selecting an item to use while creating a custom item, saves item data in place of the type
#Will still save items without data normally
Item Data For Type: false
```

## Config Explanation

```
#Enable or disable all ore spawning and recipes
Enabled: true
```
*Enabled:* is true by default. Setting it to false will cause ores to no longer spawn in all worlds and all recipes will be disabled.

```
#Set if ores should generate in all worlds
All Worlds: true

#If All Worlds is false, these worlds will still spawn ores (whitelist).
#If All Worlds is true, these worlds will not spawn ores (blacklist).
Worlds:
```
This part of the config is probably the most complicated. If *All Worlds:* is true then ores will spawn in every world EXCEPT the worlds on the *Worlds:* list.
If *All Worlds:* is set to false then ores will ONLY spawn in worlds on the *Worlds:* list.

```
#The delay in ticks between each chunk being cleared using the /clear <world> command
Clear World: 1
```
When the */clear <world>* command is used, it will give each chunk this many ticks to clear. There are 60 ticks in a second.

```
#These are the blocks that ores can replace when spawning
Spawn Blocks:
  - STONE
  - DIORITE
  - ANDESITE
  - GRANITE
  - DEEPSLATE
  - TUFF
  - NETHERRACK
  - END_STONE
```
These are the blocks that ores are allowed to spawn in the place off. Ores will not spawn in areas without these blocks.

```
Drop in Creative: false
```
When this is false, breaking ores in creative will not cause them to drop on the ground to be picked up.

```
#If true, ores that don't drop themselves can have these enchantments applied to them
Allow Fortune: true
Allow Silk Touch: true
```
Enabling fortune will make fortune pickaxes drop apply a multiplier to the drops of ores that have them. Enabling silk touch will make silk touch pickaxes drop the ore instead of it's drop if it has one.

```
#Items on this list will break ores instantly.
Tools:
  - IRON_PICKAXE
  - GOLDEN_PICKAXE
  - DIAMOND_PICKAXE
  - NETHERITE_PICKAXE
```
Adding an item to this list will cause it to break ores instantly when used by a player in survival mode.

```
#Allows custom enchanments from other plugins to display on the item
#items that were spawned in before enabling this will not work in custom recipes!
Custom Enchantments Display: false
```
Setting this to true causes Custom Ores to put all enchantment names and levels in the description of the item rather than using the vanilla system. This is mostly useful for displaying custom enchantments from other plugins, which the vanilla system does not do.

```
#When selecting an item to use while creating a custom item, saves item data in place of the type
#Will still save items without data normally
Item Data For Type: false
```
Enabling this option saves Item Data when choosing an item to base a Custom Item on. This allows items such as dyed leather armor or items from other plugins to be used.