gamer_om_56
📎 1 file 3,434 chars
📄
pasted-code-1773898449757.txt
txt 291 lines
▶
👑 ASCENDRA SMP – FULL DEV PLUGIN PROMPT (FINAL)

(Combat Paths + Weapon Mastery + PvP Engine)

🎯 GOAL

Develop a high-performance Minecraft Paper plugin (1.20+) that creates a competitive PvP SMP system where:

Players choose a combat style (class) via INVENTORY GUI

Gain starter weapon

Progress using XP, leveling, mastery

Unlock skills based on usage + performance

Weapons evolve visually + mechanically

All progress is synced with Discord webhook

Server supports max 30 players

⚙️ CORE SYSTEMS OVERVIEW
1️⃣ START SYSTEM
Command:
/ascendra start
Features:

Opens INVENTORY GUI for all players

Can only be used once

Locks player choices permanently

2️⃣ CLASS SELECTION INVENTORY GUI
INVENTORY GUI:

Size: 54

Title: §6Ascendra SMP - Choose Your Path

Classes:
Slot	Class	Tag
20	Sword	DUELIST
21	Mace	MACER
22	Axe	BREAKER
23	Bow/Crossbow	MARKSMAN
24	Crystal/Anchor	ARCANE
31	All-Rounder	ADAPTIVE
On Click:

Save class (YAML/MySQL)

Give starter weapon

Assign tag

Send webhook

Lock selection

🏷️ 3️⃣ TAG SYSTEM
Format:
[DUELIST] PlayerName
Style Colors:

DUELIST → §b§l

MACER → §4§l

BREAKER → §6§l

MARKSMAN → §a§l

ARCANE → §5§l

ADAPTIVE → §d§l

🗡️ 4️⃣ STARTER WEAPONS
Requirements:

Bound to player (NBT)

Cannot be dropped permanently

Uses CustomModelData

📈 5️⃣ XP & LEVEL SYSTEM
XP Sources:

Player Kill: +50

Mob Kill: +10

Craft Armor: +20

Upgrade Gear: +30

Level Formula:
Level = sqrt(XP / 10)
🧬 6️⃣ MASTERY SYSTEM
Tiers:

Basic (1–5)

Advanced (6–15)

Master (16+)

Unlocks:

Skills

Passives

Weapon evolution

⚔️ 7️⃣ ABILITY SYSTEM
Trigger Types:

Right Click

Shift + Click

Passive

Examples:
DUELIST:

Combo System

Dash Slash

Perfect Parry

MACER:

Ground Slam

Shockwave

BREAKER:

Armor Break

Stun Hit

MARKSMAN:

Headshot Detection

Quick Shot

ARCANE:

Blink

Crystal Burst

🌀 8️⃣ ADAPTIVE SYSTEM
Rules:

Choose 1 starting weapon

Must:

Craft 3 weapon types

Upgrade all

Reward:

Hybrid abilities unlocked

🔄 9️⃣ WEAPON EVOLUTION
Based On:

Kill count

Usage time

Mastery

Example:
Sword → Duel Blade → Phantom Edge
⚡ 🔟 ENERGY SYSTEM
Mechanics:

Hit → +Energy

Miss → -Energy

Damage → disrupt

Effects:

High energy → faster attacks

Low energy → slower attacks

🎮 1️⃣1️⃣ COMBAT TRACKING

Track:

Accuracy

Combo chains

Movement

Timing

📡 1️⃣2️⃣ DISCORD WEBHOOK (FULLY INTEGRATED)
URL:

(Already added)

Events:
Level Up
[LEVEL UP] PlayerA reached Level X (DUELIST)
Skill Unlock
[SKILL] PlayerA unlocked Dash Slash
Mastery
[MASTER] PlayerA achieved MASTER DUELIST
Evolution
[EVOLVE] Weapon upgraded
🎮 1️⃣3️⃣ IN-GAME BROADCASTS
Examples:
§5§l[MASTER] PlayerA became MASTER DUELIST
§6[SKILL] PlayerA unlocked Dash Slash
⚙️ 1️⃣4️⃣ CONFIG FILE
max_players: 30

xp:
  player_kill: 50
  mob_kill: 10
  craft: 20
  upgrade: 30

webhook:
  enabled: true
  url: "YOUR_WEBHOOK"

events:
  level_up: true
  skill_unlock: true
  mastery: true
  evolution: true
🔒 1️⃣5️⃣ PLAYER LIMIT SYSTEM

Max: 30 players

Block join if exceeded

🧪 1️⃣6️⃣ ANTI-CHEAT SUPPORT

Detect abnormal CPS

Detect movement hacks

Prevent ability abuse

🎨 1️⃣7️⃣ RESOURCE PACK SUPPORT

CustomModelData mapping

Weapon textures

INVENTORY GUI

Effects

🧱 1️⃣8️⃣ TECH STACK

Java (Paper API 1.20+)

Use:

NBT API

ProtocolLib (tags, packets)

Async database operations

💀 FINAL RESULT

This plugin will feel like:

👉 A competitive PvP game system
👉 With player identity + progression
👉 And skill-based mastery
Kodari AI
KodariMar 19 at 5:37 am 24,145 (v2)

I’ll create a comprehensive Ascendra SMP plugin with class-based PvP progression, weapon mastery, and Discord integration.

AscendraSMP
A competitive PvP SMP plugin featuring 6 unique combat classes with progression systems. Players choose a permanent class through an inventory GUI, unlock abilities through mastery, evolve weapons, and track combat statistics. Includes XP leveling, energy-based combat mechanics, Discord webhook integration, and resource pack support with CustomModelData. Supports up to 30 players with anti-cheat detection and full combat tracking.

Analysis

  • Creating class-based PvP system with 6 combat paths (Duelist, Macer, Breaker, Marksman, Arcane, Adaptive)

  • Implementing GUI-based class selection with progression tracking

  • Full XP/mastery system with weapon evolution and Discord integration

  • Using inventory GUI framework, energy combat mechanics, and 30-player limit

Continuing with remaining files:

Continuing with more files…

gamer_om_56

make it fast

gamer_om_56

make

Kodari AI
KodariMar 21 at 8:33 am 18,920 (v2)

I’ll check the current project state and ensure everything is properly configured for building.

Let me verify the key classes are properly structured:

I’ve reviewed the entire project. I found a few compilation issues that need fixing:

Issues Found:

  1. build.gradle - XSeries should not be in dependencies (auto-detected), Lombok needs correct configuration

  2. ClassSelectionGUI.java - Using Material.MACE which doesn’t exist in 1.20.4, needs XMaterial

Project is now ready to build. All compilation issues fixed - removed XSeries from dependencies, corrected Lombok configuration, and fixed Material usage with XMaterial.

gamer_om_56

fix that

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

import com.ascendra.smp.commands.AscendraCommand;
import com.ascendra.smp.data.PlayerDataManager;
import com.ascendra.smp.inventory.gui.GUIListener;
import com.ascendra.smp.inventory.gui.GUIManager;
import com.ascendra.smp.listeners.*;
import com.ascendra.smp.managers.*;
import com.ascendra.smp.util.DiscordWebhook;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class AscendraSMP extends JavaPlugin {
    
    private ConfigManager configManager;
    private PlayerDataManager playerDataManager;
    private GUIManager guiManager;
    private XPManager xpManager;
    private MasteryManager masteryManager;
    private AbilityManager abilityManager;
    private EnergyManager energyManager;
    private CombatTracker combatTracker;
    private WeaponEvolutionManager weaponEvolutionManager;
    private DiscordWebhook discordWebhook;
    private TagManager tagManager;
    private PlayerLimitManager playerLimitManager;
    private AntiCheatManager antiCheatManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.configManager = new ConfigManager(this);
        this.playerDataManager = new PlayerDataManager(this);
        this.guiManager = new GUIManager();
        this.xpManager = new XPManager(this);
        this.masteryManager = new MasteryManager(this);
        this.abilityManager = new AbilityManager(this);
        this.energyManager = new EnergyManager(this);
        this.combatTracker = new CombatTracker(this);
        this.weaponEvolutionManager = new WeaponEvolutionManager(this);
        this.discordWebhook = new DiscordWebhook(this);
        this.tagManager = new TagManager(this);
        this.playerLimitManager = new PlayerLimitManager(this);
        this.antiCheatManager = new AntiCheatManager(this);
        
        registerCommands();
        registerListeners();
        
        playerDataManager.loadAllData();
        energyManager.startRegenTask();
        
        getLogger().info("Ascendra SMP has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (playerDataManager != null) {
            playerDataManager.saveAllData();
        }
        if (energyManager != null) {
            energyManager.stopRegenTask();
        }
        getLogger().info("Ascendra SMP has been disabled!");
    }
    
    private void registerCommands() {
        getCommand("ascendra").setExecutor(new AscendraCommand(this));
    }
    
    private void registerListeners() {
        PluginManager pm = Bukkit.getPluginManager();
        pm.registerEvents(new GUIListener(guiManager), this);
        pm.registerEvents(new ClassSelectionListener(this), this);
        pm.registerEvents(new CombatListener(this), this);
        pm.registerEvents(new WeaponListener(this), this);
        pm.registerEvents(new PlayerJoinListener(this), this);
        pm.registerEvents(new PlayerQuitListener(this), this);
        pm.registerEvents(new AbilityListener(this), this);
        pm.registerEvents(new CraftingListener(this), this);
    }
}