# Base

## Localization

Whole resource using English localization as default.&#x20;

To translate messages follow steps below:

* Move to **Locale** folder of **TheCore** plugin
* Just make duplicate of EN.yml file.&#x20;
* Rename it and write the name of the file into **config.yml**.

#### Example

```yaml
#LocaleFile: EN.yml
Prefix:
  Base: "&3&lTheCore &6\u2771"
  ...
```

```yaml
#LocaleFile: SK.yml (Slovak)
Prefix:
  Base: "&3&lQ &6\u2771"
  ...
```

```yaml
Locale:
  Primary: SK #Previously EN
```

### Multi localization

Plugin is able to hold different localisations at the same time. It’s up to player, which localisation wants to display.

{% hint style="info" %}
Secondary localizations do not have to contain all translations. In case of secondary translation does not contain requested path, the primary file is used to fetch data.
{% endhint %}

```yaml
#config.yml
Locale:
  Primary: EN
  Secondary:
  - SK
  - CZ
  ...
```

### Module localization

Plugins powered by TheCore uses the same Localization settings as TheCore. If you want to use another default language, you need to disable inheritance and set the right values.

```yaml
Locale:
  ...
  Module:
    Advent:
      Inherit: false
      Primary: EN
      Secondary: [ ]
```

## Storage

Space where to save required data.

Supported storages

* `MySQL`
* `SQLite`

If you prefer **MySQL** Storage before **SQLite**, you need to fill variables at **config.yml**.

```yaml
Storage:
  Type: "MySQL"
  Host: "IP"
  Port: 3306
  Database: "db"
  User: "name"
  Password: "*****"
```

## Placeholder API

By activating, plugin retrieves information about placeholders from PlaceholderAPI at translating the messages.

```yaml
PlaceholderAPI:
  Active: true
```

## Bedrock Edition

Enable if you are using **Geyser**.

```yaml
BedrockEdition:
  Active: true
```


---

# 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://wiki.innouniq.com/plugins/thecore/configuration/base.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.
