PLUGIN NAME: ElementalArmorSystem PLATFORM: PaperMC 1.21.1+ LANGUAGE: Java (Spigot/Paper API)
---
๐ฏ CORE IDEA
Create a Minecraft plugin where players collect Special Fragments, craft them into Special Ores, and combine them with Armor + Armor Trim to create Custom Ability Armor Sets with unique PvP and survival effects.
NO resource pack required. Use PersistentDataContainer for all custom data.
---
โ๏ธ MAIN SYSTEMS
1. Fragment System
* Random chance (5โ15%) to drop Fragments from mining ores * Fragments are custom items with:
* Colored name * Lore * PersistentDataContainer tag: fragment_type
Types:
* frost * oceanic * infernal * void * nature
---
2. Ore Crafting
* 10 Fragments โ 1 Special Ore * Use custom crafting recipe OR auto-convert on right-click
Ore must store:
ore_type = frost / oceanic / infernal / void / nature
---
3. Armor Creation (IMPORTANT)
Use Smithing Table:
INPUT:
* Base Armor (Diamond/Netherite) * Special Ore * Armor Trim
DETECT using:
* PrepareSmithingEvent
OUTPUT:
* Custom Armor Piece with:
armor_type = frost_armor (etc)
---
4. Armor Set Requirement
Abilities ONLY activate if player wears FULL set of same type.
---
โ๏ธ ABILITY SYSTEM
Use:
* EntityDamageByEntityEvent * PlayerMoveEvent * EntityRegainHealthEvent * Scheduler tasks
All abilities must use:
* % chance system * cooldown system (HashMap or manager)
---
โ๏ธ FROST ARMOR
On hit:
* 25% โ Slowness II (3s) * 10% โ Freeze target (immobile briefly)
Passive:
* Ice trail behind player (temporary blocks) * Resistance I
---
๐ OCEANIC ARMOR
When in water:
* Water Breathing * Dolphinโs Grace * Speed boost * Regeneration (slow)
Passive:
* No mining fatigue underwater
---
๐ฅ INFERNAL ARMOR (PvP Balanced)
On hit:
* 25% โ Ignite target (if no fire resistance) * 20% โ TRUE BURN (damage ignoring fire resistance) * 15% โ Armor Melt (reduce armor for 3 seconds) * 10% โ Healing Reduction (anti-gapples)
---
๐ฃ VOID ARMOR (Chaos Type)
On hit:
* 20% โ Inventory scramble (shuffle hotbar briefly) * 15% โ Cooldown lock (disable pearls/gapples for 2s) * 10% โ Phase hit (partial armor bypass damage)
---
๐ฟ NATURE ARMOR (IMPORTANT)
On hit:
* 20% โ Regeneration burst (attacker) * 15% โ Weakness (target) * 10% โ Root + Pull back if target tries to escape
Requires:
* Movement tracking system
---
๐ช BREAKER SYSTEM
Mechanic:
* Each hit builds stacks on enemy * Store stacks using HashMap<UUID, Integer>
At max stacks (e.g. 5):
* Reduce enemy armor effectiveness * Next hit ignores part of armor * Reset stacks
---
๐ง REQUIRED SYSTEMS
Cooldown Manager
* Prevent ability spam * Store per-player cooldowns
Chance System
* Utility method:
boolean chance(double percent)
Temporary Effects
* Use BukkitRunnable / scheduler * Restore stats after duration
Cleanup
* Remove temporary effects * Reset armor modifiers * Clear on player quit
---
๐ฆ ITEM IDENTIFICATION
Use PersistentDataContainer ONLY (no lore checking).
Keys:
* fragment_type * ore_type * armor_type
---
๐ STRUCTURE
Main.java
managers/
ItemManager.java
AbilityManager.java
CooldownManager.java
StackManager.java
listeners/
CombatListener.java
MovementListener.java
CraftListener.java
PlayerListener.java
abilities/
FrostAbility.java
OceanicAbility.java
InfernalAbility.java
VoidAbility.java
NatureAbility.java
---
๐ง COMMANDS
* /givefragment <type> * /giveore <type> * /givearmor <type> * /reloadplugin
---
โ๏ธ CONFIG (config.yml)
Allow:
* Edit chances * Enable/disable abilities * Adjust cooldowns * Balance values
---
๐ PERFORMANCE RULES
* Do NOT run constant tick loops unnecessarily * Use event-based logic * Use lightweight schedulers * Avoid lag-heavy particle spam
---
๐ฎ FINAL RESULT
Players can:
* Mine fragments * Craft ores * Upgrade armor * Gain unique PvP abilities * Experience RPG-style combat
---
๐ฅ EXTRA (OPTIONAL)
* Action bar messages for abilities * Cooldown indicators * Sound effects for abilities
---
GOAL: Produce a fully working, optimized, clean, modular PaperMC plugin with all systems implemented and ready to compile.
No files in this session