# Settings

{% code title="config.yml" lineNumbers="true" %}

```yaml
config-version: 1.1 # DON'T TOUCH ME
update-notification: true
debug: false

language: ENGLISH # ENGLISH or RUSSIAN
database-settings:
  storage: SQLite # SQLite or MYSQL
  host: localhost
  base: lightcutter
  user: admin
  password: admin
  pool-size: 3

woodcutter-settings:
  # REGION or WORLD
  mode: REGION
  # VAULT, PLAYERPOINTS
  economy: VAULT
  # If not the player has lightcutter.modes.bypass permissions
  breaking-in-modes: true
  allow-drop: true
  disabled-worlds:
    - test

# For WORLD Mode
# Without animations
world-settings:
  # CHAT or ACTIONBAR
  messages-type: CHAT
  # if you specified, for example, 5-10, then the number will be randomized.
  # If 5, then the player will be charged a value equal to 5.
  # If you specify 5.05, then 5.05
  costs:
    oak_log: 1
    spruce_log: 2
    birch_log: 3-5 # Randomized
    jungle_log: 4
    acacia_log: 5-10 # Randomized
    dark_log: 6

# For REGION Mode
region-settings:
  # CHAT or ACTIONBAR
  messages-type: ACTIONBAR
  regeneration:
    # If 0 - disabled
    # If the value is less than 2, problems may occur
    seconds: 5
    particle:
      enable: true
      type: EXPLOSION_NORMAL # https://mcreator.net/wiki/particles-ids
      count: 4
    sound:
      enable: true
      type: BLOCK_WOOD_PLACE # https://www.planetminecraft.com/blog/all-sound-names---for-playsound/
      volume: 0.5
```

{% endcode %}

{% code title="messages/english.yml" lineNumbers="true" %}

```yaml
config-version: 1.1 # DON'T TOUCH ME
reload-config: "&aThe configuration has been successfully reloaded"

log-names:
  oak_log: "&cOak"
  spruce_log: "&cSpruce"
  birch_log: "&cBirch"
  jungle_log: "&cTropical oak"
  acacia_log: "&cAcacia"
  dark_log: "&cDark oak"
  cherry_log: "&cCherry oak"
  mangrove_log: "&cMangrove oak"

warnings:
  not-survival: "&cTurn on survival mode to start earning" # set "" for disable
  is-flying: "&cTurn off the flight to start earning" # set "" for disable
  is-invisible: "&cDisable invisibility to start earning" # set "" for disable
  cooldown: "&fYou can't break blocks <value> seconds"

general:
  stats:
    not-found: "Statistics for player <username> not found"
    info: |
      Player Statistics: <username>
      Earnings for all time: <earning>
      Total broken blocks: <broken>

world:
  earn: "&c ⛃ &fYou earned &a<amount> per <block>"

region:
  earn: "&c ⛃ &fYou earned &a<amount>"
  remained: "&c ⛃ &fIt remains to break <value>"
  info: |
    &fName: &e<region>
    &fEarn: &e<earn>
    &fNeed broken: &e<count>
    &fCooldown: &e<cooldown>
  added: "&fRegion &e<region> &fsuccessfully &aadded"
  removed: "&fRegion &e<region> &fsuccessfully &cremoved"
  updated: "&fRegion &e<region> &fsuccessfully &cupdated"
  exists: "&fRegion &e<region> &falready &cexists"
  not-exists: "&fRegion &e<region> &fdoes &cnot exist"

changed:
  drop: "&aWood drops updated on <value>"
```

{% endcode %}

<details>

<summary>messages/russian.yml</summary>

{% code lineNumbers="true" %}

```yaml
config-version: 1.1 # DON'T TOUCH ME
reload-config: "&aКонфигурация успешно перезагружена"

log-names:
  oak_log: "&cДуб"
  spruce_log: "&cЕль"
  birch_log: "&cБерёза"
  jungle_log: "&cТропический дуб"
  acacia_log: "&cАкация"
  dark_log: "&cТёмный дуб"
  cherry_log: "&cВишнёвый дуб"
  mangrove_log: "&cМангровый дуб"

warnings:
  not-survival: "&cВключите режим выживания для зачисления заработка" # установите "" для отключения уведомления
  is-flying: "&cВыключите полёт для зачисления заработка" # установите "" для отключения уведомления
  is-invisible: "&cВыключите невидимость для зачисления заработка" # установите "" для отключения уведомления
  cooldown: "&fВы не можете ломать блоки <value> секунд"

general:
  stats:
    not-found: "Статистика для игрока <username> не найден"
    info: |
      Статистика игрока: <username>
      Заработок за всё время: <earning>
      Всего сломанных блоков: <broken>

world:
  earn: "&c ⛃ &fЗачислено &a<amount> за <block>"

region:
  earn: "&c ⛃ &fЗачислено &a<amount>"
  remained: "&c ⛃ &fОсталось сломать <value> раз"
  info: |
    &fИмя: &e<region>
    &fСтоимость: &e<earn>
    &fНужно сломать: &e<count>
    &fЗадержка: &e<cooldown>
  added: "&fРегион &e<region> &fуспешно &aдобавлен"
  removed: "&fРегион &e<region> &fуспешно &cудален"
  updated: "&fРегион &e<region> &fуспешно &cобновлен"
  exists: "&fРегион &e<region> &fуже &cсуществует"
  not-exists: "&fРегион &e<region> &fне &cсуществует"

changed:
  drop: "&aДроп дерева установлен на <value>"
```

{% endcode %}

</details>


---

# 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://kainlight.gitbook.io/lightcutter/overview/settings.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.
