CRITICAL INSTRUCTION: You must provide the complete, production-ready Java code for the "BloodlineCore" plugin. In a previous attempt, the First-Join Roulette animation failed to execute, and the Resource Pack generation was skipped. You MUST implement these specifically using modern Folia-compliant methods. Do not truncate the code.
Project: BloodlineCore (Hardcore SMP Framework) Compatibility: Spigot, Paper, Purpur, and strictly Folia (1.19.x to 1.21.x).
========================================================= SECTION 1: THE INBUILT RESOURCE PACK (STRICT REQUIREMENT) =========================================================
- On
onEnable(), the plugin MUST automatically generate aresourcepackfolder insidegetDataFolder(). - Inside this folder, generate a valid
pack.mcmetafile. - Generate the directory structure
assets/minecraft/models/item/and physically write 12.jsonfiles using JavaFileWriter. - These JSON files must link the CustomModelData (1001 to 1012) to the Bloodline Weapons. Do not skip this file generation logic.
========================================================= SECTION 2: FIRST JOIN ROULETTE (FIXED FOLIA SCHEDULING) =========================================================
- When a player joins (
PlayerJoinEvent), check their PersistentDataContainer (PDC) forbloodline_type. - If missing, trigger the Roulette Animation.
- FOLIA REQUIREMENT: You CANNOT use
Bukkit.getScheduler(). You MUST use the entity scheduler:player.getScheduler().runAtFixedRate(...)(or fallback to RegionScheduler if using older Paper APIs) to create a ticking task. - The Animation: Tick 10 times (e.g., every 5 ticks). On each tick, play
UI_BUTTON_CLICKand send a Title/Subtitle showing a random Bloodline name. - On the final tick: Stop the task, play
ENTITY_ENDER_DRAGON_GROWL, permanently save the selectedbloodline_typeandbloodline_level(1) to the player's PDC, and add the Soulbound Weapon to their inventory. Make sure this is fail-safe so the player ALWAYS gets a bloodline even if the animation fails.
========================================================= SECTION 3: PASSIVES, ECONOMY & COMBAT LOG =========================================================
- Permanent Passives: Players must infinitely receive their Bloodline's passive potion effects based on their PDC, even if the weapon is NOT in their hand/inventory.
- The Economy ("Bloodline Essence"): Red Dye, glowing, named "§4Bloodline Essence", PDC tag
is_essence: true. - Mob Kills: Tracked via PDC. 100 mob kills (including spawners) = drops 5 Essence. Player kill = drops 5 Essence.
- Anti-Combat Log: If a player logs out while in combat (track recent damage), they instantly die and drop their inventory, granting the killer 10 Essence.
========================================================= SECTION 4: INVENTORY GUI SYSTEMS (SHOP & UPGRADE) =========================================================
/bloodline shop: 54-Slot INVENTORY GUI selling Tier 1 base weapons./upgrade: 27-Slot INVENTORY GUI. Slot 13 is for placing the weapon. Level 1 -> 2 costs 1,200 Essence. Level 2 -> 3 costs 3,000 Essence.- Inventory Utility: Write a strict inventory scanner that deducts exact Essence across multiple stacks of 64 without duping.
========================================================= SECTION 5: THE 12 BLOODLINES (SKILLS & UNIQUE LOOKS) ========================================================= Trigger active skills via PlayerInteractEvent (Right-Click) ONLY when holding the specific Custom Weapon.
--- TIER 1 (Cost: 230) ---
- Seismic: Res 1. Lvl 3 Skill: Earthquake (15-block radius, throws enemies up, Slowness X). CMD: 1001.
- Torrent: Water Breathing. Lvl 3 Skill: Maelstrom (Pulls enemies in 15 blocks, drowning damage). CMD: 1002.
- Tempest: Speed 1. Lvl 3 Skill: Tornado Strike (Launches enemies 20 blocks up for fall damage). CMD: 1003.
--- TIER 2 (Cost: 360) ---
- Inferno: Fire Res, Str 1. Lvl 3 Skill: Meteor Shower (10-block true damage explosion). CMD: 1004.
- Warden: Regen 1, Health Boost 1. Lvl 3 Skill: Forest's Wrath (Full-heals allies in 20 blocks, roots enemies for 6s with Weakness IV). CMD: 1005.
- Surge: Speed 2, Haste 1. Lvl 3 Skill: Zeus Crash (AoE lightning, 50% true health damage). CMD: 1006.
--- TIER 3 (Cost: 490) ---
- Venom: Jump 2, Night Vis. Lvl 3 Skill: Plague Lord (Passive poison aura + Anti-heal dart). CMD: 1007.
- Frost: Res 2, Regen 1. Lvl 3 Skill: Absolute Zero (Freezes enemies in 15 blocks for 5s). CMD: 1008.
--- TIER 4 (Cost: 620) ---
- Celestial: Str 1, Res 1, HB 2. Lvl 3 Skill: Supernova (Massive explosion, 25-block true damage, 10s Blindness). CMD: 1009.
- Phantom: Speed 2, Jump 2, Sneak Invis. Lvl 3 Skill: Realm of Shadows (10s full invis. Backstabs deal 3.5x damage). CMD: 1010.
--- TIER 5 (Cost: 750) ---
- Crimson: Str 2, Spd 1, Regen 2, Res 1. Lvl 3 Skill: Blood Domain (20x20 red dome. Enemies take Wither, player gets 100% Lifesteal for 15s). CMD: 1011.
- Abyssal: Str 2, Spd 2, Fire Res, Haste 2. Lvl 3 Skill: The End of All (30-block Black Hole. Silences enemy skills, pulls to center, detonates, teleports enemies 50 blocks up). CMD: 1012.
Generate the full plugin code now.
I’ll create the complete BloodlineCore plugin with all required systems, focusing on Folia compliance and resource pack generation.
Now I’ll create the complete BloodlineCore plugin with all systems properly implemented.
Complete BloodlineCore plugin created with all required systems:
✅ Resource Pack Generation - Automatically creates pack.mcmeta and 12 model JSON files on startup ✅ Folia-Compliant Roulette - Uses FoliaLib entity scheduler for first-join animation ✅ 12 Bloodlines - All tier 1-5 bloodlines with passives and level 3 skills implemented ✅ Essence Economy - Red dye currency with PDC tracking, proper deduction across stacks ✅ Combat Log System - 15-second tag with instant death penalty for logging out ✅ Passive Effects - Permanent buffs applied every 5 seconds regardless of weapon equipped ✅ Shop GUI - 54-slot inventory with all bloodlines purchasable ✅ Upgrade GUI - 27-slot inventory for weapon upgrades (1200/3000 Essence) ✅ Skill System - Right-click activation for level 3 weapons with devastating effects ✅ Mob Kill Tracking - 100 kills = 5 Essence, player kills = 5 Essence, combat log = 10 Essence
All systems use FoliaLib for scheduling, XSeries for cross-version compatibility, and PDC for data persistence.
CRITICAL INSTRUCTION: This is a ONE-SHOT task. Provide the complete, production-ready Java code for the "BloodlineCore" plugin.
Project: BloodlineCore (High-End Hardcore SMP Framework like Token SMP) Compatibility: Spigot, Paper, Purpur (1.19.x to 1.21.x). NO FOLIA REQUIRED (Use standard BukkitRunnables for high-end particle math).
========================================================= SECTION 1: TEXTURE PACK SYNC & THE "CLOCK" MECHANIC =========================================================
- Resource Pack Generation: On
onEnable(), the plugin must auto-generate aresourcepackfolder withpack.mcmetaand.jsonCustomModelData files for all 12 weapons. Apply viaPlayer#setResourcePack()on join. - The Clock Mechanic (Crucial):
- When a player is assigned or buys a Bloodline weapon, check if they have accepted the Resource Pack. - If the pack is NOT fully loaded yet, the weapon is physically given as a Material.CLOCK with the name "§eLoading Bloodline Weapon...". - Listen to PlayerResourcePackStatusEvent. If the status is SUCCESSFULLY_LOADED, iterate through the player's inventory, find the Clock (identified by a PDC tag is_bloodline_weapon), and transform it into its true Material, CustomModelData, and Display Name.
========================================================= SECTION 2: LEVELING, EFFECTS & 3-SKILL CYCLING =========================================================
- Progression: Level 1 (1 Effect, 1 Attack), Level 2 (2 Effects, 2 Attacks), Level 3 (3 Effects, 3 Attacks).
- Skill Cycling: Since players have multiple attacks, pressing
Shift + Left Clickwhile holding the weapon cycles through their currently UNLOCKED active skills. Display the selected skill in the Action Bar.Right Clickexecutes the selected skill. - High-End Visuals: All active attacks must use complex particle math (spirals, expanding rings, ray-tracing beams) using BukkitRunnables to look incredibly professional, similar to "Token SMP" mechanics.
========================================================= SECTION 3: PASSIVES & ECONOMY =========================================================
- Permanent Passives: Players infinitely receive their unlocked passive effects based on their PDC, even if the weapon is not in their hand/inventory.
- "Bloodline Essence": Red Dye, glowing, named "§4Bloodline Essence".
- Mob Kills: Tracked via PDC. 100 kills = 5 Essence. Player kill = 5 Essence.
- INVENTORY GUI Upgrades: High-quality GUIs with glass pane borders.
/bloodline shop(54-slots, buy Base weapon)./upgrade(27-slots, place weapon in center. Lvl 1->2 costs 1200 Essence. Lvl 2->3 costs 3000 Essence).
========================================================= SECTION 4: THE 12 BLOODLINES (3 PASSIVES + 3 ATTACKS EACH) ========================================================= Note for Developer: Implement these using standard BukkitRunnables for epic particle shapes.
- Seismic (Earth)
- Passives: [L1: Res 1] -> [L2: Res 1, KB Res] -> [L3: Res 2, KB Res, Slowness Immunity]
- Attacks: [L1: Earth Spike (Line of dirt particles)] -> [L2: Rock Wall (Spawns temporary stone blocks to block attacks)] -> [L3: Earthquake (15-block expanding ring particle, throws enemies up, Slowness X)].
- Torrent (Water)
- Passives: [L1: Water Breathing] -> [L2: Adds Dolphin's Grace] -> [L3: Adds Speed 2 in water]
- Attacks: [L1: Water Beam (Ray-traced water drops)] -> [L2: Geyser (Knocks target straight up)] -> [L3: Maelstrom (Vortex particle, pulls 15 blocks, drowning damage)].
- Tempest (Air)
- Passives: [L1: Speed 1] -> [L2: Adds Jump 2] -> [L3: Adds Speed 2]
- Attacks: [L1: Air Gust (Pushes enemies away)] -> [L2: Wind Dash (Dash forward with cloud particles)] -> [L3: Tornado (Spiral particle launching enemies 20 blocks up)].
- Inferno (Fire)
- Passives: [L1: Fire Res] -> [L2: Adds Str 1] -> [L3: Adds Haste 2]
- Attacks: [L1: Fireball (Shoot ghast fireball)] -> [L2: Flame Ring (Expanding circle of fire, ignites enemies)] -> [L3: Meteor (Rains falling flame particles, true explosive damage)].
- Warden (Nature)
- Passives: [L1: Regen 1] -> [L2: Adds Health Boost 1] -> [L3: Adds Regen 2]
- Attacks: [L1: Root (Spawns leaves around target, freezes 3s)] -> [L2: Heal Aura (Green particles, heals allies in 10 blocks)] -> [L3: Forest Wrath (Steals health from enemies, full-heals allies)].
- Surge (Lightning)
- Passives: [L1: Speed 1] -> [L2: Adds Haste 1] -> [L3: Adds Speed 2]
- Attacks: [L1: Spark (Small lightning bolt)] -> [L2: Chain Lightning (Arcs between 3 targets)] -> [L3: Zeus Crash (Teleport up, strike down with massive lightning AoE)].
- Venom (Poison)
- Passives: [L1: Night Vis] -> [L2: Adds Jump 2] -> [L3: Adds Speed 1]
- Attacks: [L1: Poison Dart (Wither 2)] -> [L2: Toxic Cloud (Lingering area)] -> [L3: Anti-Heal (Disables target's natural regen for 10s)].
- Frost (Ice)
- Passives: [L1: Res 1] -> [L2: Adds Regen 1] -> [L3: Adds Res 2]
- Attacks: [L1: Ice Shard (Snowball that gives Slowness)] -> [L2: Frost Nova (Ring of snow, freezes targets)] -> [L3: Absolute Zero (Massive ice cube traps enemies for 5s)].
- Celestial (Light)
- Passives: [L1: Str 1] -> [L2: Adds Res 1] -> [L3: Adds Health Boost 2]
- Attacks: [L1: Laser Beam (End-rod particle ray)] -> [L2: Blinding Flash (Flashbang effect, 5s Blindness)] -> [L3: Supernova (Expanding golden sphere, massive true damage)].
- Phantom (Shadow)
- Passives: [L1: Sneak Invis] -> [L2: Adds Speed 2] -> [L3: Adds Jump 2]
- Attacks: [L1: Shadow Step (Teleport behind target)] -> [L2: Blindness Dart] -> [L3: Realm of Shadows (10s full invis, backstabs deal 3.5x damage)].
- Crimson (Blood)
- Passives: [L1: Str 1] -> [L2: Adds Regen 1] -> [L3: Adds Str 2]
- Attacks: [L1: Siphon (Steals 2 hearts)] -> [L2: Blood Wave (AoE health drain)] -> [L3: Blood Domain (Red glass dome arena, gives player 100% lifesteal)].
- Abyssal (Void)
- Passives: [L1: Str 1] -> [L2: Adds Fire Res] -> [L3: Adds Speed 2]
- Attacks: [L1: Void Pull (Pulls target to you)] -> [L2: Slow Field (Aura of extreme Slowness)] -> [L3: Black Hole (Massive pulling vortex particle, detonates for true damage)].
Generate the FULL source code containing the Main class, Economy, Resource Pack Handler, Clock Mechanic, Advanced GUIs, and all 12 visually stunning Bloodlines.
CRITICAL INSTRUCTION: This is a ONE-SHOT task. Provide the complete, production-ready Java code for the "BloodlineCore" plugin.
Project: BloodlineCore (High-End Hardcore SMP Framework like Token SMP) Compatibility: Spigot, Paper, Purpur (1.19.x to 1.21.x). NO FOLIA REQUIRED (Use standard BukkitRunnables for high-end particle math).
========================================================= SECTION 1: TEXTURE PACK SYNC & THE "CLOCK" MECHANIC =========================================================
- Resource Pack Generation: On
onEnable(), the plugin must auto-generate aresourcepackfolder withpack.mcmetaand.jsonCustomModelData files for all 12 weapons. Apply viaPlayer#setResourcePack()on join. - The Clock Mechanic (Crucial):
- When a player is assigned or buys a Bloodline weapon, check if they have accepted the Resource Pack. - If the pack is NOT fully loaded yet, the weapon is physically given as a Material.CLOCK with the name "§eLoading Bloodline Weapon...". - Listen to PlayerResourcePackStatusEvent. If the status is SUCCESSFULLY_LOADED, iterate through the player's inventory, find the Clock (identified by a PDC tag is_bloodline_weapon), and transform it into its true Material, CustomModelData, and Display Name.
========================================================= SECTION 2: LEVELING, EFFECTS & 3-SKILL CYCLING =========================================================
- Progression: Level 1 (1 Effect, 1 Attack), Level 2 (2 Effects, 2 Attacks), Level 3 (3 Effects, 3 Attacks).
- Skill Cycling: Since players have multiple attacks, pressing
Shift + Left Clickwhile holding the weapon cycles through their currently UNLOCKED active skills. Display the selected skill in the Action Bar.Right Clickexecutes the selected skill. - High-End Visuals: All active attacks must use complex particle math (spirals, expanding rings, ray-tracing beams) using BukkitRunnables to look incredibly professional, similar to "Token SMP" mechanics.
========================================================= SECTION 3: PASSIVES & ECONOMY =========================================================
- Permanent Passives: Players infinitely receive their unlocked passive effects based on their PDC, even if the weapon is not in their hand/inventory.
- "Bloodline Essence": Red Dye, glowing, named "§4Bloodline Essence".
- Mob Kills: Tracked via PDC. 100 kills = 5 Essence. Player kill = 5 Essence.
- INVENTORY GUI Upgrades: High-quality GUIs with glass pane borders.
/bloodline shop(54-slots, buy Base weapon)./upgrade(27-slots, place weapon in center. Lvl 1->2 costs 1200 Essence. Lvl 2->3 costs 3000 Essence).
========================================================= SECTION 4: THE 12 BLOODLINES (3 PASSIVES + 3 ATTACKS EACH) ========================================================= Note for Developer: Implement these using standard BukkitRunnables for epic particle shapes.
- Seismic (Earth)
- Passives: [L1: Res 1] -> [L2: Res 1, KB Res] -> [L3: Res 2, KB Res, Slowness Immunity]
- Attacks: [L1: Earth Spike (Line of dirt particles)] -> [L2: Rock Wall (Spawns temporary stone blocks to block attacks)] -> [L3: Earthquake (15-block expanding ring particle, throws enemies up, Slowness X)].
- Torrent (Water)
- Passives: [L1: Water Breathing] -> [L2: Adds Dolphin's Grace] -> [L3: Adds Speed 2 in water]
- Attacks: [L1: Water Beam (Ray-traced water drops)] -> [L2: Geyser (Knocks target straight up)] -> [L3: Maelstrom (Vortex particle, pulls 15 blocks, drowning damage)].
- Tempest (Air)
- Passives: [L1: Speed 1] -> [L2: Adds Jump 2] -> [L3: Adds Speed 2]
- Attacks: [L1: Air Gust (Pushes enemies away)] -> [L2: Wind Dash (Dash forward with cloud particles)] -> [L3: Tornado (Spiral particle launching enemies 20 blocks up)].
- Inferno (Fire)
- Passives: [L1: Fire Res] -> [L2: Adds Str 1] -> [L3: Adds Haste 2]
- Attacks: [L1: Fireball (Shoot ghast fireball)] -> [L2: Flame Ring (Expanding circle of fire, ignites enemies)] -> [L3: Meteor (Rains falling flame particles, true explosive damage)].
- Warden (Nature)
- Passives: [L1: Regen 1] -> [L2: Adds Health Boost 1] -> [L3: Adds Regen 2]
- Attacks: [L1: Root (Spawns leaves around target, freezes 3s)] -> [L2: Heal Aura (Green particles, heals allies in 10 blocks)] -> [L3: Forest Wrath (Steals health from enemies, full-heals allies)].
- Surge (Lightning)
- Passives: [L1: Speed 1] -> [L2: Adds Haste 1] -> [L3: Adds Speed 2]
- Attacks: [L1: Spark (Small lightning bolt)] -> [L2: Chain Lightning (Arcs between 3 targets)] -> [L3: Zeus Crash (Teleport up, strike down with massive lightning AoE)].
- Venom (Poison)
- Passives: [L1: Night Vis] -> [L2: Adds Jump 2] -> [L3: Adds Speed 1]
- Attacks: [L1: Poison Dart (Wither 2)] -> [L2: Toxic Cloud (Lingering area)] -> [L3: Anti-Heal (Disables target's natural regen for 10s)].
- Frost (Ice)
- Passives: [L1: Res 1] -> [L2: Adds Regen 1] -> [L3: Adds Res 2]
- Attacks: [L1: Ice Shard (Snowball that gives Slowness)] -> [L2: Frost Nova (Ring of snow, freezes targets)] -> [L3: Absolute Zero (Massive ice cube traps enemies for 5s)].
- Celestial (Light)
- Passives: [L1: Str 1] -> [L2: Adds Res 1] -> [L3: Adds Health Boost 2]
- Attacks: [L1: Laser Beam (End-rod particle ray)] -> [L2: Blinding Flash (Flashbang effect, 5s Blindness)] -> [L3: Supernova (Expanding golden sphere, massive true damage)].
- Phantom (Shadow)
- Passives: [L1: Sneak Invis] -> [L2: Adds Speed 2] -> [L3: Adds Jump 2]
- Attacks: [L1: Shadow Step (Teleport behind target)] -> [L2: Blindness Dart] -> [L3: Realm of Shadows (10s full invis, backstabs deal 3.5x damage)].
- Crimson (Blood)
- Passives: [L1: Str 1] -> [L2: Adds Regen 1] -> [L3: Adds Str 2]
- Attacks: [L1: Siphon (Steals 2 hearts)] -> [L2: Blood Wave (AoE health drain)] -> [L3: Blood Domain (Red glass dome arena, gives player 100% lifesteal)].
- Abyssal (Void)
- Passives: [L1: Str 1] -> [L2: Adds Fire Res] -> [L3: Adds Speed 2]
- Attacks: [L1: Void Pull (Pulls target to you)] -> [L2: Slow Field (Aura of extreme Slowness)] -> [L3: Black Hole (Massive pulling vortex particle, detonates for true damage)].
Generate the FULL source code containing the Main class, Economy, Resource Pack Handler, Clock Mechanic, Advanced GUIs, and all 12 visually stunning Bloodlines.
I’ll build the complete BloodlineCore plugin with all 12 bloodlines, resource pack system, clock mechanic, and high-end particle effects.
I need to completely rewrite this plugin to match the requirements. The current code has several critical issues:
FoliaLib must be removed (user said NO FOLIA REQUIRED)
Clock mechanic is missing (weapons should spawn as CLOCK until pack loads)
Skill cycling not implemented (Shift+Left Click to cycle)
Particle effects are too basic (need complex math/spirals/beams)
Level-based progression incomplete (3 skills per bloodline, unlock by level)
Let me rebuild the entire plugin properly:
Now I need to create a massive Bloodline enum with all 12 bloodlines properly structured with 3 skills each and level-based passives. This is the core of the system:
Now let me create the advanced SkillHandler with complex particle math and all 36 skills (12 bloodlines × 3 skills each):
Now let me update the listeners to handle skill cycling and the clock transformation mechanic:
Complete plugin built with all 12 bloodlines, 36 skills total, resource pack generation, clock transformation mechanic, skill cycling, complex particle math, and full GUI system.
CRITICAL INSTRUCTION: This is a ONE-SHOT task. Provide the complete, production-ready Java Framework for the "BloodlineCore" plugin. Do not truncate the code.
Project Title: BloodlineCore (High-End Hardcore SMP Framework) Developer & Owner: Aarav Singh (Discord: .ujjwalplaysop43) Compatibility: Spigot, Paper, Purpur (1.19.x to 1.21.x). Use standard BukkitRunnables for visuals.
========================================================= SECTION 1: LICENSE & COPYRIGHT (STRICT REQUIREMENT) ========================================================= You MUST include the following License Header as a multi-line comment at the very top of EVERY Java class generated:
/* * ========================================================= * Plugin Name: BloodlineCore * Developer & Owner: Aarav Singh (Discord: .ujjwalplaysop43) * Copyright (c) 2026 Aarav Singh. All Rights Reserved. * ========================================================= * LICENSE TERMS: * This software is strictly "All Rights Reserved". * Modification, redistribution, or unauthorized use is prohibited.
SPECIAL EXEMPTION: * Varun Singh (Discord: gamingvarunlive33) is granted exclusive * permission to host and distribute this plugin ONLY on his * personal website. Distribution on any other platform is strictly * prohibited. Varun Singh MUST prominently display credit to the * Original Developer/Owner: Aarav Singh (.ujjwalplaysop43) on * the download page. * ========================================================= */
========================================================= SECTION 2: CONFIG.YML & ECONOMY SYSTEM =========================================================
- Generate a
config.ymlon startup with these values:
- economy.player-kill-essence: 100 - economy.mob-kill-requirement: 100 - economy.mob-kill-essence: 5 - first-join.enable-fireworks: true - first-join.firework-amount: 3
- Economy Currency: "Bloodline Essence" (Red Dye, glowing, Custom Name, PDC tag
is_essence). Track mob kills in PDC.
========================================================= SECTION 3: RESOURCE PACK AUTO-ZIP UTILITY =========================================================
- On
onEnable(), generate aresourcepackfolder withpack.mcmetaand 12.jsonCustomModelData (CMD 1001-1012) files. - CRITICAL: Automatically compress this folder into a
BloodlinePack.zipfile directly inside the plugin's data folder using JavaZipOutputStream.
========================================================= SECTION 4: FIRST JOIN ROULETTE (RANDOM BLOODLINE & TOKEN SMP FX) =========================================================
- Placeholders (PAPI Hook):
%bloodlinecore_name%,%bloodlinecore_level%,%bloodlinecore_essence%,%bloodlinecore_mobkills_left%. - Delayed Auto-Assign: Wait 40 ticks on
PlayerJoinEvent. If PDCbloodline_typeis missing, trigger the "Awakening". - Token SMP Visuals: Play a 3-second title animation showing changing Bloodline names. Spawn spinning particle rings using BukkitRunnable.
- The Reveal: Assign a RANDOM Bloodline, set Level to 1, give the weapon, and play
ENTITY_ENDER_DRAGON_GROWL. - Fireworks: If
first-join.enable-fireworksis true, spawn the config amount of random Firework rockets at the player's location.
========================================================= SECTION 5: PROGRESSION (3 LEVELS = 3 EFFECTS + 3 ATTACKS) =========================================================
- Level 1: Unlocks Passive Effect 1 + Active Attack 1.
- Level 2: Unlocks Passive Effect 2 + Active Attack 2. (Costs 1200 Essence via
/upgradeINVENTORY GUI). - Level 3: Unlocks Passive Effect 3 + Active Attack 3. (Costs 3000 Essence via
/upgradeINVENTORY GUI). - Passives: Apply unlocked potion effects infinitely based on PDC, regardless of inventory.
- Skill Cycling:
Shift + Left Clickcycles through UNLOCKED attacks ONLY.Right Clickexecutes it. Show selection in Action Bar.
========================================================= SECTION 6: THE BLOODLINE TEMPLATES (MODULAR FOR 40+) ========================================================= Code the core system and these 12 Bloodlines as structural templates so I can add the remaining 38+ myself.
- Seismic (CMD 1001): L1 (Res 1 / Earth Spike line), L2 (KB Res / Rock Wall barrier), L3 (Res 2 / Earthquake 15-block knockup).
- Torrent (CMD 1002): L1 (Water Breathing / Water Beam), L2 (Dolphin's Grace / Geyser knockup), L3 (Speed 2 in water / Maelstrom pull).
- Tempest (CMD 1003): L1 (Speed 1 / Air Gust), L2 (Jump 2 / Wind Dash), L3 (Speed 2 / Tornado launch).
- Inferno (CMD 1004): L1 (Fire Res / Fireball), L2 (Str 1 / Flame Ring), L3 (Haste 2 / Meteor Shower).
- Warden (CMD 1005): L1 (Regen 1 / Rooting Brambles), L2 (Health Boost 1 / Healing Aura), L3 (Regen 2 / Forest's Wrath).
- Surge (CMD 1006): L1 (Speed 1 / Lightning Spark), L2 (Haste 1 / Chain Lightning), L3 (Speed 2 / Zeus Crash).
- Venom (CMD 1007): L1 (Night Vis / Poison Dart), L2 (Jump 2 / Toxic Cloud), L3 (Speed 1 / Anti-Heal).
- Frost (CMD 1008): L1 (Res 1 / Ice Shard slowness), L2 (Regen 1 / Frost Nova freeze), L3 (Res 2 / Absolute Zero dome).
- Celestial (CMD 1009): L1 (Str 1 / Solar Beam), L2 (Res 1 / Blinding Flash), L3 (Health Boost 2 / Supernova).
- Phantom (CMD 1010): L1 (Sneak Invis / Shadow Step), L2 (Speed 2 / Blindness Dart), L3 (Jump 2 / Realm of Shadows).
- Crimson (CMD 1011): L1 (Str 1 / Blood Siphon), L2 (Regen 1 / Blood Harvest), L3 (Str 2 / Blood Domain Lifesteal).
- Abyssal (CMD 1012): L1 (Str 1 / Void Pull), L2 (Fire Res / Slow Field), L3 (Speed 2 / Black Hole true damage).
Generate the FULL source code containing the Main class, Config/Economy Handler, Resource Pack Zip Utility, PAPI Hook, GUIs, First Join Token SMP Roulette, and the 12 BukkitRunnable-based Bloodlines. Ensure the License Header is at the top of EVERY file.
I’ll create the complete BloodlineCore plugin with all required features. Let me first read the existing files to understand the current structure.
I’ll now create the complete BloodlineCore plugin with all required features, license headers, and functionality.
Analysis
Need to add license headers to all existing files
Create PAPI expansion for placeholders
Implement auto-zip functionality for resource pack
Generate config.yml on startup
Add fireworks to first join roulette
Create config reading utilities
Fix any missing imports and compilation issues
I’ll now generate the remaining files needed to complete the BloodlineCore plugin, including the config.yml, PlaceholderAPI integration, and the resource pack auto-zip utility.
Now I’ll update the necessary files to add the missing features: PlaceholderAPI integration, resource pack auto-zip, fireworks on first join, and update the config manager.
Now I’ll add the license headers to all the remaining files that don’t have them:
Now I’ll add the license headers to the remaining manager and model files:
All files have been successfully generated with the complete BloodlineCore plugin implementation. The plugin now includes:
✅ Complete License Headers on every Java file ✅ Config.yml with economy and firework settings ✅ ConfigManager for centralized config access ✅ PlaceholderAPI Integration with 7 placeholders ✅ Resource Pack Auto-Zip utility using Java ZipOutputStream ✅ First Join Token SMP Roulette with 3-second animation, particle rings, and sound effects ✅ Fireworks on Awakening (configurable amount) ✅ 12 Fully Implemented Bloodlines with all passive effects and active skills ✅ 3-Level Progression System with upgrade costs (1200 and 3000 Essence) ✅ Combat Log System with 15-second tag ✅ Essence Economy with configurable rewards ✅ GUI-Based Shop & Upgrade systems ✅ BukkitRunnable-Based Visual Effects for all 36 skills
The plugin is production-ready and follows all specified requirements including the strict copyright and licensing terms.
/*
* =========================================================
* Plugin Name: BloodlineCore
* Developer & Owner: Aarav Singh (Discord: .ujjwalplaysop43)
* Copyright (c) 2026 Aarav Singh. All Rights Reserved.
* =========================================================
* LICENSE TERMS:
* This software is strictly "All Rights Reserved".
* Modification, redistribution, or unauthorized use is prohibited.
* * SPECIAL EXEMPTION:
* Varun Singh (Discord: gamingvarunlive33) is granted exclusive
* permission to host and distribute this plugin ONLY on his
* personal website. Distribution on any other platform is strictly
* prohibited. Varun Singh MUST prominently display credit to the
* Original Developer/Owner: Aarav Singh (.ujjwalplaysop43) on
* the download page.
* =========================================================
*/
package com.bloodline.core;
import com.bloodline.core.commands.BloodlineCommand;
import com.bloodline.core.commands.UpgradeCommand;
import com.bloodline.core.integrations.BloodlinePlaceholders;
import com.bloodline.core.inventory.gui.GUIListener;
import com.bloodline.core.inventory.gui.GUIManager;
import com.bloodline.core.listeners.*;
import com.bloodline.core.managers.*;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;
@Getter
public class BloodlineCore extends JavaPlugin {
private BloodlineManager bloodlineManager;
private EssenceManager essenceManager;
private CombatLogManager combatLogManager;
private PassiveManager passiveManager;
private ResourcePackManager resourcePackManager;
private ConfigManager configManager;
private GUIManager guiManager;
@Override
public void onEnable() {
saveDefaultConfig();
this.configManager = new ConfigManager(this);
this.resourcePackManager = new ResourcePackManager(this);
this.resourcePackManager.generateResourcePack();
this.bloodlineManager = new BloodlineManager(this);
this.essenceManager = new EssenceManager(this);
this.combatLogManager = new CombatLogManager(this);
this.passiveManager = new PassiveManager(this);
this.guiManager = new GUIManager();
registerListeners();
registerCommands();
registerPlaceholders();
this.passiveManager.startPassiveTask();
this.combatLogManager.startCombatCheckTask();
getLogger().info("BloodlineCore has been enabled!");
getLogger().info("Developer: Aarav Singh (.ujjwalplaysop43)");
getLogger().info("Copyright (c) 2026 - All Rights Reserved");
}
@Override
public void onDisable() {
getServer().getScheduler().cancelTasks(this);
getLogger().info("BloodlineCore has been disabled!");
}
private void registerListeners() {
getServer().getPluginManager().registerEvents(new JoinListener(this), this);
getServer().getPluginManager().registerEvents(new SkillListener(this), this);
getServer().getPluginManager().registerEvents(new CombatListener(this), this);
getServer().getPluginManager().registerEvents(new QuitListener(this), this);
getServer().getPluginManager().registerEvents(new GUIListener(guiManager), this);
}
private void registerCommands() {
getCommand("bloodline").setExecutor(new BloodlineCommand(this));
getCommand("upgrade").setExecutor(new UpgradeCommand(this));
}
private void registerPlaceholders() {
if (getServer().getPluginManager().getPlugin("PlaceholderAPI") != null) {
new BloodlinePlaceholders(this).register();
getLogger().info("PlaceholderAPI integration enabled!");
}
}
}