> For the complete documentation index, see [llms.txt](https://cozy-1.gitbook.io/dev-example2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cozy-1.gitbook.io/dev-example2/destroy-the-core/configuration-files-config.yml/example.yml.md).

# example.yml

Below is an example of a generated Destroy The Core configuration file, showcasing all the settings you can customize for each individual core.

```
# ==================================================
#                General Settings                  
# ==================================================
# Enable or disable the 'Destroy the Core' mechanic.
# 
# If set to false, the system will ignore all core-related
# events and logic.
enabled: true

# 
# Prefix displayed in chat messages.
# 
# Note: Leave empty ("") if you do not want a prefix
# to appear before system messages.
displayPrefix: ""

# 
# The world coordinates for the Destroy the Core block.
# This is used to register the physical location of the core.
# 
# ⚠ DISCLAIMER: Do not modify this manually unless you are
# an advanced user. It is highly recommended to use the:
# '/destroythecore' command to set or update this location.
location: ""

# 
# The material type used for the core block.
# Supports any valid Minecraft Material (e.g., OBSIDIAN, BEACON).
# 
# Note: If an invalid material is provided, the system may
# revert to a default or fail to load correctly.
blockMaterial: "OBSIDIAN"

# 
# The total number of times the block must be broken.
# Players must reach this threshold to claim the reward.
# 
# Default: 100
breaksRequired: 100

# ==================================================
#                Hologram Settings                 
# ==================================================
# Should a hologram be displayed above the core?
hologramEnabled: true

# 
# How high above the core block the hologram should float.
# Default: 3.0
hologramYLevelIncrease: 3.0

# 
# The lines displayed on the hologram.
# Placeholders:
#  {breaks} - Current amount of times broken.
#  {max}    - Total breaks required.
hologramLines: 
  - "#ICON: OBSIDIAN"
  - "&3&lDestroy The Core"
  - ""
  - "&fTotal Mined: {breaks}/{max}"

# ==================================================
#                 Reward Settings                  
# ==================================================
# If true, the same reward cannot be given twice to
# the same player in a single win.
preventDupeRewards: false

# 
# How many random rewards should be given to the winner?
# Note: This does not include rewards marked as 'alwaysDrop'.
rewardsToGive: 1

# 
# A list of all possible rewards for this core.
# 
# Rarity/Chance is determined by 'weight'.
# Set 'alwaysDrop' to true for guaranteed rewards.
# Placeholders available in commands: {player}, {display}
rewards: 
  - id: "5000"
    displayName: "&2$&a5,000"
    commands: 
      - "eco give {player} 5000"
    weight: 1.0
    alwaysDrop: false
  - id: "10000"
    displayName: "&2$&a10,000"
    commands: 
      - "eco give {player} 10000"
    weight: 1.0
    alwaysDrop: false
  - id: "25000"
    displayName: "&2$&a25,000"
    commands: 
      - "eco give {player} 25000"
    weight: 1.0
    alwaysDrop: false
  - id: "50000"
    displayName: "&2$&a50,000"
    commands: 
      - "eco give {player} 50000"
    weight: 1.0
    alwaysDrop: false

# 
# Configure when this specific core should start automatically.
# Times must be in HH:mm format (24-hour clock).
# 
# Example: '15:30' for 3:30 PM.
schedule: 
  enabled: true
  times: 
    - "06:00"
    - "12:00"
    - "18:00"
    - "24:00"
```
