callmeecho7

make the plugin for 1.21.11

📎 1 file 21,937 chars
📄
pasted-code-1787636479013.txt
txt 1252 lines
▶
# ULTIMATE MASTER PROMPT — LEGENDARY WEAPONS SMP

## PROJECT TITLE

**LEGENDARY RELICS — BLADE OF DEATH & SCYTHE OF WRATH**

Create a complete, polished, production-quality Minecraft plugin/datapack system centered around **two extremely rare legendary weapons**.

The server contains ancient legends about two forbidden Netherite relics:

### ⚔️ Blade Of Death

A legendary **Netherite Sword** capable of harvesting souls and bringing destruction to anyone foolish enough to challenge its wielder.

### 🪓 Scythe Of Wrath

A legendary **Netherite Axe** infused with uncontrollable rage, capable of unleashing devastating wrath upon enemies.

The weapons must feel **rare, powerful, cinematic, dangerous, balanced, and worthy of being the most legendary items on the entire SMP**.

---

# 1. GENERAL REQUIREMENTS

Build this as a complete Minecraft server plugin.

Preferred compatibility:

* Minecraft Java Edition
* Paper / Purpur
* Version: Latest stable version, preferably configurable
* Java
* Maven or Gradle project
* Clean modular architecture
* Full configuration files
* Permissions support
* Commands
* Custom recipes
* Particle effects
* Sounds
* Action bars
* Boss bars
* Cooldowns
* Persistent weapon data
* PlaceholderAPI support if available
* Optional ItemsAdder/Oraxen compatibility

The system must be optimized for multiplayer SMP servers.

Do NOT create simple overpowered vanilla enchantment weapons.

These weapons must have **unique abilities, lore, progression, risks, cooldowns, visual effects, and special mechanics**.

---

# 2. CORE LORE SYSTEM

Create an ancient lore surrounding both weapons.

## The Legend

Long before the current SMP existed, two ancient entities fought for control over the world.

One represented:

**Death.**

The other represented:

**Wrath.**

Their power was eventually sealed into two Netherite relics.

### The Blade Of Death

Forged from the souls of fallen warriors.

Its wielder slowly becomes connected to death itself.

Every player killed by the blade strengthens its connection to the souls trapped inside.

### The Scythe Of Wrath

Forged from rage, destruction, and chaos.

The weapon grows more unstable as its wielder fights.

The longer the user remains in combat, the more powerful the weapon becomes.

However, excessive rage comes with consequences.

The weapons should have mysterious item lore that makes players want to discover their secrets.

Example lore:

> "Death does not chase you..."
>
> "It waits for you."

For Scythe Of Wrath:

> "Anger is a weapon."
>
> "Wrath is the price."

---

# 3. WEAPON ONE — BLADE OF DEATH

## Base Item

* Material: NETHERITE_SWORD
* Display Name:

**☠ BLADE OF DEATH ☠**

The name should have a dark animated gradient or dark red/purple styling.

Use custom model data support if configured.

Add custom item flags to hide unnecessary vanilla attributes.

---

# 4. BLADE OF DEATH — SOUL SYSTEM

The weapon has a unique **Soul Energy System**.

When the Blade Of Death kills:

* Players
* Mobs
* Bosses

It collects Souls.

Example:

* Normal Mob = +1 Soul
* Strong Mob = +3 Souls
* Player = +10 Souls
* Boss = configurable large amount

Display the current Soul Energy using:

* Action bar
* Boss bar
* Optional PlaceholderAPI placeholder

Example:

**☠ SOULS: 247 / 500**

Soul Energy can be used to activate abilities.

Maximum souls must be configurable.

Souls should persist even after:

* Server restart
* Player logout
* Weapon transfer
* Dropping the weapon

Use PersistentDataContainer or another reliable persistent storage system.

---

# 5. BLADE OF DEATH — ABILITY 1

## SOUL SLASH

Activation:

Right-click.

The player performs a massive dark energy slash.

Effects:

* Sends a wave of dark energy forward.
* Damages enemies in a line.
* Applies Wither.
* Applies Darkness.
* Creates black/red particle effects.
* Plays an extremely powerful sound.
* Consumes Soul Energy.

Optional:

The slash can pass through multiple enemies.

Configuration options:

```yaml
damage: configurable
range: configurable
soul-cost: configurable
cooldown: configurable
```

Visual concept:

The player swings the sword and a dark crescent-shaped slash travels forward.

---

# 6. BLADE OF DEATH — ABILITY 2

## DEATH MARK

Activation:

Sneak + Right-click.

The player selects an enemy.

The target receives:

**☠ MARKED BY DEATH**

Effects:

* Dark particles orbit the enemy.
* Target receives periodic warnings.
* The Blade Of Death wielder can track the target.
* The target takes increased damage from the Blade Of Death.
* After a configurable duration, the mark expires.

Optional execution mechanic:

If the marked player falls below a configurable health percentage:

**DEATH CLAIMS THEM.**

The Blade wielder can activate a special finishing attack.

This must be balanced and configurable.

Do not allow unfair instant kills by default.

---

# 7. BLADE OF DEATH — ULTIMATE

## ☠ REAPER'S DOMAIN

Activation:

Sneak + Left-click.

Require:

* High Soul Energy
* Long cooldown
* Optional ritual activation

When activated:

1. The world around the player becomes darker.
2. A massive circular area appears.
3. Dark particles and soul particles fill the area.
4. Nearby enemies receive:

   * Weakness
   * Slowness
   * Darkness
5. The wielder receives:

   * Strength
   * Speed
   * Resistance
6. Enemies killed inside the domain provide additional Souls.

Display a boss bar:

**☠ REAPER'S DOMAIN — 10 SECONDS ☠**

When the ability ends:

Create a massive particle explosion.

Play a cinematic sound.

Apply the appropriate cooldown.

---

# 8. BLADE OF DEATH — PASSIVE ABILITY

## SOUL HARVESTER

Every enemy killed by the Blade Of Death has a chance to:

* Restore health.
* Restore hunger.
* Restore a small amount of Soul Energy.
* Drop a temporary Soul Orb.

Soul Orbs should:

* Float visually.
* Be collectible.
* Expire after a configurable time.

---

# 9. BLADE OF DEATH — DRAWBACK

Power must have consequences.

Every powerful ability has a risk.

Possible drawbacks:

* Temporary Weakness after Reaper's Domain.
* Reduced regeneration.
* Temporary blindness.
* Soul exhaustion.
* Cannot activate abilities when Soul Energy reaches zero.

Create a status called:

**SOUL EXHAUSTION**

Action bar example:

**☠ Your soul is exhausted...**

---

# 10. WEAPON TWO — SCYTHE OF WRATH

## Base Item

* Material: NETHERITE_AXE
* Display Name:

**🔥 SCYTHE OF WRATH 🔥**

The axe should visually feel like a corrupted executioner's weapon.

If resource pack/custom model support is enabled:

Transform the Netherite Axe into a massive dark fantasy scythe.

---

# 11. WRATH SYSTEM

The Scythe Of Wrath uses:

**WRATH ENERGY**

The Wrath meter increases when:

* The wielder damages enemies.
* The wielder receives damage.
* The wielder gets kills.
* The wielder fights continuously.

Display:

**🔥 WRATH: 72%**

The meter slowly decreases outside combat.

When the meter reaches 100%:

The player enters:

# ⚠ BERSERKER MODE ⚠

---

# 12. SCYTHE OF WRATH — ABILITY 1

## WRATH CLEAVE

Activation:

Right-click.

The player performs a massive spinning attack.

Effects:

* Damages enemies around the player.
* Knocks enemies back.
* Creates a circular particle explosion.
* Damage scales with Wrath.

Example:

```text
0% Wrath = Normal damage
50% Wrath = Increased damage
100% Wrath = Massive damage
```

Cooldown must be configurable.

---

# 13. SCYTHE OF WRATH — ABILITY 2

## RAGE DASH

Activation:

Sneak + Right-click.

The player launches forward with explosive force.

During the dash:

* Leaves fire/dark particles behind.
* Damages enemies passed through.
* Grants temporary speed.
* Has configurable range.

At high Wrath:

The dash becomes stronger.

At 100% Wrath:

Enemies hit by the dash are launched into the air.

---

# 14. SCYTHE OF WRATH — BERSERKER MODE

When Wrath reaches 100%:

Automatically trigger:

# 🔥 BERSERKER MODE 🔥

Duration:

Configurable.

Effects:

* Increased damage.
* Increased movement speed.
* Resistance.
* Fire particles.
* Aggressive screen/action bar effects.
* Special combat sounds.

Boss bar:

**🔥 BERSERKER MODE — UNLEASH THE WRATH 🔥**

However, the player cannot maintain this forever.

---

# 15. SCYTHE OF WRATH — DRAWBACK

When Berserker Mode ends:

Apply:

# WRATH EXHAUSTION

Possible effects:

* Slowness.
* Weakness.
* Mining Fatigue.
* Reduced regeneration.
* Temporary inability to gain Wrath.

The stronger the Berserker Mode was, the greater the exhaustion.

---

# 16. SCYTHE OF WRATH — ULTIMATE

## 🌋 APOCALYPSE

Require:

* 100% Wrath.
* Long cooldown.
* Optional charge-up.

Activation:

Sneak + Left-click.

Sequence:

### Phase 1 — CHARGE

For several seconds:

* Player cannot move normally.
* Massive particles gather around the weapon.
* Sounds intensify.
* Nearby players receive a warning.

Action bar:

**🔥 THE SCYTHE DEMANDS BLOOD 🔥**

### Phase 2 — RELEASE

The player unleashes a massive explosion of Wrath.

Effects:

* Huge shockwave.
* Damage to nearby enemies.
* Strong knockback.
* Fire.
* Screen shake simulation through particles/sounds.
* Optional temporary terrain damage disabled by default.

The attack must NEVER permanently destroy the world unless explicitly enabled in configuration.

Afterwards:

The player receives severe Wrath Exhaustion.

---

# 17. SECRET COMBINATION ABILITY

Create a hidden mechanic when both legendary weapons are used near each other.

If:

**Blade Of Death + Scythe Of Wrath**

are within a configurable distance, trigger:

# ☠🔥 THE FINAL JUDGMENT 🔥☠

Requirements:

* Two different players.
* Both weapons must have enough energy.
* Both players must activate their ultimate within a short time window.

Create a cinematic event.

Effects:

1. Dark and fiery particles combine.
2. The sky temporarily darkens if technically possible.
3. A massive energy circle appears.
4. Enemies in the area are damaged.
5. The players gain temporary buffs.
6. A server-wide message appears:

> **THE LEGENDARY RELICS HAVE AWAKENED.**

This event must have a very long cooldown.

---

# 18. WEAPON ACQUISITION SYSTEM

These weapons must NOT be craftable through a normal crafting table.

Create a legendary ritual system.

---

# 19. BLADE OF DEATH RITUAL

Required ingredients should be configurable.

Suggested items:

* Netherite Sword
* Nether Star
* Wither Skeleton Skull
* Echo Shard
* Soul Lantern
* Ancient Debris
* Player Blood substitute / custom token

Create a structure.

Example:

```text
        WITHER SKULL

   SOUL FIRE    SOUL FIRE

 ECHO SHARD   SWORD   ECHO SHARD

   SOUL FIRE    SOUL FIRE

        NETHER STAR
```

When the ritual activates:

* Thunder.
* Darkness.
* Soul particles.
* Wither-like sounds.
* The weapon slowly rises from the center.

Broadcast:

**☠ THE BLADE OF DEATH HAS BEEN FORGED ☠**

The ritual should be cancellable if the structure is incorrect.

---

# 20. SCYTHE OF WRATH RITUAL

Suggested ingredients:

* Netherite Axe
* Blaze Rod
* Nether Star
* Ghast Tear
* Magma Block
* Crying Obsidian
* Ancient Debris

Visual style:

Fire and destruction.

When activated:

* Fire particles.
* Explosions without block damage.
* Lightning.
* Aggressive sounds.
* Red/orange particle vortex.

Broadcast:

**🔥 THE SCYTHE OF WRATH HAS BEEN FORGED 🔥**

---

# 21. LEGENDARY WEAPON LIMITS

Make weapons truly legendary.

By default:

* Only ONE Blade Of Death can exist.
* Only ONE Scythe Of Wrath can exist.

The plugin must track whether each weapon exists.

If destroyed:

Create configurable behavior:

```yaml
on-destruction:
  respawn-after: 24h
  allow-recrafting: true
```

Optional:

Weapons cannot be destroyed by:

* Lava
* Fire
* Cactus
* Explosions
* Void

Instead, create a recovery system.

Example:

The weapon is teleported to a configurable recovery location or returned to the world after a delay.

---

# 22. WEAPON TRACKING

Add an optional command:

```text
/legendary locate blade
```

Output:

```text
The Blade Of Death is currently held by:
PlayerName
```

Optional privacy mode:

Do not reveal the exact location.

Only show:

* Owner.
* World.
* Distance category.

Example:

```text
☠ The Blade Of Death senses its master...
Location: Somewhere in the Overworld.
```

---

# 23. ADMIN COMMANDS

Create:

```text
/legendary
/legendary give blade 
/legendary give scythe 
/legendary remove blade
/legendary remove scythe
/legendary locate blade
/legendary locate scythe
/legendary souls 
/legendary wrath 
/legendary reload
/legendary debug
```

Add tab completion.

Add permissions.

Example:

```text
legendary.admin
legendary.give
legendary.reload
legendary.locate
```

---

# 24. CONFIGURATION

Create a clean `config.yml`.

Example:

```yaml
weapons:

  blade-of-death:
    enabled: true
    max-souls: 500

    soul-slash:
      enabled: true
      damage: 12
      range: 15
      soul-cost: 25
      cooldown: 10

    death-mark:
      enabled: true
      duration: 15
      cooldown: 30

    reapers-domain:
      enabled: true
      duration: 10
      radius: 15
      soul-cost: 250
      cooldown: 300

  scythe-of-wrath:
    enabled: true
    max-wrath: 100

    wrath-cleave:
      enabled: true
      cooldown: 8

    rage-dash:
      enabled: true
      cooldown: 12

    berserker-mode:
      duration: 15

    apocalypse:
      cooldown: 600
      radius: 20
```

Make ALL:

* Damage.
* Radius.
* Duration.
* Cooldown.
* Particle count.
* Sound.
* Messages.
* Energy costs.

fully configurable.

---

# 25. COMBAT BALANCING

The weapons should feel terrifying without completely ruining the SMP.

Requirements:

* No unavoidable instant kill by default.
* Cooldowns visible to players.
* Abilities consume resources.
* Powerful abilities have consequences.
* PvP damage configurable separately from PvE.
* WorldGuard region compatibility if possible.
* Disable abilities in protected regions.
* Optional combat-tag integration.

Create separate configuration:

```yaml
balance:

  pvp:
    enabled: true
    damage-multiplier: 1.0

  pve:
    enabled: true
    damage-multiplier: 1.0
```

---

# 26. VISUAL EFFECT SYSTEM

Every ability should feel cinematic.

Use combinations of:

* Soul particles.
* Smoke.
* Flame.
* Ash.
* Portal particles.
* Dust particles.
* Lightning.
* Explosions.
* Sound effects.
* Player animations where technically possible.

Avoid excessive particles that cause server lag.

Add:

```yaml
performance-mode: true
```

When enabled:

Reduce particle density automatically.

---

# 27. CUSTOM RESOURCE PACK SUPPORT

Optional but highly recommended.

Create support for CustomModelData.

Models:

### Blade Of Death

A dark:

* Black Netherite blade.
* Purple/red glowing cracks.
* Soul energy.
* Ancient runes.

### Scythe Of Wrath

A massive:

* Black handle.
* Curved corrupted blade.
* Red glowing energy.
* Fire and rage effects.

The plugin must work WITHOUT the resource pack.

If the resource pack is installed:

Automatically use the legendary models.

---

# 28. PLAYER DISCOVERY SYSTEM

Players should slowly discover how the weapons work.

Do NOT immediately explain every ability.

Create discovery messages.

Examples:

When Blade Of Death collects enough souls:

> **The weapon whispers...**
>
> *"More..."*

At certain milestones:

```text
50 Souls
100 Souls
250 Souls
500 Souls
```

Unlock or reveal lore messages.

For the Scythe:

At increasing Wrath:

> **Your heartbeat grows louder.**

At 75%:

> **The Scythe hungers for violence.**

At 100%:

> **WRATH HAS TAKEN CONTROL.**

---

# 29. ANNOUNCEMENT SYSTEM

Optional global announcements.

Examples:

When Blade Of Death kills a player:

> ☠ **PlayerName was claimed by the Blade Of Death.**

When Scythe gets a major kill streak:

> 🔥 **PlayerName's Wrath grows stronger.**

When Final Judgment activates:

> ☠🔥 **THE TWO LEGENDARY RELICS HAVE AWAKENED.** 🔥☠

Allow server admins to disable announcements.

---

# 30. DATABASE / PERSISTENCE

Ensure all important data survives server restarts.

Track:

* Weapon UUID.
* Current holder.
* Souls.
* Wrath.
* Cooldowns.
* Weapon creation state.
* Statistics.
* Total kills.
* Player kills.
* Mob kills.
* Ultimate activations.

Support:

* YAML by default.
* SQLite optional.
* MySQL optional for networks.

---

# 31. STATISTICS

Create:

```text
/legendary stats
```

Example:

```text
☠ LEGENDARY WEAPON STATISTICS

Blade Of Death:
Souls Collected: 4,281
Players Claimed: 47
Mobs Killed: 2,193
Ultimate Uses: 12

Scythe Of Wrath:
Highest Wrath: 100%
Enemies Slain: 1,842
Berserker Activations: 83
Apocalypse Uses: 7
```

---

# 32. BOSS FIGHT / EVENT

Optional advanced feature.

Create a server event called:

# THE AWAKENING

A legendary boss appears.

The boss can only be defeated by:

* Blade Of Death.
* Scythe Of Wrath.
* Or both together.

The boss should have:

* Multiple phases.
* Boss bars.
* Custom attacks.
* Summoned mobs.
* Cinematic messages.

Defeating the boss can unlock:

* Weapon upgrades.
* Cosmetic effects.
* New lore.
* Server-wide rewards.

---

# 33. WEAPON UPGRADES

Optional advanced progression.

Weapons can unlock visual titles.

### Blade Of Death

```text
Tier I — Forgotten Blade
Tier II — Soul Reaper
Tier III — Blade Of Death
Tier IV — Death Incarnate
```

### Scythe Of Wrath

```text
Tier I — Broken Scythe
Tier II — Rage Bringer
Tier III — Scythe Of Wrath
Tier IV — Incarnation Of Wrath
```

Upgrades should NOT simply increase raw damage.

Instead unlock:

* Visual effects.
* Improved energy efficiency.
* New ability variants.
* Reduced cooldowns.
* Cosmetic transformations.

---

# 34. CODE ARCHITECTURE

Use a clean structure such as:

```text
src/
 ├── commands/
 │    └── LegendaryCommand.java
 │
 ├── weapons/
 │    ├── BladeOfDeath.java
 │    └── ScytheOfWrath.java
 │
 ├── abilities/
 │    ├── SoulSlash.java
 │    ├── DeathMark.java
 │    ├── ReapersDomain.java
 │    ├── WrathCleave.java
 │    ├── RageDash.java
 │    └── Apocalypse.java
 │
 ├── systems/
 │    ├── SoulSystem.java
 │    ├── WrathSystem.java
 │    ├── CooldownManager.java
 │    ├── WeaponTracker.java
 │    ├── RitualManager.java
 │    └── DataManager.java
 │
 ├── listeners/
 │    ├── CombatListener.java
 │    ├── PlayerListener.java
 │    ├── RitualListener.java
 │    └── WeaponListener.java
 │
 ├── config/
 │    └── ConfigManager.java
 │
 └── LegendaryWeaponsPlugin.java
```

Code requirements:

* No spaghetti code.
* Separate ability classes.
* Event-driven architecture.
* Async database operations where appropriate.
* Proper Bukkit scheduler usage.
* No blocking main thread.
* Memory leak prevention.
* Proper task cancellation.
* Defensive null checks.
* Detailed comments only where useful.

---

# 35. ERROR HANDLING

Handle:

* Missing configuration.
* Invalid items.
* Duplicate legendary weapons.
* Server reloads.
* Player disconnect during abilities.
* Death during ultimate.
* Weapon dropped during ultimate.
* Cross-world teleportation.
* Server shutdown.

Never allow duplicated weapons because of:

* Inventory glitches.
* Item stacking.
* Server crashes.
* Plugin reload issues.

Use unique UUID identification for every legendary weapon.

---

# 36. FINAL EXPERIENCE GOAL

The final system should make players feel like these weapons are not simply enchanted Netherite tools.

They should feel like:

**ANCIENT RELICS WITH THEIR OWN PERSONALITIES.**

When someone sees the Blade Of Death:

They should feel fear.

When someone activates the Scythe Of Wrath:

They should know destruction is coming.

When both weapons appear together:

The entire server should know that something legendary is happening.

---

# FINAL DEVELOPMENT INSTRUCTION

Generate the COMPLETE production-ready project.

Include:

1. Complete Java source code.
2. `plugin.yml`.
3. `config.yml`.
4. `messages.yml`.
5. Maven or Gradle build configuration.
6. All commands.
7. Tab completion.
8. Permissions.
9. Persistent data system.
10. Weapon UUID anti-duplication system.
11. All abilities.
12. Cooldown system.
13. Soul system.
14. Wrath system.
15. Ritual system.
16. Visual effects.
17. Sound effects.
18. Admin commands.
19. Statistics system.
20. Documentation.
21. Installation instructions.
22. Example configuration.
23. Clean package structure.

Before finalizing the code:

* Check for compilation errors.
* Ensure compatibility with the target Paper API.
* Avoid deprecated APIs where possible.
* Verify every command exists.
* Verify every permission is declared.
* Verify all config paths exist.
* Ensure legendary weapons persist after restarts.
* Ensure duplicate prevention is robust.

The final result should be a **premium-quality Minecraft SMP legendary weapons plugin** that feels cinematic, balanced, mysterious, and unforgettable.
Kodari AI
KodariAug 25 at 5:49 am 2
LegendaryRelics
A premium Minecraft SMP plugin introducing two legendary Netherite weapons: the Blade of Death and Scythe of Wrath. Features unique energy systems (Souls and Wrath), cinematic abilities including Soul Slash, Death Mark, Reaper's Domain, Wrath Cleave, Rage Dash, and Apocalypse. Includes ritual crafting, persistent weapon tracking with UUID anti-duplication, cooldown management, particle effects, boss bars, action bars, configurable balance, permissions, admin commands, statistics, and discovery messages. Weapons are rare, powerful, and balanced with drawbacks and exhaustion mechanics.
callmeecho7

ok now tell me is there any model data for these weapons?

Kodari AI
KodariAug 25 at 5:50 am 1

No. The weapons currently have no active model data.

  • WeaponManager supports legacy integer CustomModelData.

  • config.yml has weapons.blade-of-death.model-data: 0, so the Blade receives none.

  • The Scythe has no model-data setting.

  • No resource-pack model identifiers, textures, or model JSON files exist.

  • Weapon recognition currently relies only on the vanilla materials:

    • Blade: NETHERITE_SWORD

    • Scythe: NETHERITE_AXE

If you provide custom model-data IDs and a resource pack, the existing Blade support can use them, but the Scythe configuration and likely the model setup would need to be added.

callmeecho7

do this plugin has any commaands?

Kodari AI
KodariAug 25 at 5:51 am 1

Yes. The plugin has one main command:

/legendary

Aliases:

  • /relics

  • /relic

Available subcommands:

  • /legendary help

  • /legendary reload

  • /legendary stats

  • /legendary give

  • /legendary remove

  • /legendary locate

  • /legendary souls

  • /legendary wrath

  • /legendary debug

Permissions:

  • legendary.admin

  • legendary.give

  • legendary.remove

  • legendary.locate

  • legendary.reload

  • legendary.debug

Most permissions default to server operators. stats, souls, and wrath do not currently have permission checks.

callmeecho7

bro if you have seen the Glory SMP Plugin Then Add Abilites TO my weapons like them and also add 2 more weapons netherite swords ok as { Dark Sword } and { Killer`s Katana } and add unbeatable powers in all the weapons add also replace the ritual with cool features and remove the whole altar feature ok i want a good ritual for them and also make a gui for these weapons to check their recipes and also gui for admin to change the recipe and some other things and also add some more commands in it

Kodari AI
KodariAug 25 at 6:14 am 5
  1. Inspect the existing weapon, altar, ritual, recipe, GUI, and command structure.

  2. Replace the altar flow with a new weapon ritual and add the Dark Sword and Killer’s Katana with distinct abilities.

  3. Add player recipe/weapon GUI plus an admin editor GUI.

  4. Expand commands and wire permissions/configuration without breaking existing features.

  1. Weapon system: added Dark Sword and Killer’s Katana, distinct charged abilities, passive effects, and non-altar cinematic rituals; existing Blade and Scythe remain supported.

  2. Recipe GUI: next I’m adding the player recipe viewer and admin recipe editor, backed by the existing configuration.

  3. Commands: after the menus exist, I’ll expose them and add the remaining administration/player actions.

Implemented the weapon expansion.

Weapons added

  • Dark Sword

    • Right-click: Shadow Bolt

    • Sneak + right-click: Void Step

    • Sneak + left-click: Eclipse

    • Dark energy system, darkness effects, teleportation, resistance, strength, and AoE damage.

  • Killer’s Katana

    • Right-click: Sever

    • Sneak + right-click: Blood Rush

    • Sneak + left-click: Thousand Cuts

    • Blood energy system, execution damage, speed, strength, resistance, and repeated AoE attacks.

The Blade of Death and Scythe of Wrath abilities remain supported.

Ritual replacement

  • Removed the altar-block interaction completely.

  • Added cinematic command-based rituals:

    Plain Text
    /legendary ritual <weapon>
    
  • Supports all four weapons.

  • Requires the configured base weapon and ingredients.

  • Includes charging stages, particles, sounds, lightning, broadcasts, and forging effects.

GUIs

Player recipe menu:

Plain Text
/legendary recipes
/legendary menu

Admin menu:

Plain Text
/legendary admin

Admins can:

  • View every weapon recipe.

  • Cycle recipe ingredients.

  • Remove ingredients.

  • Add ingredients.

  • Enable or disable weapons.

  • Save recipe changes directly to config.yml.

New commands

Plain Text
/legendary ritual <weapon>
/legendary recipes
/legendary admin
/legendary energy <player> <weapon>
/legendary setenergy <player> <weapon> <amount>

Weapon aliases include:

Plain Text
blade
scythe
dark-sword
killers-katana
katana
killer
void
callmeecho7

should i now compile?

Kodari AI
KodariAug 25 at 6:15 am 1

Yes. Compile the plugin now:

Shell
./gradlew build

On Windows:

Shell
gradlew.bat build

The compiled JAR should appear in:

Plain Text
build/libs/

If compilation fails, send the complete error output and I’ll fix it before you test the plugin on your server.

callmeecho7

bro i want to add powers in all the weapons

Kodari AI
KodariAug 25 at 6:20 am 3
  1. Review the current four-weapon ability flow and cooldown/energy handling.

  2. Add distinct active and passive powers to every weapon, keeping them usable and balanced.

  3. Register any required listeners/configuration so the powers work after compilation.

Added a new special power to every weapon, activated with the F key:

  • Blade of Death — Soul Cage

    • Locks down a target with Slowness, Weakness, and Darkness.

    • Deals damage and freezes the target briefly.

  • Scythe of Wrath — Ravager’s Roar

    • Powerful area attack.

    • Launches enemies backward, applies Weakness, and heals the wielder.

  • Dark Sword — Gravity Well

    • Creates a void field around the targeted enemy.

    • Pulls nearby enemies inward while damaging them and applying Darkness.

  • Killer’s Katana — Phantom Dance

    • Teleports behind the target.

    • Deals heavy damage, applies Poison, and grants temporary Invisibility and Speed.

Also added:

  • Cooldowns and energy costs in config.yml

  • Custom messages in messages.yml

  • F-key handling through PlayerSwapHandItemsEvent

  • Weapon lore instruction: Press F for your special power.

Compile with:

Shell
./gradlew build
callmeecho7

ok just remove the 2 new weapons

Kodari AI
KodariAug 25 at 6:26 am 2

Removed both new weapons completely:

  • Dark Sword

  • Killer’s Katana

Also removed their:

  • Abilities and special powers

  • Ritual recipes and ingredients

  • Configuration sections

  • Messages

  • Command aliases and tab completion

  • Weapon colors, lore, and energy handling

Only the original weapons remain:

  • Blade of Death

  • Scythe of Wrath

Compile again with:

Shell
./gradlew build
callmeecho7

also make the texture pack for the weapons with glory smp type weapons textures

Kodari AI
KodariAug 25 at 6:27 am 1
  1. Verify the two remaining weapons’ model-data handling and current resource layout.

  2. Add a standalone Minecraft resource-pack structure with custom item models for both weapons.

  3. Configure the weapons to use matching model-data values and include installation/packaging instructions.

Added a standalone resource-pack setup for the remaining weapons:

  • Blade of Death — model data 1001

  • Scythe of Wrath — model data 1002

  • Updated config.yml to apply both values automatically.

  • Added custom model mappings and display transforms.

  • Added installation instructions in resource-pack/README.md.

The pack currently uses working vanilla fallback geometry/textures. I did not copy Glory SMP’s proprietary assets; to use exact or similar custom pixel-art textures, replace the referenced texture files with assets you own or have permission to use.

Package the contents of resource-pack/ into a ZIP and install it as your server resource pack.

Kodari can make mistakes. Review important code before using.
Files
resource-pack
src
build.gradle
README.md
settings.gradle
Code
24 2,571
src/main/java/com/kodari/legendary/LegendaryWeaponsPlugin.java
package com.kodari.legendary;

import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.BukkitTask;

@Getter
public class LegendaryWeaponsPlugin extends JavaPlugin {
    private ConfigManager configManager;
    private DataManager dataManager;
    private WeaponManager weaponManager;
    private CooldownManager cooldownManager;
    private AbilityManager abilityManager;
    private FinalJudgment finalJudgment;
    private RitualManager ritualManager;
    private WeaponMenu weaponMenu;
    private BukkitTask maintenanceTask;

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

        configManager = new ConfigManager(this);
        dataManager = new DataManager(this);
        weaponManager = new WeaponManager(this, dataManager);
        cooldownManager = new CooldownManager();
        finalJudgment = new FinalJudgment(this);
        abilityManager = new AbilityManager(this, weaponManager, cooldownManager);
        ritualManager = new RitualManager(this, weaponManager);
        weaponMenu = new WeaponMenu(this);

        Bukkit.getPluginManager().registerEvents(new CombatListener(this), this);
        Bukkit.getPluginManager().registerEvents(weaponMenu, this);

        LegendaryCommand command = new LegendaryCommand(this);
        if (getCommand("legendary") != null) {
            getCommand("legendary").setExecutor(command);
            getCommand("legendary").setTabCompleter(command);
        }

        maintenanceTask = Bukkit.getScheduler().runTaskTimer(this, () -> {
            weaponManager.auditUniqueItems();
            abilityManager.tick();
        }, 20L, 20L);

        getLogger().info("Legendary Relics enabled.");
    }

    @Override
    public void onDisable() {
        if (maintenanceTask != null) {
            maintenanceTask.cancel();
        }

        if (abilityManager != null) {
            abilityManager.shutdown();
        }

        if (ritualManager != null) {
            ritualManager.shutdown();
        }

        if (dataManager != null) {
            dataManager.save();
        }
    }
}