================================================================
                  ARCADIA LOOTBOX - CONFIG GUIDE
                     [ENGLISH & FRANÇAIS]
================================================================

[FR] GUIDE FRANÇAIS
===================
Comment créer une nouvelle Lootbox :
1. Créez un nouveau fichier .json dans ce dossier (ex: `legendaire.json`).
2. Le nom du fichier sera l'ID unique de la lootbox (ex: `legendaire`).
3. Copiez la structure JSON ci-dessous et modifiez les valeurs.

Structure du JSON :
-------------------
{
  "displayName": "Nom Visible du Joueur",
  "color": "yellow",  <-- Couleurs disponibles : white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black
  "keyItem": "minecraft:tripwire_hook",  <-- ID de l'item nécessaire pour ouvrir (Main Hand)
  "openSound": "minecraft:block.chest.open", <-- Son joué à l'ouverture (Optionnel)
  "openMessage": "§aBravo !", <-- Message envoyé dans le chat (Codes couleurs § supportés)
  "lootTable": [
    {
      "item": "minecraft:diamond",
      "minCount": 1,
      "maxCount": 3,
      "chance": 0.5  <-- 0.5 = 50%, 1.0 = 100%, 0.01 = 1%
    }
  ],
  "particles": [
    "minecraft:flame",
    "minecraft:happy_villager"
  ]
}

Commandes (Admin) :
-------------------
- /arcadialoot give <joueur> <id>  : Donne la lootbox (Block Shulker) au joueur.
- /arcadialoot reload            : Recharge la configuration sans redémarrer le serveur.

Astuces :
- Vous pouvez utiliser n'importe quel item comme clé (même des items moddés).
- Si "openMessage" est vide, un message par défaut sera utilisé.


================================================================

[EN] ENGLISH GUIDE
==================
How to create a new Lootbox:
1. Create a new .json file in this folder (e.g., `legendary.json`).
2. The filename becomes the unique lootbox ID (e.g., `legendary`).
3. Copy the JSON structure below and edit the values.

JSON Structure:
---------------
{
  "displayName": "Display Name",
  "color": "yellow",  <-- Available colors: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black
  "keyItem": "minecraft:tripwire_hook",  <-- Item ID required to open (Main Hand)
  "openSound": "minecraft:block.chest.open", <-- Sound played on open (Optional)
  "openMessage": "§aCongrats!", <-- Chat message on open (Supports § color codes)
  "lootTable": [
    {
      "item": "minecraft:diamond",
      "minCount": 1,
      "maxCount": 3,
      "chance": 0.5  <-- 0.5 = 50%, 1.0 = 100%, 0.01 = 1%
    }
  ],
  "particles": [
    "minecraft:flame",
    "minecraft:happy_villager"
  ]
}

Commands (Admin):
-----------------
- /arcadialoot give <player> <id>  : Gives the lootbox (Shulker Block) to the player.
- /arcadialoot reload            : Reloads the configuration without restarting.

Tips:
- You can use any item specific key (even modded items).
- If "openMessage" is empty, a default message is used.
