soulkiller_xd
๐Ÿ“Ž 1 file 1,336 chars
๐Ÿ“„
pasted-code-1784732147828.txt
txt 22 lines
โ–ถ
This is a single Minecraft plugin project called AbilityCore.

I will send multiple specification prompts because the project is too large to fit into one message.

Important Instructions:

- Treat every prompt as a continuation of the same project.
- Never overwrite, remove, simplify, or redesign features from previous prompts unless explicitly instructed.
- Always keep every previous requirement in memory while implementing new ones.
- If new systems require changes to previous code, refactor the existing code while maintaining backward compatibility.
- Build one clean, production-ready codebase instead of separate examples.
- Do not generate placeholder implementations unless absolutely necessary.
- Use professional Java architecture, SOLID principles, Paper API, Gradle, Java 21, and modular package structure.
- Keep every system configurable through YAML.
- Preserve compatibility between all abilities, INVENTORY GUI, progression, rituals, cooldowns, database, commands, and future prompts.
- Never skip features due to complexity. If a feature requires multiple classes, create them.
- Assume later prompts may reference earlier systems, so keep the entire project consistent.

Do not summarize my prompts. Implement them exactly as described.

Reply only with:
"Ready for the next specification."
Kodari AI
KodariJul 22 at 2:55 pm 1

Ready for the next specification.

soulkiller_xd

prompt 1

๐Ÿ“Ž 1 file 4,696 chars
๐Ÿ“„
pasted-code-1784732200747.txt
txt 339 lines
โ–ถ
# AbilityCore Plugin - Core Specification (Part 1)

Create a premium-quality Minecraft plugin called **AbilityCore** for **PaperMC**.

This plugin adds a complete RPG-style ability system centered around collectible and upgradeable abilities.

## Platform

Requirements:

- Java 21
- Paper API
- Gradle
- Paper 1.20.xโ€“1.21.x
- Purpur compatible
- Spigot compatible where possible
- Avoid NMS whenever possible
- Modular architecture
- Production-ready code

---

# Main Ability System

There are **9 unique abilities**:

- ๐Ÿ”ฅ Fire
- ๐ŸŒŠ Water
- ๐ŸŒช Air
- ๐Ÿ’ช Strength
- ๐Ÿ€ Luck
- โšก Blitz
- ๐Ÿƒ Velocity
- โšก Lightning
- ๐ŸŒˆ Omni (Legendary)

Each ability is represented by a **custom Nether Star**.

Each Nether Star contains:

- Custom display name
- Custom lore
- Custom model data support
- Glow effect
- Ability ID
- Owner UUID
- Ability Level
- Ability Progress
- Persistent Data Container tags

Only one ability can be equipped at a time.

---

# Crafting

Every ability has its own completely unique crafting recipe.

Requirements:

- Configurable recipes
- Recipes stored inside YAML
- Bukkit NamespacedKey
- Survival-friendly recipes
- No conflicts with vanilla recipes

Every ability can only be crafted **once per player**.

If the player already owns that ability:

Cancel crafting.

Display:

"You have already unlocked this ability."

---

# Permanent Unlock System

Once crafted:

Save permanently:

- UUID
- Ability
- Unlock Date
- Current Level
- Progress
- Statistics

Player data must survive:

- Restarts
- Reloads
- Crashes

---

# Ability Ownership

Abilities belong only to their owner.

If another player attempts to equip someone else's Ability Star:

Cancel the action.

Display:

"This ability belongs to another player."

---

# Equip System

Players equip an ability by:

Holding the Ability Nether Star

Right-clicking.

If no ability is equipped:

- Consume the Nether Star
- Equip the ability
- Enable passives
- Unlock available skills
- Save active ability

If another ability is already equipped:

Cancel.

Display:

"You already have an active ability. Withdraw it first."

Only one active ability is allowed.

---

# Withdraw System

Players can withdraw their equipped ability using:

/ability withdraw

The plugin recreates the player's Ability Nether Star while preserving:

- UUID
- Ability
- Level
- Progress
- Lore
- Display Name
- Model Data
- Metadata

Only the owner may use the withdrawn Ability Star.

---

# Ability INVENTORY GUI

Command:

/ability

Create a polished INVENTORY GUI showing:

- Equipped Ability
- Ability Icon
- Description
- Current Level
- Orb Progress
- Upgrade Status
- Player Statistics
- Withdraw Button
- Decorative Borders

Use custom icons and colored glass panes.

---

# Sidebar

Create a live sidebar showing:

- Player Name
- Equipped Ability
- Ability Level
- Orb Progress
- Kills
- Deaths
- KDR
- Active Skill Cooldowns

Sidebar colors:

Fire โ†’ Red

Water โ†’ Blue

Air โ†’ White

Strength โ†’ Dark Red

Luck โ†’ Gold

Velocity โ†’ Green

Lightning โ†’ Yellow

Blitz โ†’ Purple

Omni โ†’ Animated Rainbow

---

# ActionBar

Display:

- Active Ability
- Cooldowns
- Buffs
- Skill Ready Messages

---

# BossBars

Support BossBars for:

- Ritual Progress
- Ultimate Skills
- Ability Cooldowns
- Special Events

---

# Commands

Player:

/ability

/ability withdraw

/ability stats

/ability info

/ability help

Administrator:

/ability give

/ability reset

/ability orb

/ability reload

/ability debug

---

# Permissions

Create permissions for every command and admin action.

---

# Database

Support:

- YAML
- SQLite
- MySQL

Database type should be configurable.

Store:

- UUID
- Ability
- Level
- Progress
- Orbs
- Kills
- Deaths
- KDR
- Playtime
- Unlock Date
- Equipped Ability
- Cooldowns

---

# Configuration

Everything must be configurable:

- Recipes
- Messages
- Sounds
- Particles
- Cooldowns
- INVENTORY GUI
- Sidebar
- BossBars
- Permissions
- Colors
- Lore
- Ability Values

No hardcoded values.

---

# Architecture

Use a modular structure including managers such as:

- AbilityManager
- PlayerManager
- GUIManager
- RecipeManager
- DatabaseManager
- CooldownManager
- SidebarManager
- ConfigManager

Separate commands, listeners, utilities, and services into their own packages.

The plugin should be optimized for multiplayer servers and designed for easy future expansion.
Kodari AI
KodariJul 22 at 2:58 pm 1

Iโ€™ll create the AbilityCore plugin โ€” a complete RPG ability system with 9 unique abilities. Let me build everything from scratch.

AbilityCore
A premium PaperMC RPG ability system with 9 unique collectible and upgradeable abilities. Features include ability crafting with unique recipes, equip/withdraw system, persistent player data, inventory GUI, live scoreboard sidebar with ability-colored themes, ActionBar status, BossBar support, database storage (YAML/SQLite/MySQL), cooldown tracking, and full administrative commands. Modular architecture with managers for abilities, players, recipes, cooldowns, and configuration.

Starting with build system and resource files:

Now Iโ€™ll create the full AbilityCore plugin. Let me start with the build system and resource files.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code