I want to create a custom Minecraft plugin featuring **6 unique swords, each with different abilities**.
Requirements:
1. **Shift + Right-Click:** Activates the first special ability of the sword.
2. **Right-Click:** Activates the second special ability of the sword.
3. **Normal Attack:** Instantly kills the target and completely destroys their Totem of Undying, preventing it from activating.
4. **6 Unique Swords:** Each sword must have its own special abilities, visual effects, particles, sounds, cooldowns, and unique identity.
5. **Custom Abilities:** All 6 swords should have different and powerful abilities, such as teleportation, lightning strikes, fire attacks, explosive damage, life stealing, and shadow powers.
6. **Custom Items:** Each sword should have a unique name, lore, appearance, and special effects.
7. **Cooldown System:** Each ability should have its own configurable cooldown.
8. **Compatibility:** The plugin should work on Minecraft Java Edition 1.21.11 using Paper or a compatible server software.
9. **Performance:** The plugin must be optimized, bug-free, and compatible with multiplayer PvP.
10. **Configuration:** Include a configuration file to customize abilities, damage, cooldowns, effects, and sword settings.
Make the plugin fully functional, with all 6 swords implemented. Provide the complete source code, the compiled JAR file, installation instructions, and commands to obtain each sword. The abilities should feel powerful, unique, and suitable for a competitive PvP SMP.
KodariOct 12 at 4:54 pm 10
MythicSwordsPlugin
A Paper Minecraft plugin introducing six unique legendary swords, each with distinct abilities, visuals, and cooldowns. Players activate the first ability via Shift+Right-Click and the second via Right-Click. Normal attacks instantly kill targets and destroy their Totem of Undying. Swords include teleportation, lightning, fire, explosive, life-stealing, and shadow powers. Features a configurable YAML file for cooldowns, damage, and effects. Optimized for multiplayer PvP on Minecraft 1.21.11, with commands to obtain each sword.
I’ll build the plugin as one project: six swords, each with two abilities, per-ability cooldowns, instant-kill melee hits that destroy totems, and a config.yml for tuning.
The plugin is in place: six swords, each with a Shift+Right-Click and a Right-Click ability, per-ability cooldowns, and a config.yml for tuning. I haven’t run it on a server yet, so please compile and test it.
Swords
Sword
Material
Shift + Right-Click
Right-Click
voidrend
Netherite
Blink: teleports up to 12 blocks forward
Shadow Strike: teleports behind the nearest enemy, deals damage, blinds
stormcaller
Diamond
Chain Lightning: strikes up to 3 nearby enemies
Thunder Call: lightning at your crosshair, AoE damage and lift
cinderfang
Golden
Flame Wave: cone of fire that sets enemies alight
Inferno Burst: AoE ignite and knockback
blastbreaker
Iron
Shockwave: AoE damage and knockback around you
Mine Charge: delayed AoE detonation at your crosshair
bloodreaver
Netherite
Blood Drain: damages nearby enemies and heals you
Crimson Pact: costs health for Strength and Speed
umbral
Diamond
Shadow Cloak: invisibility and Speed
Umbral Lunge: dash that damages and withers enemies along the path
Combat rules
Normal melee hits with these swords instantly kill the target (instant-kill: true per sword).
Before the kill, the victim’s Totems of Undying are removed from their offhand and hotbar/main inventory, so the totem can’t activate.
Ability damage doesn’t trigger the instant kill, and only the melee hit destroys totems.
Commands (permission swords.admin, op by default)
/swords give <player> <sword> (or /swords give <sword> to give yourself one)
/swords list
/swords reload re-reads config.yml
Getting the jar
On desktop click Compile in the top bar. On phone tap ⋮ → Compile Project.
In the window that opens, click Compile.
When it succeeds, click Download on that build, or the Download {name}.jar button in the chat.
Put the jar in your server’s plugins/ folder and restart. Use Paper 1.21.x (the plugin targets API 1.21 and runs on 1.21.11).
Notes
Each sword’s appearance comes from its material, name, lore, and enchant glint. Custom textures aren’t generated in this project right now. To turn them on, open the settings button, go to Generation, and enable it, or enable it for all projects at kodari.ai/settings?tab=features.
Particle and sound names come from config.yml. A name the server doesn’t recognise is skipped silently instead of erroring.
Cooldowns are stored per player and cleared when they log out.
Kodari can make mistakes. Review important code before using.