# โ๏ธ FROST SMP โ Complete Plugin Handoff Prompt
## PROJECT IDENTITY
You are continuing development of Frost SMP, a custom PvP survival SMP plugin for Minecraft Paper 1.21.11 (api-version: '1.21', Java 17, Adventure/MiniMessage for text). Theme: players fight to obtain ultra-powerful God Items, kill 3 custom bosses, and become the Frost SMP Champion. It must compile against the platform's pre-baked Paper API classpath (1.18.2โ1.21.11 era; note: modern constants like Enchantment.UNBREAKING and PotionEffectType.STRENGTH are REMOVED on this classpath โ see Version-Safe APIs below).
## FEATURES โ MUST ALL BE IMPLEMENTED
### 1. God Items (9 pieces, /frostgoditems give )
All netherite-based, unbreakable, enchant-glint, hidden attributes, PDC-tagged (frostsmp:god_item), soulbound on death (removed from death drops, returned on respawn).
| Piece | Base + CMD | Permanent/Held Effects | Extra stats |
|---|---|---|---|
| God Helmet | NETHERITE_HELMET, 10001 | Str III, Speed II, Haste I, Night Vision | +3 armor, +1 toughness |
| God Chestplate | NETHERITE_CHESTPLATE, 10002 | Str III, Res II, Haste I | +6 armor, +2 toughness, +0.5 knockback resist, +6 HP |
| God Leggings | NETHERITE_LEGGINGS, 10003 | Str III, Speed II, Haste I | +4 armor, +1 toughness, +4 HP |
| God Boots | NETHERITE_BOOTS, 10004 | Speed II, Res II, Haste I, Feather Falling IV | +3 armor, +1 toughness |
| God Elytra | ELYTRA, 10005 | Speed II, Res II, Haste I, Slow Falling, Fire Res | +2 armor, +2 HP |
| God Sword | NETHERITE_SWORD, 10006 | Str III, Speed II, Haste I (held) | +13 dmg, +1 atk speed โ Divine Strike |
| God Axe | NETHERITE_AXE, 10007 | Str III, Haste I (held) | +12 dmg, +0.6 โ Worldbreaker |
| God Mace | NETHERITE_AXE, 10008 | Str III, Res II (held) | +14 dmg, +0.4 โ Judgement Smash |
| God Spear | NETHERITE_SWORD, 10009 | Str III, Speed II (held) | +11 dmg, +1.2 โ Godpiercer |
### 2. Weapon Abilities (right-click; blocked on interactive blocks โ chests, buttons, doors, etc.)
- Divine Strike (30s CD): next melee hit = damage ร 2 + 10, thunder FX.
- Worldbreaker (35s CD): next hit ignores armor (true damage 18, kill credited via setKiller).
- Judgement Smash (20s CD): AoE knockback + 8 dmg in 5 blocks, shockwave particles.
- Godpiercer (10s CD): consumes spear, throws a glinting Trident projectile (16 dmg, knockback); spear returns to owner on hit or after 30s flight.
### 3. Full God Set Bonus (Helmet+Chestplate+Leggings+Boots)
Str III + Speed II + Res II + Haste I + permanent GLOWING. Every 10 min (config) broadcast all full-set wearers' coordinates:
โก GOD SET DETECTED โ The location of has been revealed! ๐ X | Y | Z (MiniMessage, player name via Placeholder.unparsed). Removing a piece cancels everything.
### 4. Bosses (/frostgoditems boss )
| Boss | Entity | HP/Dmg | Abilities | Drops |
|---|---|---|---|---|
| The Destroyer | Zombie | 600/14 | charge, slam, minions | 2โ4 Destroyer Core |
| The Ancient One | Wither Skeleton | 900/12 | fireballs (more with phase), skeleton adds, wither novas, 4 phases | 3โ6 Ancient Essence |
| The Fallen King | Zombie w/ crown | 2000/20 | teleport-behind, slam, minions, heal @50%, enrage @25% | 1โ2 Fallen Crown |
Boss bars (colored, phase titles), broadcast spawn/death messages, minion cleanup, slayer gets "BOSS SLAIN" title.
### 5. Progression
9 shaped recipes (recipe book): boss materials (exact-match RecipeChoice.ExactChoice) + Netherite Ingot + Bottle o' Enchanting โ each God Item. Boss materials: Destroyer Core (NETHER_STAR), Ancient Essence (ENDER_PEARL), Fallen Crown (GOLDEN_HELMET).
### 6. Champion & Hall of Fame
- /frostgoditems champion set โ crowns champion (broadcast + title), stores in config.
- /frostgoditems halloffame โ permanent leaderboard (last 25, config champion.hall-of-fame).
- Champion gets title on join.
## COMMANDS & PERMISSIONS (complete)
text
Copy
/frostgoditems give class=class="code-string">"code-comment"># pieces: helmet, chestplate, leggings, boots, elytra, sword, axe, mace, spear, all
/frostgoditems boss
/frostgoditems champion [set ]
/frostgoditems halloffame
/frostgoditems reload
Permission: frostgoditems.admin (default op). Full tab completion.
## CONFIG (config.yml, saveDefaultConfig + copyDefaults)
yaml
Copy
god-items: { reveal-interval-seconds: 600 }
resource-pack: { url: class="code-string">"", ip: class="code-string">"", port: 8123, auto-apply: true }
abilities: { divine-strike: {30s, 6s window, ร2.0, +10}, worldbreaker: {35s, 6s, 18 true dmg}, judgement-smash: {20s, radius 5, 8 dmg, 2.2 kb}, godpiercer: {10s, 16 dmg, 2.2 speed} }
bosses: { destroyer: 600/14, ancient: 900/12, fallenking: 2000/20 }
## CUSTOM RESOURCE PACK (auto-hosted)
- 9 custom item models (custom_model_data 10001โ10009) with gold accents; 3D spear + mace. Vanilla look preserved for normal items via overrides.
- On enable, plugin extracts pack to plugins/FrostSMP/resourcepack/, zips it (FrostSMP-ResourcePack.zip), computes SHA-1, starts a built-in HTTP server (port 8123, com.sun.net.httpserver), and auto-sends it to every player on join via setResourcePack(url, sha1).
- pack_format: 68 for 1.21.11. resource-pack.ip = public IP; resource-pack.url = external hosting override.
## VERSION-SAFE APIs (CRITICAL โ the compile classpath removed old constants)
- Potions: PotionEffectType.getByKey(NamespacedKey.minecraft("strength")) via util/Effects.java โ NEVER constants.
- Enchantments: Registry.ENCHANTMENT.get(NamespacedKey.minecraft("unbreaking")) โ NEVER Enchantment.UNBREAKING.
- Attribute modifiers: new AttributeModifier(UUID, String, double, Operation, EquipmentSlot) โ EquipmentSlotGroup is NOT on the classpath.
- Correct packages: org.bukkit.entity.EntityType, org.bukkit.inventory.EntityEquipment.
## ARCHITECTURE (16 Java files, package com.frostsmp)
FrostSMPPlugin (main, extraction, scheduling) ยท Keys (NamespacedKeys) ยท items/GodItemType (enum: 9 items w/ effects+attrs+abilities), items/BossMaterial, items/ItemFactory ยท abilities/Ability ยท managers/AbilityManager (cooldowns, spear throw/return), GodSetManager (effects+glowing+reveal), BossManager (AI, phases, bars, drops), RecipeManager, ChampionManager ยท listeners/PlayerListener (pack apply, champion title, soulbinding) ยท commands/FrostCommand ยท util/Messages (MiniMessage), util/Effects ยท server/ResourcePackServer (HTTP hosting).
## BUILD STATE
Compiles clean against the platform classpath (warnings only: deprecations + an unused lucko annotation processor). Do NOT introduce new compile errors; if an API fails, check the Version-Safe list first.