========================================================================
                 UNIVERSAL RPG SKILLS SCRIPT (KubeJS)
========================================================================

Author:      Nasaremix Studios
Version:     1.0.0
Game Ver:    Minecraft Java Edition (Any version supported by KubeJS 6+)
Loader:      Forge, Fabric, or NeoForge

------------------------------------------------------------------------
[1] DESCRIPTION
------------------------------------------------------------------------
Transform your Minecraft server into an RPG adventure! This lightweight
script adds a complete leveling system with 7 unique skills, visual 
statistics, and permanent rewards.

THE SKILLS:
⛏️ Miner:      Earn XP by breaking Stone, Deepslate, and Ores.
🪓 Lumberjack: Earn XP by chopping Logs and clearing Leaves.
⚔️ Combat:     Earn XP by slaying hostile mobs and bosses.
🌾 Farming:    Earn XP by harvesting crops.
🥄 Excavation: Earn XP by digging Dirt, Sand, and Gravel.
🎣 Fishing:    Earn XP by catching fish and treasure.
🍳 Cooking:    Earn XP by taking items out of a Furnace/Smoker.

FEATURES:
- Action Bar Display: See your progress in real-time.
- Stats Dashboard: View all your levels and total stats in a clean menu.
- Passive Perks: Unlock permanent buffs (Haste, Strength, Speed) as you 
  level up your skills.
- Sound Effects: Satisfying sounds for leveling up and gaining XP.

------------------------------------------------------------------------
[2] HOW TO USE
------------------------------------------------------------------------
Everything works automatically! Just play the game to earn XP.

To view your Stats Dashboard (Levels, XP, Total Blocks Broken):
1. Type "!skills" in chat.
2. OR Right-Click while holding a Book.
3. OR Sneak + Right-Click with an Empty Hand.

------------------------------------------------------------------------
[3] REQUIREMENTS
------------------------------------------------------------------------
This is NOT a standalone mod. It is a script for the KubeJS mod.

You must install the following before this script will work:
1. Minecraft Java Edition
2. A Mod Loader (Forge, Fabric, or NeoForge)
3. The KubeJS Mod (Download from CurseForge/Modrinth)

------------------------------------------------------------------------
[4] INSTALLATION INSTRUCTIONS
------------------------------------------------------------------------
1. Install KubeJS and run your game once to generate the folders.
2. Open your Minecraft instance folder.
3. Locate the "kubejs" folder.
4. Open the "server_scripts" folder inside it.
   (Path: .../minecraft/kubejs/server_scripts/)
5. Drag and drop the .js script file into this folder.
6. Restart your game or run the command "/kubejs reload" in-game.

------------------------------------------------------------------------
[5] CONFIGURATION
------------------------------------------------------------------------
You can customize XP rates, colors, and perk levels!

1. Open the script file with any text editor (Notepad, VS Code).
2. Look at the top of the file under "const CONFIG".
3. You can change:
   - XP_PER_LEVEL_MULTIPLIER: How hard it is to level up.
   - DEFAULT_XP: How much XP generic actions give.
   - PERKS: What levels unlock specific potion effects.

------------------------------------------------------------------------
[6] CREDITS & LICENSE
------------------------------------------------------------------------
You are free to use this script in modpacks or servers.
Please do not redistribute this script as your own work without credit.
Credit Nasaremix Studios respectively.

/*
╔═════════════════════════════════════════════════════════════════════════════╗
║                                                                             ║
║      Created by Nasa x Remix - Nasaremix studios                            ║
║                                                                             ║
║      CurseForge: curseforge.com/members/nasaremix/projects                  ║
║      MCPEDL:     mcpedl.com/user/nasa-x-remix/                              ║
║      ModBay:     modbay.org/user/nasaxremix/                                ║
║      Discord:    discord.gg/Vc7aPdfU4C                                      ║
║      YouTube:    youtube.com/@Nasaremixstudios                              ║
║                                                                             ║
╚═════════════════════════════════════════════════════════════════════════════╝
*/
/*
 _______                                                 .__                   __            .___.__              
 \      \ _____    ___________    _______   ____   _____ |__|__  ___   _______/  |_ __ __  __| _/|__| ____  ______
 /   |   \\__  \  /  ___/\__  \   \_  __ \_/ __ \ /     \|  \  \/  /  /  ___/\   __\  |  \/ __ | |  |/  _ \/  ___/
/    |    \/ __ \_\___ \  / __ \_  |  | \/\  ___/|  Y Y  \  |>    <   \___ \  |  | |  |  / /_/ | |  (  <_> )___ \ 
\____|__  (____  /____  >(____  /  |__|    \___  >__|_|  /__/__/\_ \ /____  > |__| |____/\____ | |__|\____/____  >
        \/     \/     \/      \/               \/      \/         \/      \/                  \/               \/ 
*/