inqkeddagoat

YTMythics – Complete Custom Weapons SMP Plugin Development Prompt

1. Plugin Overview

Create a fully functional Minecraft Java Edition custom weapons plugin called YTMythics, developed for Paper 1.21.11 using Java 21.

The plugin must contain 10 unique custom weapons with special abilities, passive effects, custom animations, particles, sounds, and individual cooldowns.

Plugin Information:

  • Name: YTMythics
  • Minecraft Version: 1.21.11
  • Platform: Paper
  • Java Version: 21
  • Compiled Output: YTMythics.jar
  • Main Command: /ytmythics

The plugin should feel like a professionally developed Custom Weapons SMP plugin.

Use the six attached reference recordings as the primary visual references.

Original inspiration video: https://youtu.be/A57hntj-cqU

Recreate the effects demonstrated in the six recordings as accurately as possible, then improve their visual quality without changing their recognizable appearance.

Do not replace the demonstrated animations with unrelated generic particle effects.

For abilities not demonstrated in the recordings, create original animations consistent with the weapon's theme.

---

2. IMPORTANT: F-Key Ability Activation

ALL custom weapon abilities must activate using Minecraft's Swap Item With Offhand keybind (F by default).

This does NOT mean right-clicking while holding the weapon in the offhand.

Required behavior

  1. Player holds a custom weapon in their main hand.
  2. Player presses F.
  3. The plugin detects the PlayerSwapHandItemsEvent.
  4. Cancel the normal item swap.
  5. Activate that weapon's special ability.
  6. Start its individual cooldown.

Players who have changed their swap keybind must still be able to activate abilities using their configured key.

Normal items must retain their normal swapping functionality.

Only valid custom weapons should trigger abilities.

Prevent double activations and cooldown bypasses.

---

3. Weapon Materials

Use these exact Minecraft materials:

| Weapon | Material | |---|---| | Poison Ivy | Netherite Sword | | Flamebreaker | Netherite Axe | | Bee Stinger | Netherite Sword | | Frost Breath | Netherite Axe | | Inferno Hammer | Netherite Axe | | Excalibur | Netherite Sword | | Soul Blade | Netherite Sword | | Hellfire Scythe | Netherite Sword | | Sea Reaver | Netherite Sword | | Venom Touch | Bow |

Identify every weapon using its own PersistentDataContainer identifier.

Do not identify weapons by display names alone.

---

4. Weapon Abilities and Passives

1. Poison Ivy

Material: Netherite Sword

Ability: Venomous Pull

Cooldown: 25 seconds.

  • Pull the targeted player toward the caster.
  • Maximum targeting distance: 12 blocks.
  • Deal 3 hearts (6 HP) of damage.
  • Generate animated green vines connecting both players.
  • Add swirling green particles throughout the pull.
  • Include magical activation and impact sounds.

Passive: Toxic Strike

Every successful melee hit has a 10% chance to inflict Poison III for 3 seconds.

Display green poison particles around affected enemies.

2. Flamebreaker

Material: Netherite Axe.

Ability: Burning Rage

Cooldown: 45 seconds.

  • Increase outgoing damage for 15 seconds.
  • Apply Regeneration III for 15 seconds.
  • Empower attacks against enemies within a 7-block radius.
  • Generate animated flame spirals.
  • Create expanding fire rings.
  • Add an activation explosion.
  • Maintain a pulsing flame aura throughout the ability.

Passive: Fireborn

Grant permanent Fire Resistance while Flamebreaker exists anywhere in the player's inventory.

The player does not need to hold or equip the weapon.

3. Bee Stinger

Material: Netherite Sword.

Ability: Royal Sting

Cooldown: 40 seconds.

  • Apply Regeneration III for 15 seconds.
  • Apply Absorption V for 15 seconds.
  • The next successful melee hit inflicts Poison III for 4 seconds.
  • Consume the empowered attack after one successful hit.
  • Generate swirling golden particles.
  • Create animated yellow particle rings.
  • Add floating honey-like particles.
  • Include bee buzzing and magical sounds.

Passive: Swift Wings

Grant permanent Speed I while Bee Stinger exists anywhere in the player's inventory.

Add occasional subtle yellow particles.

4. Frost Breath

Material: Netherite Axe.

Ability: Frozen Domain

Cooldown: 35 seconds.

  • Affect nearby enemies within a 5×5 area.
  • Apply Slowness IV for 20 seconds.
  • Generate an expanding icy circle.
  • Add layered snowflake animations.
  • Surround affected enemies with frost particles.
  • Include freezing and glass-like sounds.

Passive: Powdered Freeze

Every successful melee hit has a 10% chance to trap the enemy in a temporary powdered-snow effect for 7 seconds.

Temporary blocks must automatically disappear without permanently damaging existing terrain.

5. Inferno Hammer

Material: Netherite Axe.

Ability: Infernal Blast

Cooldown: 30 seconds.

  • Launch a powerful fireball in the direction the caster faces.
  • Direct impact deals 5 hearts (10 HP).
  • Create an explosion that damages nearby enemies.
  • Generate animated flame, smoke, and lava-like particles.
  • Add a fiery projectile trail.
  • Play a powerful explosion sound.
  • Prevent permanent terrain destruction.

Passive: Crushing Impact

Successfully disabling an enemy shield applies an additional stun effect lasting longer than the normal shield-disable duration.

Add metallic impact sounds and particles.

6. Excalibur

Material: Netherite Sword.

Ability: Divine Judgment

Cooldown: 60 seconds.

  • Summon a giant falling sword from the sky.
  • Strike the targeted location.
  • Deal 12 hearts (24 HP) to enemies hit.
  • Display a visible warning indicator before impact.
  • Generate a descending golden beam.
  • Add a dramatic shockwave.
  • Include thunder and metallic impact sounds.
  • Use an animated sword display entity where supported.
  • Remove temporary entities afterward.

Passive: Thunderstrike

Every successful melee hit has a 10% chance to strike the enemy with controlled lightning.

Prevent unwanted fire spread.

7. Soul Blade

Material: Netherite Sword.

Ability: Withered Soul

Cooldown: 30 seconds.

  • Launch a Wither Skeleton skull projectile.
  • Deal 3 hearts (6 HP) on impact.
  • Apply Wither IV for 5 seconds.
  • Generate black smoke and soul particles.
  • Add a dark animated projectile trail.
  • Include Wither shooting sounds.
  • Generate a soul-like impact burst.

Passive: Soul Corruption

Every successful melee hit has a 10% chance to inflict Wither III for 3 seconds.

8. Hellfire Scythe

Material: Netherite Sword.

Ability: Hellfire Awakening

Cooldown: 40 seconds.

  • Increase outgoing damage for 15 seconds.
  • Generate animated dark blue soul-fire spirals.
  • Create rotating hellfire particles.
  • Add an expanding activation ring.
  • Maintain a dramatic pulsing aura throughout the ability.
  • Include deep fire-themed sounds.

Passive: True Fire

Every successful melee hit has a 10% chance to inflict True Fire for 3 seconds.

True Fire must use custom damage-over-time independent of Minecraft's normal fire mechanics.

9. Sea Reaver

Material: Netherite Sword.

Ability: Oceanic Beam

Cooldown: 25 seconds.

  • Fire a powerful oceanic beam in the direction the caster faces.
  • Deal 4.5 hearts (9 HP) to enemies struck.
  • Generate a smoothly animated blue and cyan beam.
  • Add swirling water particles around the beam.
  • Include bubble and splash effects.
  • Generate a water-like impact explosion.
  • Play guardian and ocean-themed sounds.

Passive: Ocean's Blessing

Grant permanent Conduit Power while Sea Reaver exists anywhere in the player's inventory.

10. Venom Touch

Material: Bow.

Ability: Web Cleanse

Cooldown: 20 seconds.

  • Activate using the F key.
  • Instantly clear all cobwebs in a 5×5 area surrounding the caster.
  • Generate green and white particles.
  • Play web-breaking sounds.
  • Only remove cobwebs, never other block types.

Passive: Spider's Curse

  • Shooting an enemy creates a temporary 3×3 cobweb area around their impact location.
  • Every successful projectile hit has a 33% chance to inflict Poison III for 3 seconds.
  • Remove temporary cobwebs after 5 seconds.
  • Never permanently replace existing terrain.

Special Venom Touch Visual Requirement

When firing Venom Touch, create an Ancient City-inspired soul and sculk effect.

Include:

  • Animated soul particles following the arrow.
  • Sculk-themed particle trails.
  • Dark cyan and blue visual effects.
  • Subtle sculk-inspired sounds.
  • An enhanced impact animation.

The arrow should feel like it carries energy from the Ancient City.

Keep the effect optimized and avoid excessive particle spam.

---

5. EXACT Weapon Description Design

Use the supplied Sea Reaver screenshot as the primary tooltip reference.

All 10 weapons must use the same description layout, spacing, heading design, and formatting.

Only copy the visual design, NOT Sea Reaver's ability or passive concept.

Each weapon must display its own actual ability and passive.

Tooltip structure

  1. Colored weapon name.
  2. Actual enchantments.
  3. Blank separator.
  4. Off-Hand heading.
  5. Ability description.
  6. Blank separator.
  7. Passive heading.
  8. Passive description.
  9. Normal Minecraft attributes.

Example:

Sea Reaver Sharpness III Sweeping Edge III Looting III Unbreaking III Mending

-- Off-Hand -- Shoot a oceanic beam, inflicting 4.5 hearts of damage.

-- Passive -- Permanent Conduit Power.

When in Main Hand: 8 Attack Damage 1.6 Attack Speed

The actual tooltip must use Minecraft formatting and colors rather than plain text.

Use the screenshot's visual spacing and vanilla-style appearance.

Weapon Description Colors

| Weapon | Color | Minecraft Code | |---|---|---| | Poison Ivy | Green | &a | | Flamebreaker | Red | &c | | Bee Stinger | Yellow | &e | | Frost Breath | Aqua | &b | | Inferno Hammer | Red | &c | | Excalibur | Yellow | &e | | Soul Blade | Dark Aqua | &3 | | Hellfire Scythe | Dark Blue | &1 | | Sea Reaver | Blue | &9 | | Venom Touch | Dark Green | &2 |

Use matching weapon colors for the weapon name, headings, and highlighted ability/passive text.

Keep ordinary explanatory text white.

Do not add unnecessary decorative symbols or unrelated lore.

Use actual enchantments, appropriate attributes, and the correct Minecraft item material.

Ensure enchantments are compatible with the weapon type.

The screenshot's enchantment list applies specifically to Sea Reaver, not automatically to every weapon.

---

6. Inventory-Wide Permanent Passives

Permanent passive effects must activate when the corresponding weapon exists ANYWHERE in the player's inventory.

This includes:

  • Main hand.
  • Offhand.
  • Hotbar.
  • Regular inventory slots.

The player must not be required to hold the weapon.

Required permanent effects:

| Weapon | Effect | |---|---| | Flamebreaker | Fire Resistance | | Bee Stinger | Speed I | | Sea Reaver | Conduit Power |

Implementation requirements

  • Detect weapons using PersistentDataContainer.
  • Refresh permanent effects automatically.
  • Remove plugin-owned effects when the weapon leaves the inventory.
  • Handle inventory clicks, item drops, pickups, deaths, and disconnects.
  • Prevent duplicate effects.
  • Support multiple different permanent passives simultaneously.
  • Do not accidentally remove potion effects supplied by unrelated plugins or normal gameplay.

Other weapon passives should retain their original activation mechanics.

---

7. Simple Action Bar Cooldown System

Keep the action bar extremely minimal.

When an ability successfully activates, start its cooldown without displaying a message.

If the player presses F again while that weapon is on cooldown, briefly show the remaining time.

Example:

§c24.5s

Requirements:

  • Only show the remaining seconds.
  • Do not display the weapon name.
  • Do not display READY or ACTIVE.
  • Display the message for 2 seconds, then clear it.
  • Do not continuously display cooldown messages.
  • Cooldowns are tracked per player and per weapon.
  • Cooldowns continue while switching weapons.
  • Use actual remaining time.
  • Prevent inventory-based cooldown bypasses.

Keep all original cooldown durations unchanged.

---

8. Visual Recreation and Animation Improvements

Use all six attached reference recordings as the main visual references.

Recreate the demonstrated effects as closely as the Paper API allows.

Study the following characteristics:

  • Particle shape and formation.
  • Particle colors.
  • Animation direction.
  • Rotation speed.
  • Activation timing.
  • Particle density.
  • Projectile appearance.
  • Impact effects.
  • Sound timing.
  • Ability duration.

Do not replace recognizable reference effects with unrelated animations.

Additional improvements

Improve the effects with:

  • Smooth animated particle spirals.
  • Expanding particle rings.
  • Directional projectile trails.
  • Custom impact bursts.
  • Distinct activation sounds.
  • Animated shockwaves.
  • Temporary glowing effects where appropriate.
  • Subtle passive particles.
  • Smooth transitions between animation stages.

Weapon-specific improvements

Flamebreaker: Animated flame spirals and expanding fire rings.

Bee Stinger: Swirling golden particles and floating honey-like effects.

Frost Breath: Layered snowflake animations and expanding icy circles.

Hellfire Scythe: Dark blue soul-fire spirals and rotating hellfire particles.

Sea Reaver: A smooth moving oceanic beam with swirling particles and water impact bursts.

Venom Touch: Ancient City-inspired sculk and soul particles following arrows.

Visual effects should be impressive without obstructing PvP visibility or causing unnecessary server lag.

---

9. Custom Weapons GUI

Command: /ytmythics

GUI Title:

✦ YTMythics | Custom Weapons ✦

Requirements:

  • 27-slot inventory.
  • Display all 10 custom weapons.
  • Use the correct material for each icon.
  • Use the same tooltip styling as the actual weapons.
  • Decorate unused slots with colored glass panes.
  • Add click sounds.
  • Allow admins to click weapons to receive them.
  • Allow regular players to browse without obtaining weapons unless permitted.
  • Prevent item theft and GUI manipulation.
  • Refresh correctly after configuration reloads.

---

10. Commands and Permissions

Implement:

| Command | Function | |---|---| | /ytmythics | Opens GUI | | /ytmythics give (player) (weapon) | Gives weapon | | /ytmythics giveall (player) | Gives all weapons | | /ytmythics list | Lists weapons | | /ytmythics reload | Reloads configuration | | /ytmythics help | Displays commands |

Permissions:

  • ytmythics.admin
  • ytmythics.gui
  • ytmythics.give
  • ytmythics.reload

Include tab completion.

---

11. Configuration

Create a complete config.yml containing:

  • Individual cooldowns.
  • Ability damage.
  • Passive activation chances.
  • Potion effect durations.
  • Particle density.
  • Sound volume.
  • Ability radius.
  • Projectile speed.
  • Temporary block duration.
  • PvP settings.
  • Friendly-fire settings.
  • GUI configuration.
  • Damage multipliers.
  • Action-bar formatting.
  • Weapon description colors.

All values should be configurable without modifying Java source code.

---

12. Technical Requirements

Use Java 21 and the Paper 1.21.11 API.

Implement:

  • PersistentDataContainer weapon identification.
  • PlayerSwapHandItemsEvent for F-key activation.
  • Proper event listeners.
  • Safe scheduled tasks.
  • Custom damage handling.
  • Temporary entity cleanup.
  • Temporary block restoration.
  • Inventory-wide passive detection.
  • Per-player, per-weapon cooldown tracking.
  • Projectile collision handling.
  • World-change and disconnect cleanup.
  • Optimized particle rendering.

Prevent:

  • Duplicate ability activations.
  • Cooldown bypasses.
  • Infinite damage loops.
  • Permanent terrain damage from temporary effects.
  • Unintended self-damage.
  • GUI item duplication.
  • Passive effects remaining after the relevant weapon is removed.

Use the correct Minecraft potion amplifiers.

For example, Regeneration III must use amplifier 2.

---

13. Final Deliverables

Provide a complete, buildable Maven project containing:

  1. All Java source files.
  2. pom.xml.
  3. plugin.yml.
  4. config.yml.
  5. All 10 working custom weapons.
  6. Every active ability.
  7. Every passive ability.
  8. F-key activation system.
  9. Inventory-wide permanent passives.
  10. Complete GUI implementation.
  11. Weapon-specific tooltip colors.
  12. Reference-inspired particle animations.
  13. Sound effects.
  14. Simple cooldown action bar.
  15. Commands and permissions.
  16. Fully compiled YTMythics.jar.

The compiled JAR must be tested for successful compilation.

Do not claim the plugin has been tested unless compilation and testing have actually occurred.

FINAL IMPORTANT INSTRUCTIONS

This must be a real, functional Minecraft plugin, not pseudocode or a rewritten specification.

Do not leave placeholder methods, unfinished abilities, or missing weapon mechanics.

Prioritize faithfully recreating the effects demonstrated in the six supplied recordings, then improve their smoothness, detail, and visual polish.

Preserve all original weapon concepts, damage values, passive chances, and cooldown durations.

The final result should feel like a polished Custom Weapons SMP plugin, with the visual identity of the reference recordings and the improved functionality specified above.

Kodari AI
KodariOct 18 at 2:56 am 1

The generation was stopped before any content could be produced.

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

No files in this session

Code