gamerz_123_
📎 1 file 3,350 chars
📄
pasted-code-1774010711293.txt
txt 298 lines
▶
👑 ASCENDRA SMP – FULL FINAL PLUGIN PROMPT
🔌 PLUGIN NAME

AscendraSMP

🎯 GOAL

Create a Minecraft 1.21+ PvP plugin that transforms gameplay into a class-based combat system with:

Classes (styles)

🔱 Lancer (Spear system)

5-level progression

Pre-game selection system

Skill system + HUD (above hotbar)

Default scaling passive

Custom INVENTORY GUI

Resource pack integration

🧬 1. CLASS SYSTEM
Classes:
Class	Weapon	Role
⚔️ Duelist	Sword	Fast combos
🔨 Macer	Mace	Heavy damage
🪓 Breaker	Axe	Armor break
🏹 Marksman	Bow	Ranged
💎 Arcane	Crystal	Magic
🌀 Adaptive	Any	Balanced
🔱 Lancer	Spear	Mid-range
🔱 2. LANCER SYSTEM (SPEAR)
Mechanics:
🗡️ Basic Attack

+1.5 block reach

Medium speed

🎯 Ability 1 – Piercing Throw

Right-click

Spear projectile

Returns after hit

Cooldown: 6s

Energy: 20

⚡ Ability 2 – Phantom Lunge

Shift + Right Click

Dash forward

Pierces enemies

🩸 Passive – Hemorrhage

Every 3 hits → bleed effect

☄️ Ultimate – Skyfall Impale

Spears fall in AoE

🚀 3. PRE-SELECTION SYSTEM
On First Join:

Open class selection INVENTORY GUI automatically

Player MUST select a class

Before Selection:

❌ No PvP
❌ No abilities
❌ Optional: no block breaking

Start Command:
/ascendra start

Ends selection phase

Enables gameplay

🏷️ 4. TAG SYSTEM
Format:
[LANCER] PlayerName
Colors:

Duelist → Blue

Macer → Red

Breaker → Orange

Marksman → Green

Arcane → Purple

Adaptive → Rainbow

Lancer → Cyan

📊 5. LEVEL SYSTEM (5 LEVELS)
Level	Name	Unlock
1	Novice	Weapon
2	Fighter	Ability 1
3	Elite	Passive
4	Champion	Ability 2
5	MASTER	Ultimate
XP Progression:
100 → 250 → 500 → 1000
Bonuses:

L2 → cooldown reduction

L3 → +damage

L4 → energy regen

L5 → aura + glow

🧬 6. DEFAULT PASSIVE SYSTEM
Passive Name: ASCENDANCE
Scaling:
Level	Effect
1	+2% damage
2	+5% damage + regen
3	+8% damage
4	+12% damage
5	+15% damage + lifesteal
🔋 7. ENERGY SYSTEM

Max: 100

Regenerates over time

Used for abilities

⚡ 8. SKILL SYSTEM

Each class has:

Ability 1

Ability 2

Passive

Ultimate

📊 9. SKILL SHOWER (HUD ABOVE HOTBAR)
Display:
[Q] Ability1   [R] Ability2   [F] Ultimate
States:

Ready → bright

Cooldown → grey

Locked → red

Implementation:

Use:

ActionBar OR BossBar

Update every few ticks

🎮 10. INVENTORY GUI SYSTEM
Command:
/ascendra
Menus:
📌 Class Select

Opens on join

Click to select

📊 Stats Menu

Shows:

Class

Level

XP

Passive

⚡ Skill Menu

Shows:

Abilities

Cooldowns

Unlock status

⚔️ 11. COMBAT SYSTEM

Includes:

Combo system

Critical hits

Headshots (bow + spear)

Kill effects

📦 12. CUSTOM ITEMS

Use CustomModelData:

1001 → Duelist  
2001 → Lancer Spear  
💾 13. DATA STORAGE

Store:

Player class

Level

XP

Mastery

Use:

YAML or SQLite

🔔 14. EVENTS

Handle:

PlayerJoinEvent → INVENTORY GUI

InventoryClickEvent → class select

EntityDamageByEntityEvent → combat

PlayerInteractEvent → abilities

ProjectileHitEvent → spear

🔊 15. SOUND SYSTEM

Custom sounds:

Hit

Skill use

Level up

Master unlock

🎨 16. RESOURCE PACK INTEGRATION

Plugin must:

Assign CustomModelData

Sync textures with level

Show INVENTORY GUI textures

Support HUD icons

⚙️ 17. PERFORMANCE

Async tasks

Optimized combat

No lag

🏁 FINAL RESULT

This plugin should feel like:

🎮 A custom PvP game
⚔️ Skill-based combat system
🔱 Unique spear gameplay
📊 Clear progression
💎 Professional server quality
Kodari AI
KodariMar 20 at 12:49 pm 38,389 (v2)

I’ll create a comprehensive class-based PvP plugin with the Lancer spear system, pre-selection GUI, skills, HUD, and progression system.

AscendraSMP
A feature-rich class-based PvP plugin for Minecraft 1.21+ featuring seven unique combat classes including the custom Lancer spear system. Players progress through five levels unlocking abilities, passives, and ultimates. Includes pre-game class selection GUI, energy system, skill HUD above hotbar, default Ascendance passive scaling, combat mechanics with combos and crits, custom items with CustomModelData, and persistent data storage.

Now I’ll build the complete plugin with all systems.

Now I’ll create all remaining files:

All files have been created! The AscendraSMP plugin is now complete with:

✅ 7 Classes - Duelist, Macer, Breaker, Marksman, Arcane, Adaptive, Lancer ✅ Lancer Spear System - PiercingThrow, PhantomLunge, SkyfallImpale abilities ✅ 5-Level Progression - Novice → Fighter → Elite → Champion → MASTER ✅ Pre-Selection GUI - Automatic class selection on first join ✅ Skill HUD - ActionBar display showing abilities, cooldowns, and energy ✅ Ascendance Passive - Scaling damage bonus with lifesteal at level 5 ✅ Energy System - 100 max energy with regeneration ✅ Combat System - Combos, crits, headshots, hemorrhage passive ✅ Tag System - Colored class tags in chat/tablist ✅ Custom Items - CustomModelData support for resource packs ✅ Data Persistence - YAML storage for player progress ✅ GUI System - Class selection, stats, and skills menus ✅ Commands - /ascendra with stats, skills, start, reload subcommands

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
32 1,928
src/main/java/com/ascendrasmp/AscendraSMP.java
package com.ascendrasmp;

import com.ascendrasmp.classes.ClassManager;
import com.ascendrasmp.combat.CombatListener;
import com.ascendrasmp.commands.AscendraCommand;
import com.ascendrasmp.config.ConfigManager;
import com.ascendrasmp.data.DataManager;
import com.ascendrasmp.energy.EnergyManager;
import com.ascendrasmp.hud.SkillHUD;
import com.ascendrasmp.inventory.gui.GUIListener;
import com.ascendrasmp.inventory.gui.GUIManager;
import com.ascendrasmp.items.ItemManager;
import com.ascendrasmp.level.LevelManager;
import com.ascendrasmp.passive.PassiveManager;
import com.ascendrasmp.preselection.PreSelectionListener;
import com.ascendrasmp.preselection.PreSelectionManager;
import com.ascendrasmp.skills.SkillManager;
import com.ascendrasmp.tag.TagManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class AscendraSMP extends JavaPlugin {
    
    private ConfigManager configManager;
    private DataManager dataManager;
    private ClassManager classManager;
    private LevelManager levelManager;
    private EnergyManager energyManager;
    private SkillManager skillManager;
    private GUIManager guiManager;
    private ItemManager itemManager;
    private PassiveManager passiveManager;
    private TagManager tagManager;
    private PreSelectionManager preSelectionManager;
    private SkillHUD skillHUD;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.dataManager = new DataManager(this);
        this.classManager = new ClassManager(this);
        this.levelManager = new LevelManager(this);
        this.energyManager = new EnergyManager(this);
        this.skillManager = new SkillManager(this);
        this.guiManager = new GUIManager();
        this.itemManager = new ItemManager(this);
        this.passiveManager = new PassiveManager(this);
        this.tagManager = new TagManager(this);
        this.preSelectionManager = new PreSelectionManager(this);
        this.skillHUD = new SkillHUD(this);
        
        dataManager.load();
        
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        Bukkit.getPluginManager().registerEvents(new CombatListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PreSelectionListener(this), this);
        
        getCommand("ascendra").setExecutor(new AscendraCommand(this));
        
        energyManager.startRegenTask();
        skillHUD.startHUDTask();
        
        getLogger().info("AscendraSMP has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (dataManager != null) {
            dataManager.save();
        }
        
        getLogger().info("AscendraSMP has been disabled!");
    }
}