Act as an expert Minecraft Java Plugin Developer with 10+ years of experience in Paper, Spigot, Bukkit API, Java, and custom Minecraft SMP plugin development.
I want you to develop a complete, professional, fully functional Minecraft plugin named:
KILL EVOLUTION SMP
The plugin must have a unique kill-based weapon evolution system where players start with a Wooden Spear and Wooden Mace and upgrade both weapons by killing other players.
━━━━━━━━━━━━━━━━━━━━━━
STARTING WEAPONS ━━━━━━━━━━━━━━━━━━━━━━
When a player joins the SMP for the first time:
Give them one Wooden Spear.
Give them one Wooden Mace.
Both weapons must be permanently unbreakable.
Both weapons must have unique custom identities.
Both weapons must have custom names and lore.
Players must not be able to duplicate these weapons.
Weapons must remain linked to their owner's progression.
━━━━━━━━━━━━━━━━━━━━━━
KILL-BASED EVOLUTION SYSTEM ━━━━━━━━━━━━━━━━━━━━━━
Every legitimate player kill must upgrade BOTH special weapons simultaneously.
Evolution progression:
0 Kills:
Wooden Spear Wooden Mace
1 Kill:
Stone Spear Stone Mace
2 Kills:
Copper Spear Copper Mace
3 Kills:
Iron Spear Iron Mace
4 Kills:
Diamond Spear Diamond Mace
5 Kills:
Netherite Spear Netherite Mace
6 Kills:
GOD Spear GOD Mace
GOD must be the maximum tier.
After reaching GOD tier, further kills must not downgrade or change the weapons.
IMPORTANT: Only Spear and Mace should evolve.
Do not upgrade swords, axes, armor, shields, bows, or any other inventory items.
━━━━━━━━━━━━━━━━━━━━━━
ENCHANTMENT EVOLUTION ━━━━━━━━━━━━━━━━━━━━━━
With every weapon evolution, automatically improve the enchantments.
Example progression:
WOODEN:
Basic Sharpness Unbreaking
STONE:
Improved Sharpness Unbreaking
COPPER:
Advanced Sharpness Fire Aspect
IRON:
Higher Sharpness Fire Aspect Knockback
DIAMOND:
Powerful Sharpness Fire Aspect Looting
NETHERITE:
Very Powerful Custom Enchantments
GOD:
Maximum Custom Enchantments Special GOD Abilities Unique Particle Effects Special Attack Effects
Make enchantments configurable through config.yml.
Do not use enchantments that are incompatible with the selected weapon type.
━━━━━━━━━━━━━━━━━━━━━━
SPECIAL DEATH SYSTEM ━━━━━━━━━━━━━━━━━━━━━━
THIS IS ONE OF THE MOST IMPORTANT FEATURES.
When a player dies:
Their Spear must NOT drop.
Their Mace must NOT drop.
Both weapons must be protected from destruction.
Every other inventory item must drop normally.
Armor must also drop normally.
Other inventory items must be lost normally.
Player progression must remain unchanged.
When the player respawns:
Automatically return their current upgraded Spear.
Automatically return their current upgraded Mace.
Preserve all weapon enchantments.
Preserve weapon tiers.
Preserve kill count.
IMPORTANT: Implement this carefully using death and respawn events.
Prevent weapon duplication during death, respawn, reconnecting, and server restarts.
━━━━━━━━━━━━━━━━━━━━━━
WEAPON PROTECTION ━━━━━━━━━━━━━━━━━━━━━━
Both special weapons must:
Never break.
Never disappear.
Never be dropped on death.
Never be destroyed by fire or lava.
Never despawn.
Never lose their custom identity.
Never be duplicated.
Never lose their upgrade progression.
Only protect the special Spear and Mace.
Do not protect other inventory items.
━━━━━━━━━━━━━━━━━━━━━━
UPGRADE EFFECTS ━━━━━━━━━━━━━━━━━━━━━━
Whenever a player gets a kill and upgrades their weapons:
Play a unique upgrade sound.
Display beautiful particle effects.
Show a title on the player's screen.
Display an action bar notification.
Send a chat message.
Example:
&6&lWEAPON EVOLVED!
&fYour weapons upgraded to &bDIAMOND TIER!
Make all messages customizable.
━━━━━━━━━━━━━━━━━━━━━━
KILL SYSTEM ━━━━━━━━━━━━━━━━━━━━━━ Only count legitimate player kills.
Mob kills must not count.
Prevent repeated kill farming.
Add configurable anti-abuse protection.
Do not count self-kills.
Do not count environmental deaths as player kills.
Save kill statistics permanently.
Save progression using reliable persistent storage.
━━━━━━━━━━━━━━━━━━━━━━
ADMIN COMMANDS ━━━━━━━━━━━━━━━━━━━━━━
Implement these commands:
/kevolution Shows plugin information.
/kevolution stats <player> Shows player kills and current weapon tier.
/kevolution reload Reloads plugin configuration.
/kevolution give <player> Gives the player's current special weapons.
/kevolution reset <player> Resets player progression.
/kevolution setkills <player> <amount> Sets a player's kill count and updates both weapons accordingly.
Add proper permission checks.
━━━━━━━━━━━━━━━━━━━━━━
DATABASE AND DATA SAVING ━━━━━━━━━━━━━━━━━━━━━━
Save:
Player UUID Player kill count Current weapon tier Weapon progression Relevant weapon metadata
Use SQLite or another reliable storage system.
Data must survive:
Server restarts.
Server crashes.
Player reconnects.
Player deaths.
━━━━━━━━━━━━━━━━━━━━━━
CONFIGURATION ━━━━━━━━━━━━━━━━━━━━━━
Create a complete config.yml.
Allow server owners to customize:
Weapon names.
Weapon lore.
Enchantments.
Upgrade messages.
Upgrade sounds.
Particle effects.
Anti-kill-farming settings.
Database settings.
Weapon protection settings.
Kill requirements.
━━━━━━━━━━━━━━━━━━━━━━
TECHNICAL REQUIREMENTS ━━━━━━━━━━━━━━━━━━━━━━ Use Java.
Use Paper API.
Use Maven.
Create a complete plugin.yml.
Create config.yml.
Use PersistentDataContainer for weapon identification.
Use clean object-oriented architecture.
Use optimized event listeners.
Avoid deprecated APIs.
Handle inventory edge cases.
Prevent item duplication.
Include proper error handling.
For custom Spear and Mace implementations, use the actual Minecraft weapon materials and mechanics when supported by the selected server version. If a requested tier or material does not exist natively, implement a custom item representation.
━━━━━━━━━━━━━━━━━━━━━━
FINAL DEVELOPMENT INSTRUCTIONS ━━━━━━━━━━━━━━━━━━━━━━
Before coding, ask me which Minecraft server version I use and whether my server runs Paper or Spigot.
After confirmation:
Create the complete project structure.
Generate every required Java class.
Generate plugin.yml.
Generate config.yml.
Generate pom.xml.
Implement every feature.
Check for compilation errors.
Fix all errors.
Provide the complete source code.
Provide the final compiled JAR if your environment supports building files.
Explain how to install the plugin in the server's plugins folder.
Explain how to configure and test it.
IMPORTANT:
Do not give me just an example or tutorial.
I want a complete, working, production-quality Minecraft SMP plugin.
Do not skip any requested feature.
Do not use placeholder methods.
Make sure the death protection system works correctly without protecting the rest of the player's inventory.
The final plugin must be stable, optimized, and ready for an SMP server.
Which Minecraft server version are you using, and does your server run Paper or Spigot?
No files in this session