darksoul8094

Minecraft AbilityCraft — Complete Plugin Development Prompt

Create a complete, production-ready Minecraft Java Edition plugin called AbilityCraft.

The plugin is a progression-based Ability Tools, Weapons, Mace, Elytra & Armor system where players obtain special items through crafting and level them up by using them.

---

  1. PLATFORM

Target:

  • Minecraft Java Edition
  • Paper
  • Java 21
  • Modern Minecraft versions supported by the selected Paper API
  • No client-side mod required
  • No resource pack required

Use vanilla Minecraft materials, items, particles, sounds and crafting mechanics wherever possible.

---

  1. CORE CONCEPT

Create special Ability Items.

Each Ability Item must have:

  • Unique crafting recipe
  • Unique internal Ability ID
  • Unique ability
  • Level 1
  • Level 2
  • Level 3 MAX
  • Progression system
  • Ability-specific level-up target
  • Unique particle effect
  • Appropriate sound
  • Custom name
  • Custom lore
  • Persistent data

IMPORTANT

Normal players must obtain Ability Items through crafting.

Do NOT provide normal players with commands to obtain Ability Items.

Admin commands are allowed only for administration/testing.

---

  1. ITEM IDENTITY

Never identify an Ability Item only by its display name or lore.

Use:

"PersistentDataContainer"

with a unique "NamespacedKey".

Example:

"abilitycraft:item_id = thunder_pickaxe"

Also store required progression information safely.

The item must remain recognized after:

  • Anvil rename
  • Enchanting
  • Inventory movement
  • Dropping
  • Picking up
  • Server restart
  • Player logout/login

Players must not be able to create fake Ability Items simply by copying the item's name or lore.

---

  1. LEVEL SYSTEM

Every Ability Item has exactly 3 levels:

Level 1 → Level 2 → Level 3 MAX

Each item has its own progression objective.

Examples:

  • Pickaxe → ores/blocks mined
  • Axe → damage dealt/mobs killed
  • Shovel → blocks dug
  • Hoe → crops harvested
  • Sword → enemies killed/damage dealt
  • Bow → successful arrow hits
  • Mace → successful mace/smash hits
  • Elytra → blocks travelled while flying
  • Boots → distance travelled/jumps
  • Chestplate → damage received/absorbed
  • Helmet → time worn

Do not use a generic XP system for every item.

---

  1. LEVEL-UP BEHAVIOR

When the required target is completed:

  1. Increase item level.
  2. Update ability power.
  3. Update item lore.
  4. Show a level-up message.
  5. Play a level-up sound.
  6. Spawn a special particle burst.
  7. Show the new level through ActionBar or chat.

Example:

"⚡ LEVEL UP!"

"Thunder Pickaxe → Level 2"

At Level 3:

"⚡ MAX LEVEL REACHED!"

Once Level 3 is reached:

  • No further progression.
  • Level cannot exceed 3.
  • Display "MAX LEVEL".

---

  1. ITEM LORE

Example:

⚡ Thunder Pickaxe

Ability: Thunder Strike Level: 2/3

Progress: 347 / 500 Ores

Current Power: 15% Lightning Chance

Next Level:

Mine 153 more ores

At Level 3:

⚡ Thunder Pickaxe

Ability: Thunder Strike Level: 3/3

MAX LEVEL

Current Power: 25% Lightning Chance

Do not update lore every tick.

Only update when progress/level changes or at a reasonable interval.

---

  1. PARTICLE SYSTEM

Every Ability Item must have a unique themed particle effect.

Examples:

Thunder: "ELECTRIC_SPARK"

Fire: "FLAME" "LAVA"

Void: "PORTAL" "REVERSE_PORTAL"

Frost: "SNOWFLAKE"

Nature: "HAPPY_VILLAGER"

Wind: "CLOUD" "GUST"

Soul: "SOUL" "SOUL_FIRE_FLAME"

Ender: "PORTAL"

Solar: "END_ROD"

Particles must become stronger at higher levels.

Level 1:

Small effect

Level 2:

Medium effect

Level 3:

Strong effect

Make particle settings configurable:

  • Amount
  • Interval
  • Radius
  • Enabled/disabled

Never create excessive particles that cause server lag.

---

  1. ABILITY TOOLS
  1. Thunder Pickaxe

Recipe:

Diamond Pickaxe + Lightning Rod + Amethyst Shard

Level 1: 8% chance for lightning effect while mining ores.

Level 2: 15% chance + stronger effect.

Level 3: 25% chance + controlled AoE lightning damage.

Particle:

ELECTRIC_SPARK

Progress: 100 → 500 → 1500 ores mined

---

  1. Inferno Pickaxe

Recipe:

Diamond Pickaxe + Blaze Rod + Magma Cream

Level 1: 10% auto-smelt chance.

Level 2: 20%.

Level 3: 35% + fire effect.

Particle:

FLAME / LAVA

Progress: 250 → 1000 → 3000 blocks mined

---

  1. Void Pickaxe

Recipe:

Netherite Pickaxe + Echo Shard + Obsidian

Level 1: 5% chance to automatically collect mined drops.

Level 2: 12%.

Level 3: 20% + stronger magnet effect.

Particle:

PORTAL / REVERSE_PORTAL

Progress: 500 → 2000 → 5000 blocks mined

---

  1. Gale Axe

Recipe:

Diamond Axe + Breeze Rod + Feather

Level 1:

Small knockback.

Level 2:

Stronger knockback.

Level 3:

AoE wind burst.

Particle:

CLOUD / GUST

Progress: 100 → 500 → 1500 mobs hit

---

  1. Vampire Axe

Recipe:

Netherite Axe + Ghast Tear + Crimson Fungus

Level 1: 3% lifesteal.

Level 2: 6%.

Level 3: 10% + regeneration after kills.

Particle:

HEART / DAMAGE_INDICATOR

Progress: 1000 → 5000 → 15000 damage dealt

---

  1. Frost Axe

Recipe:

Diamond Axe + Packed Ice + Snowball

Level 1: 1 second Slowness.

Level 2: 2 seconds.

Level 3: 3 seconds + freeze chance.

Particle:

SNOWFLAKE

Progress: 100 → 400 → 1000 mobs hit

---

  1. Wind Shovel

Recipe:

Diamond Shovel + Feather + Breeze Rod

Level 1:

Digging gives a small speed burst.

Level 2:

Stronger speed burst.

Level 3:

Small wind wave.

Particle:

CLOUD / GUST

Progress: 250 → 1000 → 3000 blocks dug

---

  1. Magma Shovel

Recipe:

Netherite Shovel + Magma Cream + Nether Brick

Level 1:

Improved sand/gravel digging.

Level 2: 10% auto-smelt chance where applicable.

Level 3: 20% + fire effect.

Particle:

LAVA / FLAME

Progress: 300 → 1200 → 3500 blocks dug

---

  1. Nature Hoe

Recipe:

Diamond Hoe + Moss Block + Bone Meal

Level 1: 5% bonus crop chance.

Level 2: 12%.

Level 3: 20% + nearby crop growth.

Particle:

HAPPY_VILLAGER / COMPOSTER

Progress: 100 → 500 → 2000 crops harvested

---

  1. Storm Hoe

Recipe:

Netherite Hoe + Copper Block + Amethyst

Level 1:

Electric harvest effect.

Level 2: 10% bonus crop chance.

Level 3: 20% bonus crop chance + lightning effect.

Particle:

ELECTRIC_SPARK

Progress: 200 → 750 → 2500 crops harvested

---

  1. SPECIAL WEAPONS
  1. Shadow Sword

Recipe:

Netherite Sword + Echo Shard + Phantom Membrane

Level 1:

Sneak + Right Click → short invisibility.

Level 2:

Longer invisibility + Speed.

Level 3:

Shadow Dash + invisibility.

Particle:

SMOKE / PORTAL

Progress: 25 → 100 → 300 enemies killed

---

  1. Thunder Sword

Recipe:

Netherite Sword + Lightning Rod + Copper Block

Level 1: 5% lightning chance.

Level 2: 10%.

Level 3: 18% + AoE lightning.

Particle:

ELECTRIC_SPARK

Progress: 25 → 100 → 300 mobs killed

---

  1. Inferno Sword

Recipe:

Diamond Sword + Blaze Rod + Magma Cream

Level 1: 2-second fire.

Level 2: 4-second fire.

Level 3: 6-second fire + AoE.

Particle:

FLAME / LAVA

Progress: 1000 → 5000 → 15000 damage dealt

---

  1. Frost Sword

Recipe:

Diamond Sword + Blue Ice + Prismarine Crystal

Level 1:

Slowness I.

Level 2:

Slowness II.

Level 3:

Slowness + freeze chance.

Particle:

SNOWFLAKE

Progress: 100 → 500 → 1500 enemies hit

---

  1. Soul Reaper

Recipe:

Netherite Sword + Soul Sand + Wither Skeleton Skull

Level 1: 10% kill chance for temporary Strength.

Level 2: 20%.

Level 3: 30% + Soul particle burst.

Particle:

SOUL / SOUL_FIRE_FLAME

Progress: 50 → 200 → 500 hostile mobs killed

---

  1. Cyclone Bow

Recipe:

Bow + Breeze Rod + Feather

Level 1:

Arrow hit → knockback.

Level 2:

Stronger knockback.

Level 3:

AoE wind burst.

Particle:

CLOUD / GUST

Progress: 50 → 250 → 750 successful hits

---

  1. Venom Bow

Recipe:

Bow + Spider Eye + Fermented Spider Eye

Level 1:

Poison I.

Level 2:

Poison II.

Level 3:

Longer Poison II.

Particle:

SPELL_MOB_AMBIENT

Progress: 50 → 200 → 600 successful hits

---

  1. Ender Bow

Recipe:

Bow + Ender Pearl + Eye of Ender

Level 1: 5% teleport effect.

Level 2: 10%.

Level 3: 15% + Ender Dash.

Particle:

PORTAL

Progress: 50 → 250 → 750 successful hits

---

  1. MACE ABILITIES
  1. Gravity Mace

Recipe:

Vanilla Mace + Heavy Core + Echo Shard + Obsidian

Level 1:

Successful mace hit creates extra knockback.

Level 2:

Stronger knockback + small gravity pull.

Level 3:

Powerful gravity burst on smash attack + controlled AoE damage.

Particle:

REVERSE_PORTAL / END_ROD

Progress: 50 → 200 → 500 successful mace hits

Add a configurable cooldown.

---

  1. Meteor Mace

Recipe:

Mace + Nether Star + Blaze Rod + Fire Charge

Level 1:

Smash attack creates small flame impact.

Level 2:

Larger impact + additional fire damage.

Level 3:

Meteor-style controlled AoE impact.

Particle:

FLAME / LAVA / EXPLOSION

Progress: 50 → 200 → 500 successful smash attacks

IMPORTANT:

Do not destroy terrain by default.

Do not create uncontrolled explosions.

---

  1. ABILITY ELYTRA
  1. Storm Elytra

Recipe:

Elytra + Lightning Rod + Amethyst Shard + Copper Block

Level 1:

Electric particle trail while flying.

Level 2:

Improved flight acceleration + landing electric effect.

Level 3:

Powerful electric aura + controlled lightning landing effect.

Particle:

ELECTRIC_SPARK / END_ROD

Progress: 2000 → 7500 blocks flown

Add cooldown to landing ability.

---

  1. Void Elytra

Recipe:

Elytra + Echo Shard + Ender Pearl + Obsidian

Level 1:

Portal particle trail.

Level 2:

Improved flight control + small dash chance.

Level 3:

Controlled mid-air dash + portal burst.

Particle:

PORTAL / REVERSE_PORTAL

Progress: 2000 → 7500 blocks flown

---

  1. Inferno Elytra

Recipe:

Elytra + Blaze Rod + Fire Charge + Magma Cream

Level 1:

Fire particle trail.

Level 2:

Stronger fire trail.

Level 3:

Powerful flame trail + controlled landing fire burst.

Particle:

FLAME / LAVA

Progress: 2000 → 7500 blocks flown

Do not grief terrain by default.

---

  1. ABILITY ARMOR
  1. Thunder Helmet

Recipe:

Diamond Helmet + Lightning Rod + Amethyst

Level 1:

Night Vision.

Level 2:

Night Vision + Speed.

Level 3:

Night Vision + Speed + storm lightning aura.

Particle:

ELECTRIC_SPARK

Progress: 10 → 30 → 90 minutes worn

---

  1. Inferno Chestplate

Recipe:

Netherite Chestplate + Blaze Rod + Magma Block

Level 1:

Fire Resistance.

Level 2:

Fire Resistance + weak Fire Aura.

Level 3:

Fire Resistance + strong Fire Aura.

Particle:

FLAME / LAVA

Progress: 500 → 2000 → 5000 fire/lava damage survived

---

  1. Shadow Chestplate

Recipe:

Netherite Chestplate + Echo Shard + Phantom Membrane

Level 1:

Sneaking gives short invisibility.

Level 2:

Longer invisibility.

Level 3:

Invisibility + Speed while sneaking.

Particle:

SMOKE

Progress: 5 → 20 → 60 minutes sneaking

---

  1. Titan Chestplate

Recipe:

Netherite Chestplate + Iron Block + Obsidian

Level 1:

Resistance I.

Level 2:

Resistance I + Knockback Resistance.

Level 3:

Resistance II.

Particle:

BLOCK_CRACK

Progress: 1000 → 5000 → 15000 damage received

---

  1. Nature Helmet

Recipe:

Diamond Helmet + Moss Block + Glow Berries

Level 1:

Small regeneration.

Level 2:

Stronger regeneration.

Level 3:

Regeneration + Saturation.

Particle:

HAPPY_VILLAGER / FALLING_SPORE_BLOSSOM

Progress: 100 → 500 → 1500 crop/nature interactions

---

  1. Frost Chestplate

Recipe:

Diamond Chestplate + Blue Ice + Snow Block

Level 1:

Powder Snow immunity.

Level 2:

Nearby enemies receive Slowness.

Level 3:

Strong Frost Aura + freeze chance.

Particle:

SNOWFLAKE

Progress: 500 → 2000 → 5000 blocks travelled on snow/ice

---

  1. Wind Leggings

Recipe:

Diamond Leggings + Feather + Breeze Rod

Level 1:

Speed I.

Level 2:

Speed II.

Level 3:

Speed II + reduced fall damage.

Particle:

CLOUD / GUST

Progress: 1000 → 5000 → 15000 blocks travelled

---

  1. Angel Boots

Recipe:

Diamond Boots + Feather + Phantom Membrane + Glowstone

Level 1:

Jump Boost I.

Level 2:

Jump Boost II + reduced fall damage.

Level 3:

Double Jump.

Particle:

END_ROD / CLOUD

Progress: 100 → 500 → 1500 jumps

---

  1. Void Boots

Recipe:

Netherite Boots + Ender Pearl + Obsidian + Echo Shard

Level 1:

Short teleport.

Level 2:

Longer teleport.

Level 3:

Teleport + short cooldown dash.

Particle:

PORTAL / REVERSE_PORTAL

Progress: 1000 → 5000 → 15000 blocks travelled

---

  1. Vampire Leggings

Recipe:

Netherite Leggings + Ghast Tear + Red Mushroom

Level 1:

Mob kill → small regeneration.

Level 2:

Stronger regeneration.

Level 3:

Mob kill → Regeneration + Strength.

Particle:

HEART / DAMAGE_INDICATOR

Progress: 50 → 250 → 750 hostile mobs killed

---

  1. FULL ARMOR SET BONUSES

Implement set detection.

If a player wears all 4 pieces of a compatible Ability Armor Set, activate a Full Set Bonus.

Storm Set

  • Speed
  • Lightning particle aura
  • Storm effects
  • Level 3 → periodic controlled AoE lightning

Inferno Set

  • Fire Resistance
  • Lava immunity
  • Fire Aura
  • Level 3 → Flame Burst

Shadow Set

  • Sneak invisibility
  • Shadow Dash
  • Speed
  • Level 3 → improved dash

Frost Set

  • Ice walking
  • Frost Aura
  • Slowness
  • Level 3 → freeze chance

Nature Set

  • Regeneration
  • Saturation
  • Crop growth bonus
  • Level 3 → nearby crops automatically grow

Set bonuses must only activate when the required complete set is equipped.

---

  1. ADMIN COMMANDS

Create:

"/ability give <player> <item> [level]"

"/ability list"

"/ability info <item>"

"/ability level <player> <item> <1-3>"

"/ability reset <player> <item>"

"/ability reload"

Permission:

"abilitycraft.admin"

Only admins/players with the permission can use these commands.

Normal players must NOT have a command to obtain Ability Items.

---

  1. CONFIGURATION

Create a clean "config.yml".

Allow configuration of:

  • Ability damage
  • Ability chance
  • Ability cooldown
  • Level requirements
  • Particle amount
  • Particle interval
  • Particle radius
  • Sounds
  • Messages
  • Recipes
  • Set bonuses
  • Enabled/disabled abilities
  • Disabled worlds
  • Debug mode

Example:

particles: enabled: true interval: 5 amount: 5

abilities: thunder_pickaxe: enabled: true level_1_chance: 0.08 level_2_chance: 0.15 level_3_chance: 0.25

---

  1. COOLDOWN SYSTEM

Abilities that can be abused must have cooldowns.

Prevent:

  • Teleport spam
  • Lightning spam
  • AoE spam
  • Double-jump spam
  • Elytra dash spam
  • Excessive regeneration
  • Excessive particles

Display cooldown through ActionBar.

Example:

"⚡ Thunder Strike: READY"

or

"⚡ Thunder Strike: 4.2s"

Cooldowns must be configurable.

---

  1. DATA PERSISTENCE

Progression must survive:

  • Server restart
  • Player logout/login
  • Item drop
  • Item pickup
  • Inventory movement

Use:

  • PersistentDataContainer for item identity
  • Safe persistent storage for progression if required

Multiple Ability Items must be able to exist simultaneously.

Do not store progression only by player UUID because one player may own multiple copies of the same Ability Item.

---

  1. MULTI-VERSION SUPPORT

The plugin must use a version-adapter architecture.

Keep the core plugin version-independent.

Create something similar to:

common/ version/ v1_xx_x/ v1_xx_x/

Use a common interface such as:

"AbilityVersionAdapter"

Example methods:

  • "createAbilityItem()"
  • "registerRecipes()"
  • "spawnParticles()"
  • "isMaterialSupported()"
  • "isParticleSupported()"
  • "isFeatureSupported()"
  • "applyVersionSpecificEffect()"

The plugin automatically detects the server version and selects the appropriate adapter.

---

  1. IMPORTANT VERSION RULE

Do NOT pretend that newer Minecraft features exist on older versions.

For example:

  • Mace requires a Minecraft version where Mace exists.
  • Heavy Core requires its corresponding version.
  • Breeze Rod requires its corresponding version.
  • New particles must not be referenced on versions that do not support them.

If an Ability Item requires an unavailable vanilla feature:

  1. Do not register its recipe.
  2. Disable only that specific Ability Item.
  3. Keep the rest of the plugin running.
  4. Log a clear message.

Example:

"[AbilityCraft] Meteor Mace disabled: required material is unavailable on this Minecraft version."

Never crash the server because of version incompatibility.

---

  1. NMS RULE

Avoid NMS whenever possible.

Prefer:

  • Paper API
  • Bukkit API
  • Adventure API
  • PersistentDataContainer
  • NamespacedKey
  • Modern Paper events

If NMS is absolutely required for a version-specific feature:

  • Put it only inside the relevant version adapter.
  • Never expose NMS code to the core system.

---

  1. ELYTRA PERFORMANCE

Elytra particles must not run excessively.

Do NOT create expensive particle tasks for every player every tick.

Use configurable intervals.

Disable Elytra abilities when:

  • Player is dead
  • Player is spectator
  • Player is in a disabled world
  • Ability is on cooldown

---

  1. WORLD CONFIGURATION

Allow admins to disable AbilityCraft in specific worlds.

Example:

disabled-worlds: - world_pvp_disabled - event_world

No ability should activate in disabled worlds.

---

  1. PERFORMANCE REQUIREMENTS

Optimize the plugin for multiplayer.

Do not:

  • Scan all players every tick
  • Create huge particle counts
  • Perform unnecessary database writes
  • Use expensive synchronous operations unnecessarily
  • Run unnecessary repeating tasks

Prefer event-driven logic.

Clean up:

  • Cooldowns
  • Temporary effects
  • Cached data
  • Player references

when they are no longer required.

---

  1. ERROR HANDLING

Gracefully handle:

  • Invalid Ability ID
  • Invalid command
  • Missing configuration
  • Invalid recipe
  • Unsupported material
  • Unsupported particle
  • Corrupted progression
  • Offline player
  • Reload errors

Never crash the server because of an Ability Item.

Log useful information to console.

---

  1. PROJECT STRUCTURE

Use clean modular architecture.

Example:

src/main/java/ abilitycraft/ AbilityCraft.java

ability/ Ability.java AbilityManager.java ThunderAbility.java FireAbility.java VoidAbility.java ...

item/ AbilityItem.java AbilityItemManager.java

progression/ ProgressionManager.java LevelManager.java

recipe/ RecipeManager.java

armor/ ArmorManager.java SetBonusManager.java

weapon/ WeaponManager.java

particle/ ParticleManager.java

command/ AbilityCommand.java

listener/ MiningListener.java CombatListener.java ArmorListener.java ElytraListener.java ProgressionListener.java

storage/ DataManager.java

config/ ConfigManager.java

version/ AbilityVersionAdapter.java ...

util/ CooldownManager.java ItemUtil.java

Keep each ability modular.

Do NOT create one enormous Java class containing the entire plugin.

---

  1. FINAL QUALITY REQUIREMENTS

Do NOT provide pseudocode.

Do NOT leave TODOs.

Do NOT leave placeholder methods.

Do NOT provide fake implementations.

Create the actual working source code.

Every:

  • Ability
  • Recipe
  • Command
  • Level system
  • Particle effect
  • Progression target
  • Cooldown
  • Item identity
  • Data persistence
  • Armor set bonus
  • Mace ability
  • Elytra ability

must actually work.

Before finalizing the project, verify:

  1. Imports are correct.
  2. No deprecated/broken API is unnecessarily used.
  3. Recipes register correctly.
  4. Commands work.
  5. Permissions work.
  6. PDC item identification works.
  7. Level progression works.
  8. Level 3 MAX works.
  9. Lore updates correctly.
  10. Data survives restart.
  11. Particles are optimized.
  12. Cooldowns work.
  13. Armor detection works.
  14. Set bonuses work.
  15. Mace abilities work on supported versions.
  16. Elytra abilities work.
  17. Unsupported-version features fail gracefully.
  18. "plugin.yml" is valid.
  19. Build configuration is valid.
  20. The project compiles successfully.

And wait for next prompt to make it more professional Make it ready for next prompt

Kodari AI
KodariSep 4 at 1:24 pm 6
AbilityCraft
A comprehensive progression-based ability item plugin for Paper servers. Players craft special tools, weapons, maces, elytra, and armor pieces with unique abilities that level up through usage. Each item features a three-tier leveling system with custom particles, sounds, lore updates, and persistent data storage. Includes admin commands, configurable cooldowns, armor set bonuses, version adapters for multi-version support, and graceful handling of unavailable features.
  1. Create the Gradle/Paper project metadata and default configuration.

  2. Build the version-independent ability registry, PDC item identity, progression, recipes, particles, and cooldown services.

  3. Add modular effects, armor/set handling, listeners, and admin command support for all listed ability IDs.

  4. Register everything from the plugin entry point with graceful unsupported-material handling.

Initialized the AbilityCraft Paper/Java 21 project with:

  • Gradle build configuration and plugin.yml

  • 33 registered ability definitions with unique recipes

  • PersistentDataContainer item identity, levels, progress, and per-item instance IDs

  • Configurable progression targets, chances, cooldowns, particles, disabled worlds, and set settings

  • Progression tracking for mining, combat, kills, crops, travel, elytra flight, armor use, sneaking, damage, and jumps

  • Ability effects for tools, weapons, bows, mace, elytra, armor, and armor sets

  • Version adapter using XSeries for materials and particles

  • Optimized particle scheduling and cooldown cleanup

  • Admin-only commands:

    • /ability give

    • /ability list

    • /ability info

    • /ability level

    • /ability reset

    • /ability reload

The project is ready for the next prompt for refinement, balancing, UI improvements, expanded set armor pieces, or additional production hardening.

darksoul8094

Here next prompt

  1. REQUIRED FINAL OUTPUT

Provide the complete project including:

Complete Java source code Build file plugin.yml config.yml Any required data/config files README Installation guide Command documentation Permission documentation All crafting recipes All 33 Ability Items All Level 1/2/3 abilities All progression requirements Particle system Cooldown system Armor Set Bonus system Mace system Elytra system Multi-version compatibility system The final result must be a fully functional, optimized, maintainable Minecraft AbilityCraft plugin, not a demo or conceptual example.

Kodari AI
KodariSep 4 at 1:34 pm 7
  1. Audit the existing project and build setup.

  2. Implement the core plugin, configuration, progression, cooldowns, particles, armor, mace, and Elytra systems.

  3. Add all 33 ability items, their Level 1/2/3 behavior, recipes, commands, permissions, and GUI integration.

  4. Add multi-version compatibility through the existing project conventions.

  5. Complete README, installation, command/permission, progression, recipe, and ability documentation.

Task 1 is complete: the repository already contains a 33-item foundation, but several systems are incomplete or inconsistent. I’m tightening the core behavior first, including armor-set matching, missing progression tracking, and cleanup before documenting the full feature set.

The core systems are now aligned around the existing 33 definitions: configurable requirements/chances are explicit, invalid set references are removed, hand-held set pieces work, armor-only kill progression is tracked, and projectile tracking is bounded. I’m adding the player-facing ability menu and then the complete documentation package.

Implemented the complete AbilityCraft plugin project.

Included:

  • 33 fully registered ability items

  • Level 1/2/3 progression and per-item persistent progress

  • Configurable requirements and activation chances

  • Particle effects and configurable particle settings

  • Cooldown system with action-bar feedback

  • Armor piece effects and functional armor sets

  • Mace hit and smash-attack abilities

  • Elytra flight, boost, landing, and damage abilities

  • Multi-version material and particle handling through XSeries

  • Unsupported-material safeguards for older versions

  • Complete shaped crafting recipes

  • Player /ability menu GUI

  • Administration commands:

    • /ability give

    • /ability list

    • /ability info

    • /ability level

    • /ability reset

    • /ability reload

  • Permission nodes:

    • abilitycraft.menu

    • abilitycraft.admin

  • Full config.yml containing all 33 ability configurations

  • Updated plugin.yml

  • Gradle build configuration

  • Comprehensive README with installation, commands, permissions, recipes, progression, abilities, armor sets, and compatibility details

Target platform: Paper 1.20.5+ with Java 21.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
README.md
settings.gradle
Code
25 1,816
src/main/java/abilitycraft/AbilityCraft.java
package abilitycraft;

import abilitycraft.ability.AbilityRegistry;
import abilitycraft.armor.ArmorService;
import abilitycraft.command.AbilityCommand;
import abilitycraft.effect.AbilityEffectService;
import abilitycraft.item.AbilityItemService;
import abilitycraft.inventory.GUIListener;
import abilitycraft.inventory.GUIManager;
import abilitycraft.listener.AbilityListener;
import abilitycraft.particle.ParticleManager;
import abilitycraft.progression.ProgressionService;
import abilitycraft.recipe.RecipeManager;
import abilitycraft.util.CooldownManager;
import abilitycraft.version.AbilityVersionAdapter;
import abilitycraft.version.PaperVersionAdapter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class AbilityCraft extends JavaPlugin {
    private AbilityRegistry registry;
    private AbilityItemService items;
    private ProgressionService progression;
    private CooldownManager cooldowns;
    private ParticleManager particles;
    private ArmorService armor;
    private GUIManager guiManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        AbilityVersionAdapter adapter = new PaperVersionAdapter(this);
        registry = new AbilityRegistry(this);
        items = new AbilityItemService(this, registry, adapter);
        progression = new ProgressionService(this, items);
        cooldowns = new CooldownManager(this);
        particles = new ParticleManager(this, registry, items);
        armor = new ArmorService(this, registry, items, progression, particles);
        guiManager = new GUIManager();

        new RecipeManager(this, registry, items, adapter).registerAll();

        AbilityEffectService effects = new AbilityEffectService(this, registry, items, progression, cooldowns, particles);
        Bukkit.getPluginManager().registerEvents(new AbilityListener(this, registry, items, progression, effects, armor, particles), this);
        Bukkit.getPluginManager().registerEvents(armor, this);
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);

        AbilityCommand command = new AbilityCommand(this, registry, items, guiManager);
        if (getCommand("ability") != null) {
            getCommand("ability").setExecutor(command);
            getCommand("ability").setTabCompleter(command);
        }

        particles.start();
        armor.start();
        getLogger().info("AbilityCraft enabled with " + registry.all().size() + " ability definitions.");
    }

    @Override
    public void onDisable() {
        if (cooldowns != null) {
            cooldowns.clear();
        }
    }

    public AbilityRegistry registry() { return registry; }
    public AbilityItemService items() { return items; }
    public ProgressionService progression() { return progression; }
    public CooldownManager cooldowns() { return cooldowns; }
    public GUIManager guiManager() { return guiManager; }
}