realzedaidragon
📎 1 file 3,166 chars
📄
pasted-code-1774418507969.txt
txt 281 lines
▶
PLUGIN NAME: Bloodline Ascension SMP (FINAL COMPLETE VERSION WITH PARTICLES)

SERVER: Paper / Spigot 1.21+

---

CORE CONCEPT

Players choose a Bloodline.

Demon looks weakest but becomes the STRONGEST after awakening.

---

PLUGIN.YML

name: BloodlineAscension
main: your.package.Main
version: 1.0
api-version: 1.21

commands:
bloodline:
description: Main command
usage: /bloodline
aliases: [bl]

---

ON ENABLE

• Register command executor
• Register tab completer
• Register all events
• Start particle task
• Load data

---

TAB COMPLETE

/bloodline →

choose
ability
awaken
info
set
remove
setemperor
reset

---

COMMAND SYSTEM

/bloodline choose → INVENTORY GUI
/bloodline ability → use ability
/bloodline awaken → ritual
/bloodline awaken task → show tasks
/bloodline info → info

---

PLAYER JOIN

• Delay 20 ticks
• Open INVENTORY GUI if no bloodline

---

INVENTORY GUI

Title: "Choose Your Bloodline"

• Cancel clicks
• Assign bloodline
• Show LOCKED if full

---

DATA SYSTEM

Store:

UUID → Bloodline
UUID → Awakened
Bloodline → Emperor
UUID → Active Ability
UUID → TaskProgress

Save + load config

---

BLOODLINES

Demon (1)
Dragon (3)
Leviathan (3)
Phoenix (3)
Titan (4)
Shadow (4)
Storm (4)
Sandworm (3)
Celestial (2)

---

🔥 DEMON (HIDDEN GOD)

INVENTORY GUI:

"Unstable and weak bloodline"

---

BEFORE AWAKEN

• +1 heart
• Weak ability

Ability:

Speed I

Duration: 8 sec
Cooldown: 20 sec

---

AFTER AWAKEN

• Strength IV
• Resistance II
• +8 hearts

---

🔥 DEMON PARTICLES (IMPORTANT)

Run every 2–5 ticks:

• SOUL_FIRE_FLAME
• SMOKE_NORMAL
• PORTAL

Around player

---

ABILITY PARTICLES

When ability active:

• SOUL particles
• EXPLOSION particles

---

DEMON TRUE ABILITY

• Strength V
• Speed II
• Weakness + Wither enemies

Duration: 10 sec
Cooldown: 20 sec

---

DEMON EMPEROR

• Strength V
• Resistance III
• Speed II

Enemies:

• Wither II
• Weakness II

Duration: 10 sec
Cooldown: 50 sec

---

🐉 DRAGON

• Fire Resistance
• Fire attack (setFireTicks)
• Auto smelt ores

Weaker than Demon

---

AUTO SMELT

IRON_ORE → IRON_INGOT
GOLD_ORE → GOLD_INGOT

Use BlockBreakEvent

---

ALL TASKS

Each bloodline must have tasks:

• Player kills
• Mob kills
• Special actions

Demon tasks hardest

---

ANTI FARM

Same player kill → 30 min cooldown

---

ABILITY SYSTEM

Before awaken → 8 sec
After awaken → 10 sec

Use BukkitRunnable timer

---

COOLDOWN

Normal → 20 sec
Emperor → 120 sec
Demon Emperor → 50 sec

---

PASSIVE SYSTEM

Reapply every 5 sec

---

RITUAL SYSTEM

/bloodline awaken

• 10 min survival
• BossBar coords

FAIL → reset
SUCCESS → awaken + emperor

---

IMPORTANT RULES

✔ Commands return true
✔ Tab complete working
✔ INVENTORY GUI cancel click
✔ No ability stacking
✔ No instant cancel
✔ Data save/load

---

FINAL RESULT

✔ Everything working
✔ Demon hidden strongest
✔ Particles working
✔ Abilities smooth
✔ SMP READY
✔ NO BUGS

---
Kodari AI
KodariMar 25 at 6:04 am 22,947 (v2)

I’ll create a comprehensive Bloodline Ascension SMP plugin with GUI-based bloodline selection, abilities, awakening rituals, and particle effects.

BloodlineAscension
A competitive SMP plugin featuring 9 unique bloodlines with hidden power scaling. Players choose bloodlines through an interactive GUI, unlock abilities, complete awakening tasks, and compete to become Emperor. Demon bloodline appears weakest but becomes the strongest after awakening. Features include particle effects, ability cooldowns, ritual survival challenges, auto-smelt mechanics, and anti-farm protection.

All files created successfully! The Bloodline Ascension plugin is complete with:

  • 9 Bloodlines with unique slot limits and hidden power scaling (Demon appears weakest but becomes strongest)

  • GUI-based selection with visual indicators for available/locked bloodlines

  • Ability system with cooldowns, passive effects, and particle effects (especially for Demon)

  • Awakening ritual with 10-minute survival challenge and boss bar showing coordinates

  • Task system for awakening (player kills, mob kills, damage dealt) with anti-farm protection

  • Emperor system where awakened players become emperors of their bloodline

  • Auto-smelt for Dragon bloodline (iron/gold/copper ores)

  • Data persistence saving all player progress and bloodline choices

  • Full command system with tab completion and admin commands

realzedaidragon

add a commamd to reset amyomes bloodlime admim commamd amd demom passive would have speed 2 amd stremght 2 before awakem amd after awakem passive would have stremgth 3 amd speed 3 amd before awakem therrre would be 4 extra heartas amd after awakem it would have 8 extrajearts im total

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
24 1,555
src/main/java/me/bloodline/ascension/BloodlineAscension.java
package me.bloodline.ascension;

import lombok.Getter;
import me.bloodline.ascension.command.BloodlineCommand;
import me.bloodline.ascension.command.BloodlineTabCompleter;
import me.bloodline.ascension.inventory.gui.GUIListener;
import me.bloodline.ascension.inventory.gui.GUIManager;
import me.bloodline.ascension.listener.BlockBreakListener;
import me.bloodline.ascension.listener.CombatListener;
import me.bloodline.ascension.listener.PlayerJoinListener;
import me.bloodline.ascension.listener.RitualListener;
import me.bloodline.ascension.manager.AbilityManager;
import me.bloodline.ascension.manager.DataManager;
import me.bloodline.ascension.manager.ParticleManager;
import me.bloodline.ascension.manager.RitualManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public final class BloodlineAscension extends JavaPlugin {
    
    private GUIManager guiManager;
    private DataManager dataManager;
    private AbilityManager abilityManager;
    private ParticleManager particleManager;
    private RitualManager ritualManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.guiManager = new GUIManager();
        this.dataManager = new DataManager(this);
        this.abilityManager = new AbilityManager(this);
        this.particleManager = new ParticleManager(this);
        this.ritualManager = new RitualManager(this);
        
        getCommand("bloodline").setExecutor(new BloodlineCommand(this));
        getCommand("bloodline").setTabCompleter(new BloodlineTabCompleter());
        
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        Bukkit.getPluginManager().registerEvents(new PlayerJoinListener(this), this);
        Bukkit.getPluginManager().registerEvents(new CombatListener(this), this);
        Bukkit.getPluginManager().registerEvents(new BlockBreakListener(this), this);
        Bukkit.getPluginManager().registerEvents(new RitualListener(this), this);
        
        dataManager.loadData();
        particleManager.startParticleTask();
        abilityManager.startPassiveTask();
        
        getLogger().info("BloodlineAscension has been enabled!");
    }

    @Override
    public void onDisable() {
        if (dataManager != null) {
            dataManager.saveData();
        }
        if (particleManager != null) {
            particleManager.stopParticleTask();
        }
        if (abilityManager != null) {
            abilityManager.stopPassiveTask();
        }
        getLogger().info("BloodlineAscension has been disabled!");
    }
}