for extra reinforcments on your description read this and then take theses images as refrences as you can see in images when working on ability use this image as visuals inspiration and a learning opurtuinity for you when u see these imasges the one thing about htem its not just particle i would like you ot have particxles but i want you to custom texture each ability like these images and actully desighn visuasl like these do you see how none of these just yuse particles but actuals animation visuasl and more then just particles i want you to do that then also make a /menu area where players can set how they want their ability to activate like with crouch left click crouch right click left click right click offhand drop and more like that and the last one whch is command so players can diasable all of that and just have to type /spell secondary and /spell primary to activate either ability though do all of this step by step to improve on everything perfrctly also look at this notic how the coolwon huds like that i want one exactly like thatr but the only diffrence is diffrent icons yoiu made for each of the abilitys and you make the images/icons for lal of them make sure this feels high polished actual visuals that you made and desighned and feel much better than just a knoff with particles all right now lock in and make me the greates spell plugin you can use chatgpt as an ai agent if youd like and if you can remember perfect everything and go step by step
--- 📎 Attached 2 file(s):
File: pasted-code-1790113964213.txt
============================================================
LEGENDARY SPELLS — MASTER VOXEN PLUGIN PROMPT
MAXIMUM 30,000 CHARACTERS
============================================================
BUILD A COMPLETE, POLISHED MINECRAFT SPELL PVP PLUGIN.
TARGET:
Minecraft Java 1.21.11
Paper 1.21.11
Java 21
Plugin name:
LegendarySpells
Main class:
com.legendary.spells.LegendarySpells
The final result must be a real working compiled plugin JAR that can
simply be placed into the server's plugins folder and loaded after
restart. It must create:
plugins/LegendarySpells/
with its config and player data.
DO NOT make a basic particle plugin.
DO NOT make a proof of concept.
DO NOT replace custom UI with chat messages.
DO NOT replace animations with random particles.
DO NOT use emojis as ability icons.
DO NOT create every spell by recoloring the same effect.
Build the COMPLETE SYSTEM below.
============================================================
1. VISUAL RESEARCH — MUST HAPPEN FIRST
============================================================
BEFORE BUILDING THE VISUALS, RESEARCH THESE EXACT REFERENCES:
BLISS SMP:
https://www.youtube.com/watch?v=X04OjUc5e0Q
BIZARRE SMP:
https://www.youtube.com/watch?v=OicKTEAcl3Y
Also research high-quality Minecraft Spell SMP/ability showcases.
Study them for:
• ability buildup
• casting animations
• magical energy
• projectile design
• projectile trails
• impact effects
• shockwaves
• rings
• beams
• floating objects
• movement
• sound timing
• spell readability
• cinematic presentation
• cooldown presentation
• PvP readability
• how powerful abilities feel visually
IMPORTANT:
Use these references for VISUAL INSPIRATION ONLY.
DO NOT COPY their:
• assets
• models
• textures
• sounds
• code
• exact UI
• exact abilities
Create ORIGINAL LegendarySpells visuals with a similar level of polish.
The goal is professional Minecraft SMP-quality VFX, not ordinary
Minecraft particles.
============================================================
2. CORE CONCEPT
============================================================
Every player has ONE active spell.
Each spell contains:
• Primary Ability
• Secondary Ability
• Passive Ability
Spells are NOT weapons.
Players do not need to hold a custom weapon.
Spells are obtained through custom spell potions.
A player starts with exactly ONE random normal spell.
Normal random selection excludes:
• Light
• Lightning
• Bone
Event should also be excluded from normal randomization if configured
as special.
Gold, Void, Lightning and Bone are admin/special spells according
to the server configuration.
The player's spell must persist through reconnects and restarts.
============================================================
3. SPELL POTIONS
============================================================
Every spell has its own potion.
Examples:
Frost Spell Potion
Void Spell Potion
Arcane Spell Potion
Nature Spell Potion
Gold Spell Potion
Event Spell Potion
Fire Spell Potion
Water Spell Potion
Darkness Spell Potion
Metal Spell Potion
Gravity Spell Potion
Light Spell Potion
Lightning Spell Potion
Bone Spell Potion
Every potion needs:
• unique name
• unique lore
• unique color
• custom resource-pack texture
• spell icon
• persistent-data identification
When a player drinks a spell potion:
IF they have no spell:
equip it.
IF they already have another spell:
convert the old spell into its potion form and replace it.
IF they already have that same spell:
prevent duplication.
Never lose the old spell.
Never create duplicate spell ownership.
============================================================
4. DEATH
============================================================
When a player dies:
• remove active spell
• drop exactly ONE corresponding spell potion
• prevent duplicate drops
• reset active spell safely
Create a unique spell death animation.
The spell should visibly leave the player, such as:
• floating magical core
• orb
• crystal
• rune
• fragments
• energy trail
Then disappear or transform into the dropped potion.
Play a spell-specific death sound.
Players within roughly 10 blocks should hear the effect.
Examples:
Frost = crystal rises and shatters
Void = orb gets consumed by a rift
Arcane = rune rises and dissolves
Nature = leaves/vines rise
Gold = golden energy scatters
Event = small fireworks
Fire = ember rises and extinguishes
Water = orb floats and splashes
Darkness = shadow collapses
Metal = shards fall apart
Gravity = orb rises while fragments orbit
Light = radiant orb fades
Lightning = electric discharge
Bone = bones rise and crumble
============================================================
5. RANDOMIZER
============================================================
Create Randomizer Potion.
When consumed:
• choose a random valid normal spell
• exclude current spell when alternatives exist
• exclude Light
• exclude Lightning
• exclude Bone
• exclude other configured special spells
• safely replace current spell
• return old spell as potion
No duplication.
No accidental deletion.
============================================================
6. SPELL SWITCH ANIMATION
============================================================
Changing spells should feel cinematic.
Sequence:
old spell aura fades
→ old energy leaves player
→ old spell core appears
→ core transforms into potion
→ new energy begins gathering
→ new spell aura appears
→ new spell icon enters HUD
→ spell name appears briefly
→ unique equip sound plays
Every spell has its own equip visual.
Frost = cold mist/ice
Void = dark dimensional energy
Arcane = rotating runes
Nature = vines/leaves
Gold = golden sparks
Event = fireworks
Fire = embers
Water = droplets
Darkness = shadow aura
Metal = metallic fragments
Gravity = orbiting particles
Light = halo
Lightning = electric arcs
Bone = bone fragments
============================================================
7. ACTIVATION SYSTEM
============================================================
Abilities must not require custom weapons.
Support configurable activation methods:
• Right Click
• Left Click
• Offhand
• Sneak + Right Click
• Sneak + Left Click
• Drop key
• Swap-hand key
• command
• optional client keybind
Create:
/spellsettings
This opens a GUI where players can configure Primary and Secondary
activation.
Optional Fabric 1.21.11 client mod may provide real keyboard keybinds
such as M/N, but the server plugin must remain functional without it.
============================================================
8. COOLDOWNS
============================================================
Every Primary, Secondary and Passive has its own cooldown.
Admin command:
/cooldown <spell> <1|2|3> <seconds>
1 = Primary
2 = Secondary
3 = Passive
Cooldowns are server authoritative.
The client must NEVER be trusted for cooldown validation.
If an ability fails to activate, normally do not consume its cooldown.
============================================================
9. CUSTOM COOLDOWN HUD
============================================================
Create a compact custom HUD above the hotbar.
It must have three slots:
PRIMARY
SECONDARY
PASSIVE
Do NOT use:
• emojis
• plain text
• generic Minecraft item icons
Use custom pixel-art/angular/hexagonal icons.
Every ability must have a DIFFERENT icon.
Examples:
Frost:
Absolute Zero = ice crystal
Glacier Step = icy movement symbol
Cold-Blooded = frozen heart/core
Void:
Void Rift = dimensional tear
Void Collapse = collapsing orb
Void Strike = dark impact
Arcane:
Arcane Bolt = magical projectile
Arcane Shield = rune barrier
Arcane Mastery = rune core
Nature:
Vinefall = vines
Nature's Blessing = leaf/rune
Nature's Resilience = living core
Gold:
Golden Nova = golden explosion
Event:
Firework Burst = firework symbol
Each spell needs a complete visual HUD theme.
READY:
bright icon.
COOLDOWN:
darkened icon with visual cooldown progression.
NEAR READY:
subtle pulse.
READY AGAIN:
glow/pulse + unique ready sound.
When a spell changes:
old HUD fades out → new HUD fades in.
============================================================
10. VISUAL ANIMATION STANDARD
============================================================
EVERY major ability must feel like an animation, not a particle command.
Use a visual sequence such as:
ANTICIPATION
→ CHARGE
→ CAST
→ PROJECTILE/AREA
→ TRAVEL
→ TARGETING
→ IMPACT
→ DAMAGE
→ SHOCKWAVE
→ AFTERMATH
→ COOLDOWN
Not every ability needs every stage, but powerful abilities should
have multiple stages.
Use:
• ItemDisplay
• BlockDisplay
• particles
• rings
• beams
• animated cores
• orbiting objects
• scaling
• rotation
• interpolation
• acceleration
• trails
• shockwaves
• sound layers
when technically appropriate.
Every temporary object needs cleanup.
Do NOT spawn thousands of entities.
Prioritize animation, timing, shape and movement over particle spam.
============================================================
11. VFX ENGINE
============================================================
Create reusable systems such as:
VisualEngine
AnimationEngine
ParticleEngine
DisplayAnimator
SoundEngine
SpellVFXManager
Support reusable functions:
startCharge()
spawnCore()
createOrbit()
launchProjectile()
createTrail()
createImpact()
createShockwave()
startAftermath()
cleanup()
Animations should use precise timing.
Example:
0ms = cast begins
200ms = energy gathers
500ms = core grows
800ms = release
900ms = projectile launches
impact = explosion/shockwave
after = lingering effect
Use different timing for different spells.
============================================================
12. SPELL IDENTITIES
============================================================
FROST:
blue/white crystalline magic, mist, snow, ice shards.
VOID:
black/purple dimensional magic, rifts, gravity, fragments.
ARCANE:
violet/blue runes, geometric symbols, magical cores.
NATURE:
green vines, leaves, roots, flowers, organic growth.
GOLD:
golden radiant energy, metallic shards, explosive light.
EVENT:
colorful fireworks, energetic bursts, celebratory chaos.
FIRE:
flames, embers, burning cores, heat-like energy.
WATER:
fluid spheres, waves, streams, droplets, splashes.
DARKNESS:
black/purple smoke, shadows, tendrils, dark energy.
METAL:
silver shards, rotating metal, heavy impacts, sparks.
GRAVITY:
orbiting debris, compression, pull effects, cosmic distortion.
LIGHT:
white/gold radiant magic, halos, beams.
LIGHTNING:
electric arcs, branching lightning, fast strikes.
BONE:
bone fragments, cursed smoke, skeletal visuals.
============================================================
13. FROST
============================================================
PRIMARY — ABSOLUTE ZERO
Create a large frost zone around the target.
Animation:
cold mist
→ ice crystals form
→ crystal fragments orbit
→ circular frost rune appears
→ rune expands
→ ground freezes visually
→ massive frost burst
Effects:
• freeze approximately 3 seconds
• Slowness IV for 12 seconds
• 2 hearts armor-ignoring cold damage
Add ice shards, frost mist, crystalline impact and unique sound.
SECONDARY — GLACIER STEP
Sneak + Left Click by default.
Effects:
• Speed II
• Jump Boost II
• 8 seconds
Create an ice trail behind the player with crystals, mist and snow.
PASSIVE — COLD-BLOODED
Approximately 10% knockback resistance and cold/freeze resistance.
============================================================
14. VOID
============================================================
PRIMARY — VOID RIFT
Create a dimensional rift.
Animation:
small crack
→ crack expands
→ rotating ring
→ dark core
→ particles pull inward
→ nearby enemies get pulled
→ impact
→ rift collapses
Effects:
• damage
• Slowness
• Blindness
SECONDARY — VOID COLLAPSE
Create a large dark orb.
Orb grows → fragments orbit → sphere compresses → COLLAPSE.
Create dark shockwave and lingering fragments.
Effects:
• area damage
• Slowness
• Weakness
PASSIVE — VOID STRIKE
After 4 successful hits:
dark mark appears
→ four fragments orbit
→ fragments converge
→ impact
Effects:
• bonus true damage
• Weakness
============================================================
15. ARCANE
============================================================
PRIMARY — ARCANE BOLT
Visible rotating magical projectile.
Use:
• rune core
• orbiting symbols
• magical trail
• acceleration
• impact rune explosion
Effects:
• damage
• Slowness
• brief Levitation
SECONDARY — ARCANE SHIELD
Create a rotating magical rune barrier.
Effects:
• Absorption
• Resistance
PASSIVE — ARCANE MASTERY
Subtle arcane aura and magical feedback.
============================================================
16. NATURE
============================================================
PRIMARY — VINEFALL
Ground cracks
→ roots appear
→ vines grow
→ vines whip
→ final green burst.
Effects:
• Poison
• Slowness
SECONDARY — NATURE'S BLESSING
Large green aura with leaves, vines and energy.
Effects:
• Regeneration
• Absorption
• Speed
PASSIVE — NATURE'S RESILIENCE
Subtle natural defensive aura.
============================================================
17. GOLD
============================================================
PRIMARY — GOLDEN NOVA
Large golden magical explosion.
Animation:
golden energy gathers
→ rings rotate
→ core grows
→ core releases
→ giant golden shockwave
→ gold fragments scatter
→ lingering sparks
Effects:
• 4 hearts true damage
• Weakness II for 8 seconds
• Glowing for 12 seconds
• shield break
• eating disabled for 3 seconds
• knockback
Secondary and Passive must be unique golden abilities rather than
simple copies of Golden Nova.
============================================================
18. EVENT
============================================================
PRIMARY — FIREWORK BURST
Create a visible firework projectile.
It rises, then creates:
• large firework explosion
• secondary fireworks
• colorful trails
• spark bursts
• shockwave
Effects:
• Confusion
• Glowing
SECONDARY — FIREWORK RUSH
Temporary speed/jump enhancement with fireworks launching around
the player.
PASSIVE:
small celebratory visual effect.
============================================================
19. OTHER SPELLS
============================================================
FIRE:
Create unique fire projectile/area abilities with animated cores,
flame trails, explosions and burning aftermath.
WATER:
Create fluid projectiles, waves, streams, splash impacts and
flowing trails.
DARKNESS:
Create shadow projectiles, black mist, tendrils, dark impacts
and lingering shadows.
METAL:
Create spinning metal shards, magnetic effects, metallic impacts
and heavy shockwaves.
GRAVITY:
Create visible pulling, orbiting, floating debris, compression
and implosion effects.
LIGHT:
Admin-only radiant beams, halos, rings and holy energy.
LIGHTNING:
Admin-only rapid electric charge, branching arcs, strike and
ground shockwave.
BONE:
Admin-only cursed skeletal attacks, bone spikes/fragments,
dark smoke and a special stun.
Do not leave these as generic placeholder particles. Every ability
needs a complete visual sequence and unique identity.
============================================================
20. ALLIES
============================================================
Commands:
/allie add <player>
/accept
/delallie <player>
Allies are protected from harmful spell effects.
Area damage, debuffs, pulls, stuns and true damage must respect
the ally system unless explicitly configured otherwise.
============================================================
21. TRUE DAMAGE
============================================================
Certain abilities use TRUE DAMAGE.
True damage bypasses normal armor/protection mitigation.
Only use it where specified.
============================================================
22. STUN SYSTEM
============================================================
Create reusable stun tracking.
Normal stuns:
Ender Pearls remain usable.
Bone stun:
Ender Pearls are blocked.
Every stun must have:
• target
• source
• duration
• cleanup
Never permanently trap a player.
============================================================
23. COMMANDS
============================================================
Implement:
/spell primary
/spell secondary
/spell menu
/spell bind
/spell binds
/frost
/cooldown <spell> <1|2|3> <seconds>
/rerollspell <player>
/allie add <player>
/delallie <player>
/accept
/admin give bone
/admin give lightning
/admin give light
/admin give randomizer
/index
/spellsettings
Commands must be correctly registered in plugin.yml.
Give useful error messages instead of vague "unexpected error."
============================================================
24. GUI
============================================================
/spell menu
Create a polished inventory GUI showing:
• current spell
• spell icon
• Primary
• Secondary
• Passive
• cooldowns
• descriptions
• activation settings
/index
Create a Spell Index showing every spell and its:
• icon
• description
• Primary
• Secondary
• Passive
• special/admin status
Do not make a generic ugly chest GUI.
============================================================
25. ADMIN
============================================================
Permission:
legendaryspells.admin
Admin can:
• give special spell potions
• give randomizer
• reroll players
• change cooldowns
• use optional testing tools
Special commands:
/admin give light
/admin give lightning
/admin give bone
/admin give randomizer
============================================================
26. RESOURCE PACK
============================================================
Create an original Minecraft resource pack containing:
• spell potion textures
• ability icons
• spell icons
• HUD graphics
• GUI graphics
• spell symbols
• optional custom models
Icons should use clean pixel art, angular/hexagonal shapes,
high contrast and readable silhouettes.
NO EMOJIS.
NO Unicode substitutes.
NO generic item icons.
Each spell and ability must have its own artwork.
The pack should be lightweight enough for multiplayer.
============================================================
27. CLIENT MOD
============================================================
If Voxen supports generating a Fabric 1.21.11 companion mod,
create an optional LegendarySpellsClient.
It may provide:
• real keyboard keybinds
• enhanced HUD rendering
• client-side visual polish
• configurable controls
Example:
M = Primary
N = Secondary
But keys must be rebindable through Minecraft Controls.
The server plugin MUST work without the client mod.
============================================================
28. PLAYER DATA
============================================================
Save:
• UUID
• active spell
• cooldown state if required
• activation settings
• allies
• relevant spell data
Persist through:
• reconnect
• restart
• death where appropriate
Blood is no longer a spell.
If legacy data contains Blood, migrate it to Void.
============================================================
29. ANTI-DUPLICATION
============================================================
Protect against:
• duplicate potion consumption
• death event duplication
• inventory duplication
• shift-click duplication
• hopper duplication
• dispenser/dropper duplication
• reconnect duplication
• rapid consumption
• fake spell items
• cooldown bypass
• command abuse
Use persistent item data rather than relying only on item names.
The server must be authoritative.
============================================================
30. PERFORMANCE
============================================================
Optimize for multiplayer.
Do NOT create:
• unlimited particles
• permanent display entities
• one expensive task per player per ability
• huge entity searches every tick
Use centralized animation systems where practical.
Every temporary object must have:
• owner
• ability ID
• creation time
• lifetime
• cleanup
Clean up on:
• ability completion
• death
• disconnect
• spell change
• chunk unload
• plugin shutdown
============================================================
31. EVENT HANDLING
============================================================
Correctly handle:
PlayerJoinEvent
PlayerQuitEvent
PlayerInteractEvent
EntityDamageByEntityEvent
PlayerToggleSneakEvent
PlayerDropItemEvent
PlayerSwapHandItemsEvent
PlayerItemConsumeEvent
PlayerDeathEvent
InventoryClickEvent
InventoryCloseEvent
Prevent duplicate listener registration.
============================================================
32. MULTIPLAYER
============================================================
Multiple players must be able to cast different spells simultaneously.
Example:
Player A = Frost
Player B = Void
Player C = Arcane
Player D = Nature
Their effects must remain separate.
Damage attribution must identify the correct caster.
Allies must be respected.
============================================================
33. ERROR RESILIENCE
============================================================
Visual errors must never break gameplay.
If a display animation fails:
damage/effects still function.
If particles fail:
ability still functions.
If resource pack is missing:
gameplay still works.
If client mod is missing:
server plugin still works.
============================================================
34. CONFIGURATION
============================================================
Generate config.yml with settings for:
• cooldowns
• damage
• ranges
• durations
• particle limits
• sound toggles
• resource pack
• special spell exclusions
• randomizer
• allies
• HUD
• debug logging
Use sensible defaults.
============================================================
35. DEBUG/STARTUP
============================================================
On startup:
1. create data folder
2. load config
3. load player data
4. initialize spells
5. initialize cooldowns
6. initialize visual engine
7. initialize sounds
8. initialize HUD
9. initialize commands
10. initialize listeners
11. verify systems
12. enable plugin
Log useful startup information.
Do not spam console during gameplay.
============================================================
36. VISUAL QUALITY RULE
============================================================
Every ability must answer YES to:
Does it have a beginning?
Does it have buildup?
Does it move?
Does it have a clear release?
Does it have impact?
Does it have aftermath?
Does it have unique sound?
Does it have a unique icon?
Does it look different from other spells?
Can players understand it during PvP?
If NO, improve it.
Never replace:
animated projectile → particle projectile
custom HUD → actionbar text
custom icon → emoji
animation → particle spam
resource pack → generic Minecraft texture
spell-specific VFX → same effect recolored
============================================================
37. FINAL VISUAL GOAL
============================================================
The final plugin should feel like:
Minecraft
+
high-quality SMP
+
fantasy magic
+
cinematic VFX
+
competitive PvP
+
custom HUD
+
custom resource pack
+
unique spell identities
A player should immediately recognize:
"That is Frost."
"That is Void."
"That is Arcane."
without needing to read the spell name.
============================================================
38. TESTING
============================================================
Before packaging, test:
• plugin startup
• plugin enable
• LegendarySpells folder creation
• config creation
• command registration
• player join
• first spell
• returning player
• spell potion
• spell replacement
• randomizer
• death
• death drop
• respawn
• cooldowns
• HUD
• Primary
• Secondary
• Passive
• ally system
• true damage
• stuns
• Bone stun
• special spells
• inventory interactions
• multiplayer
• simultaneous abilities
• disconnect during ability
• restart persistence
• resource pack
• cleanup
• duplication protection
============================================================
39. FINAL BUILD REQUIREMENTS
============================================================
Produce:
• compiled LegendarySpells JAR
• complete source
• plugin.yml
• config.yml
• resource pack
• README
• command documentation
• permission documentation
If supported:
• Fabric client JAR
• client installation instructions
The Paper plugin must install normally by placing the JAR inside
plugins/ and restarting.
============================================================
40. FINAL VOXEN INSTRUCTION
============================================================
DO NOT STOP AT THE FIRST WORKING BUILD.
First make the core system work.
Then inspect every spell visually.
Improve weak animations.
Make projectiles actually move.
Make impacts actually feel powerful.
Make cooldown icons unique.
Make spell HUD themes unique.
Make sounds synchronize with animation.
Make VFX readable during PvP.
Make every spell feel like its own magic system.
Research the Bliss SMP and Bizarre SMP references BEFORE building
the VFX.
Use their quality and presentation as inspiration, but create
completely ORIGINAL LegendarySpells assets.
The final plugin must be:
WORKING
POLISHED
OPTIMIZED
MULTIPLAYER SAFE
VISUALLY DISTINCT
EXPANDABLE
AND ACTUALLY FUN TO USE.
BUILD IT.
TEST IT.
FIX IT.
POLISH IT.
PACKAGE THE FINAL JAR.
============================================================
END
============================================================
File: pasted-code-1790114041167.txt
Absolutely. Here is the **complete consolidated main prompt**, kept **well under 15,000 words**, with Frost integrated directly into the SPELLS section and all of the mechanics you've added.
# MINECRAFT SPELL PvP PLUGIN — COMPLETE MAIN PROMPT
Create a polished, optimized Minecraft PvP spell plugin focused on unique magical abilities, fair PvP, clear cooldowns, strong visual effects, sounds, animations, and strict anti-duplication protection.
The plugin should feel like a professionally developed PvP magic system rather than a collection of simple commands.
---
# 1. CORE SPELL SYSTEM
Players can have **ONE active spell at a time**.
Each spell has:
* Primary ability
* Secondary ability
* Passive ability
* Separate cooldowns
* Unique sounds
* Unique particles
* Unique activation animations
* Unique attack/impact animations
* Unique expiration animations
* Unique visual identity
Do not allow a player to have two active spells simultaneously.
When a player changes spells, the old spell must be properly removed before the new spell is equipped.
Cooldowns from an old spell must never incorrectly transfer to a new spell.
---
# 2. SPELL POTIONS
Do not require custom items to use spells.
Use normal Minecraft potion/item mechanics wherever possible.
Players obtain spells through spell potions.
## Starting Spell
When a player joins/starts the system:
* Give them exactly ONE random spell potion.
* The random spell can be any normal spell except:
* Light
* Lightning
* Bone
* Do not give multiple starting spells.
* Do not duplicate the potion.
The starting random spell should be determined fairly and stored correctly.
---
# 3. DRINKING A SPELL POTION
Anyone can drink a spell potion.
When a player drinks a spell potion:
1. Play the unique spell-use SFX.
2. Consume the potion.
3. Check whether the player currently has an active spell.
### If the player has NO spell:
* Equip the new spell.
* Do not return another potion.
* Do not duplicate anything.
### If the player ALREADY has a spell:
* Convert the player's old active spell back into its corresponding spell potion.
* Give that old spell potion to the player.
* Equip the newly consumed spell.
* The new spell replaces the old spell.
* Never create an additional duplicate potion.
Example:
Player has Fire.
Player drinks Water.
Result:
* Fire becomes a Fire potion.
* Water becomes the player's active spell.
* No extra Water potion is created.
* No extra Fire spell is created.
The system must use reliable internal spell ownership/state tracking.
---
# 4. DEATH SYSTEM
When a player dies:
* Remove their active spell.
* Drop their active spell as its corresponding potion.
* The player should no longer have that spell active after death.
* Never duplicate the dropped potion.
* Do not leave hidden spell ownership behind.
The death process must be safe against:
* Death duplication
* Inventory duplication
* Repeated death events
* Respawn exploits
* Logout/death exploits
If a player had no active spell, nothing should drop.
---
# 5. RANDOMIZER
Add a Randomizer spell potion/item.
When used:
* It randomly selects a normal spell.
* It cannot select:
* Light
* Lightning
* Bone
* The Randomizer itself disappears after being used.
If the player already has a spell:
* Their old spell becomes its potion.
* The random spell becomes active.
* The randomizer is consumed.
* Never duplicate anything.
If the player has no spell:
* Give them the randomly selected spell.
* Consume the randomizer.
* No duplicate potion is generated.
The randomizer must use the same safe spell replacement system as normal spell potions.
---
# 6. SPECIAL SPELLS
The following spells are special/admin-only:
* Light
* Lightning
* Bone
They must NOT appear in:
* Starting random spell selection
* Randomizer selection
They can only be obtained through the appropriate admin commands.
---
# 7. COMMANDS
Implement the following commands.
## Spell Commands
`/spell primary`
Activates the player's Primary spell ability.
`/spell secondary`
Activates the player's Secondary spell ability.
## Frost-specific activation
`/frost`
Activates Frost's Absolute Zero ability.
Frost should still integrate with the normal Primary cooldown system.
## Cooldown Command
`/cooldown <1|2|3> `
Where:
* `1` = Primary
* `2` = Secondary
* `3` = Passive
Example:
`/cooldown fire 1 10`
Sets Fire Primary cooldown to 10 seconds.
Example:
`/cooldown frost 2 15`
Sets Frost Secondary cooldown to 15 seconds.
Cooldown values should be configurable and safely stored.
## Reroll
`/rerollspell `
Give the specified player a new randomly selected normal spell.
The reroll cannot select:
* Light
* Lightning
* Bone
It must use the normal spell replacement rules.
## Admin Give Commands
`/admin give bone`
`/admin give lightning`
`/admin give light`
`/admin give randomizer`
These commands give the appropriate potion/item.
Light, Lightning, and Bone are still excluded from random generation.
---
# 8. COOLDOWN SYSTEM
Every spell ability has its own cooldown.
Primary, Secondary, and Passive cooldowns must be completely separate.
## Primary and Secondary Boss Bars
When Primary or Secondary is on cooldown:
* Display a boss bar.
* The boss bar slowly decreases each second.
* Clearly identify the ability and remaining cooldown.
* Update smoothly.
* Do not spam packets unnecessarily.
When the cooldown reaches zero:
* Remove the boss bar.
* Play a unique ready sound.
* Display a small visual/particle confirmation.
* The ability becomes usable again.
Never allow:
* Cooldown bypasses
* Double activation
* Negative cooldowns
* Cooldown stacking exploits
* Repeated activation while cooling down
## Passive Cooldowns
Passive abilities use their own cooldown system.
Display passive cooldown information above the hotbar as a ticking number.
Passive cooldowns must:
* Tick correctly
* Reach zero correctly
* Play a ready sound
* Reset properly
* Never become permanently stuck
* Never activate infinitely
Every passive must actually function.
---
# 9. ALLY SYSTEM
Implement:
`/allie add `
and:
`/delallie `
An allied player cannot be negatively affected by the caster's spells.
Before EVERY spell effect, perform an ally check.
Allies must be protected from:
* Damage
* True damage
* Stuns
* Slowness
* Blindness
* Wither
* Poison
* Drowning
* Pulling
* Launching
* Knockback caused by spells
* DoT effects
* Spell hazards
* Passive effects
* Area-of-effect spell effects
* Chilled
* Frostbite
* Any other negative spell effect
The ally check must happen before applying the effect, not after.
The caster themselves should also not accidentally be treated as an enemy unless the ability specifically requires self-targeting.
---
# 10. STUN SYSTEM
Normal spell stuns freeze the affected player in place.
Normally stunned players:
* Cannot move normally.
* CAN use an Ender Pearl.
Bone stun is the exception.
## Bone Stun
Players affected by Bone's stun:
* Cannot move.
* Cannot use an Ender Pearl.
* Remain stunned for the specified Bone duration.
Do not accidentally give this no-pearl behavior to every spell.
---
# 11. TRUE DAMAGE
True damage must bypass:
* Armor
* Protection
* Normal damage reduction
Whenever an ability specifically says **true damage**, implement actual armor-bypassing damage.
Do not convert true damage into ordinary Minecraft attack damage.
---
# 12. VISUALS, SOUNDS, AND ANIMATIONS
Every spell must feel unique.
Do NOT use the same generic effect for every spell.
Every ability should have:
* Activation animation
* Casting animation
* Projectile animation if applicable
* Impact animation
* Damage visual
* Expiration animation
* Unique particles
* Unique sounds
* Cooldown-ready sound
* Appropriate screen feedback where possible
Effects should be visually impressive but optimized.
Do not create huge amounts of particles every tick.
---
# 13. SPELLS
# FIRE SPELL 🔥
## Primary — Fire Circle
Create a fire circle around the caster.
* Radius: 30 blocks
* Duration: 12 seconds
* Every 3 seconds, enemies inside take 2 hearts of true damage.
* Damage ignores armor and protection.
* Shields can block the Fire Circle damage.
* Show critical particles when damage occurs.
Visuals:
* Expanding fiery ring
* Burning particles
* Heat distortion
* Small flames
* Ember trails
* Fiery ground aura
Sounds:
* Deep fire activation
* Burning ambience
* Impact sound
* Cooldown-ready sound
Expiration:
* Fire ring shrinks.
* Flames disappear.
* Embers fade.
## Secondary — Fireball
Fire a powerful fireball.
On hit:
* Deal 4 hearts true damage.
Include:
* Fireball launch animation
* Flame trail
* Explosion
* Ember particles
* Unique impact sound
## Passive — Critical Inferno
Track 4 critical hits within 9 seconds.
After 4 qualifying critical hits:
* All attacks become critical hits for 10 seconds.
* Display critical particles on hits.
* Passive cooldown: 20 seconds.
---
# WATER SPELL 💧
## Primary — Wave
Create a large wave that travels outward from the caster.
* Radius/range: 30 blocks.
* Enemies hit become unable to use healing gaps for 3 seconds.
* Failed gap attempts play an anvil sound.
Visuals:
* Large water wave
* Splash particles
* Water droplets
* Mist
* Ground water effects
## Secondary — Drown
Apply Drown.
* Duration: 7 seconds.
* Include screen shake/visual feedback.
Use:
* Water pressure visuals
* Bubble particles
* Dark-blue effects
* Unique drowning sound
## Passive — Saturation Drain
After 5 successful hits:
* Apply Drown.
* Drain the target's saturation.
---
# LIGHTNING SPELL ⚡
## Primary — Lightning Daggers
Shoot 3 lightning daggers.
Each successful hit:
* Stuns for 5 seconds.
* Deals 3–5 hearts true damage.
* Allows Thunder Dash/teleport behind the enemy.
Visuals:
* Electric dagger projectiles
* Lightning trails
* Sparks
* Thunder flashes
## Secondary — Speed
Give:
* Speed III
* Duration: 15 seconds
Use an electrical activation animation.
## Passive — Thunder Mode
After 6 successful hits:
* Strength II
* Speed II
* +2 hearts true damage per hit
* Duration: 10 seconds
Use:
* Thunder aura
* Electric particles
* Lightning flashes
* Powerful activation animation
---
# DARKNESS SPELL 🌑
## Primary — Dark Curse
Apply:
* Blindness for 10 seconds
* Slowness III
Use dark smoke and shadow particles.
## Secondary — Blackout
Apply:
* Blindness
* Cannot eat for 5 seconds
Use a darkness burst and unique curse sound.
## Passive — True Invisibility
After 6 successful hits within 9 seconds:
* Activate true invisibility for 10 seconds.
Use shadow particles when activating.
---
# METAL SPELL ⚙️
## Primary — Metal Slam
Slam the ground.
* Deal 3 hearts true damage to whoever hit the caster.
Visuals:
* Metallic shockwave
* Ground impact
* Metal fragments
* Screen shake
## Secondary — Metal Strength
Give:
* Strength III
* Duration: 10 seconds
While using a sword:
* Sword attacks can disable an opponent's shield.
Use heavy metallic activation sounds.
## Passive — Crushing Axe
After 3 axe critical hits:
* Stun opponent.
* Apply 50% armor damage/reduction effect.
* Duration: 9 seconds.
Use:
* Armor cracks
* Metal fragments
* Impact animation
---
# BLOOD SPELL 🩸
## Primary — Blood Strike
The caster's next successful hit:
* Deals 3 hearts.
* Heals caster for 3 hearts.
Use:
* Blood impact
* Red flash
* Blood particles
* Lifesteal sound
## Secondary — Blood Vines
Spawn blood vines from the ground.
* Vines spawn within 10 blocks of players.
* Every 2 seconds, players standing in vines receive Poison X.
* Vines last 15 seconds.
* Vines then completely disappear.
Use:
* Growing vines
* Blood particles
* Ground cracks
* Red mist
Do not permanently modify the world.
## Passive — Blood Feast
After 4 successful full hits:
* For 5 seconds, each full successful hit restores 1 hunger/saturation.
Only full successful hits count.
---
# LIGHT SPELL ✨
**SPECIAL / ADMIN-ONLY**
Light cannot appear through normal randomization.
## Primary — Light Teleport
Teleport the caster toward the location they are looking at.
* Must have a cooldown.
* Cannot be spammed.
Use:
* Bright beam
* Holy particles
* Flash
* Teleport sound
## Secondary — Divine Power
Apply all applicable Light effects at level II.
Use bright holy visuals.
## Passive — Holy Surge
After 9 gap uses:
* Regen II
* Speed III
* Resistance II
* Duration: 12 seconds
Use a large holy transformation animation.
---
# BONE SPELL 🦴
**SPECIAL / ADMIN-ONLY**
Bone cannot appear through normal randomization.
## Primary — Bone Dash
Dash forward.
If the dash hits:
* Stun for 9 seconds.
* Target cannot use Ender Pearls during the stun.
Use:
* Bone fragments
* Skull-like dash trail
* Heavy impact
* Bone-cracking sound
## Secondary — Bone Curse
AoE attack.
Enemies affected:
* Lose 4 hearts.
* Receive Wither for 10 seconds.
Use bone explosions and dark curse particles.
## Passive — Bone Breaker
After 4 axe critical hits:
* Weakness III
* Mining Fatigue
* Blindness
* Duration: 13 seconds
---
# GRAVITY SPELL 🌀
## Primary — Gravity Hook
Fire a gravity hook.
* Pull players slowly toward the caster.
* Pull them exactly toward the caster.
* Do NOT pull them upward.
* Target cannot eat while hooked.
Use:
* Gravity tether
* Distortion
* Pulling particles
* Gravity sound
## Secondary — Gravity Slam
* Launch enemies into the sky.
* Slow them while airborne.
* Slam them back down.
* Deal 3 hearts true damage.
Use:
* Gravity distortion
* Launch animation
* Falling effect
* Ground impact
## Passive — Gravity Combo
After an enemy is comboed with 4 hits:
* Apply Slow Falling for 5 seconds.
If players are within 10 blocks, each hit can damage the Slow-Falling target through the Gravity effect.
---
# FROST — ABSOLUTE ZERO ❄️
Frost's visual identity must clearly communicate that the temperature is dropping toward absolute zero.
Use:
* Icy blue
* White
* Pale cyan
* Snowflakes
* Ice shards
* Crystalline effects
* Frozen air
* Cold mist
* Frost particles
Do not make Frost look like generic Water.
---
## Primary — Absolute Zero
Activation command:
`/frost`
Also connect this ability to the normal Primary spell system.
When activated, send:
**“You unleash Absolute Zero!”**
Create a **10-block-radius Frost Zone** around the caster.
Enemies inside:
* Are frozen in place for 3 seconds.
* Receive 2 hearts Frost/Cold true damage.
* True damage ignores armor and protection.
* After the freeze, receive Slowness IV for 12 seconds.
* Become Chilled for 10 seconds.
This is a normal Frost stun, meaning players CAN use Ender Pearls while frozen.
### Activation Animation
* Frost circle forms at caster's feet.
* Circle expands to 10 blocks.
* Temporary frost/snow appears.
* Ice crystals rise around the perimeter.
* Cold mist spreads across the ground.
* Snowflakes fall.
* Pale-blue particles spiral upward.
* Frozen shards float around the zone.
* Large crystalline ice ring appears.
Play a deep icy activation sound.
### Freeze Animation
Affected enemies receive:
* Crystal/ice aura
* Ice shards around feet
* Orbiting snowflakes
* Visible frost on armor
* Crystalline burst
* Frozen mist
* Small ice particles rising
Play a unique crystallization/freeze sound.
### Damage Animation
On Frost damage:
* Cyan/white flash
* Ice-shard explosion
* Snowflake burst
* Deep frostbite sound
### Expiration
When the ability ends:
* Ice ring cracks.
* Crystals shatter.
* Snow fades.
* Temporary frost disappears.
* Cold mist bursts outward.
---
# FROST SECONDARY — GLACIER STEP
Activation:
**Crouch + Left-Click**
Also connect it to the normal Secondary cooldown system.
Effects:
* Speed II
* Jump Boost II
* Duration: 8 seconds
## Ice Trail
While moving:
* Create a temporary ice trail.
* Ice/trail disappears after 3 seconds.
* Never permanently modify the world.
* Restore original blocks correctly.
* Never create terrain exploits.
## Enemy Contact
Enemies touching the trail:
* Slowness II for 5 seconds.
* 0.5 hearts Frostbite damage.
* Chilled for 10 seconds.
Prevent damage from occurring every tick.
Use an internal per-target hit cooldown.
### Activation Visuals
* Ice forms at feet.
* Frost travels up legs.
* Two crystalline rings expand.
* Snowflake burst.
* Ice-cracking sound.
### Movement Visuals
* Pale-blue aura
* Snowflake trail
* Ice crystals at feet
* Shimmering frost trail
* Small ice shards
* Cold mist
Every new trail section can create a small frost explosion.
### Enemy Contact Visuals
* Ice grows around enemy feet.
* Ice shards shoot upward.
* Snowflakes surround their legs.
* Cyan frost particles appear.
### Expiration
* Frost aura disappears.
* Snowflake burst occurs.
* Remaining trail melts.
* Soft crystalline shatter sound plays.
---
# FROST PASSIVE — COLD-BLOODED
Frost constantly radiates freezing air.
Enemies within 4 blocks:
* Automatically receive Slowness I.
If an enemy remains inside the aura for 3 seconds:
* Deal 0.5 hearts Frostbite damage.
Prevent constant repeated damage.
Track buildup correctly.
Leaving the range should interrupt/reset buildup as appropriate.
## Passive Visuals
The caster has:
* Subtle cold mist
* Occasional snowflakes
* Tiny floating ice crystals
* Pale-blue aura
As an enemy approaches the 3-second Frostbite threshold:
* Frost gathers around feet.
* Cold mist thickens.
* Crystals form.
* Ice cracks appear.
At the damage threshold:
* Snowflake burst
* Cyan frost shockwave
* Frostbite sound
* 0.5-heart Frostbite damage
---
# FROST CHILLED EFFECT
Whenever an enemy is hit by a Frost ability:
**Chilled = 10 seconds**
While Chilled:
* Take 10% additional Frost damage only.
* Do NOT increase unrelated damage.
* Emit snowflake particles while moving.
* Have a subtle icy aura.
* Have small frost particles.
When Chilled expires:
* Ice-crack particles.
* Soft crystalline shatter sound.
* Remove icy aura.
Chilled must never stack infinitely.
---
# FROST WATER INTERACTION
When the Frost player steps into water:
* A small safe area around their feet can temporarily freeze.
* Frost spreads outward from their feet.
* Ice crystals form.
* Thin ice surface appears.
* Snowflakes appear.
* Ice cracking sound plays.
The temporary ice:
* Melts after 2 seconds.
* Restores the original water.
* Never permanently changes the world.
* Must remain a small controlled area.
---
# FROST KNOCKBACK RESISTANCE
Frost gives:
**+10% knockback resistance**
This is NOT complete knockback immunity.
Normal knockback and other effects must still function.
---
# 14. MATERIAL AND WEAPON DROP SYSTEM
Enemies, minibosses, and bosses can have chances to drop unique materials.
Materials can be used in the main menu to craft new weapons.
Crafted weapons can potentially become weapon cards available in future runs.
Drops should be:
* Randomized fairly
* Configurable
* Non-duplicating
* Saved correctly
Do not allow death or inventory exploits to duplicate materials or weapons.
---
# 15. SPELL CARD / INDEX SYSTEM
Bosses have a chance to drop unique cards.
Cards are added to an Index.
Once unlocked:
* The card is permanently recorded.
* The corresponding weapon/ability can become available in future games/runs.
* Unlocking a card must not duplicate the physical item.
* The Index should clearly display discovered and undiscovered cards.
Use a polished GUI for the Index.
---
# 16. PVP RULES
Spell effects must correctly respect:
* PvP state
* Ally protection
* Target validity
* Cooldowns
* Spell ownership
* Death state
* Offline players
Do not damage protected allies.
Do not apply area effects through walls unless specifically intended.
Do not repeatedly affect the same target every tick unless the ability explicitly requires periodic damage.
---
# 17. ANIMATIONS
Every major ability needs a recognizable animation.
Include animations for:
* Drinking spell potion
* Equipping a spell
* Losing/replacing a spell
* Spell activation
* Spell projectiles
* Spell impacts
* Spell buffs
* Passive activation
* Passive expiration
* Stuns
* Teleports
* Dashes
* Boss abilities if applicable
* Card acquisition
* Weapon acquisition
* Death spell drop
* Cooldown becoming ready
Animations should be smooth and polished.
---
# 18. PERFORMANCE AND OPTIMIZATION
The plugin must be highly optimized.
Do NOT:
* Spawn unnecessary entities.
* Create infinite repeating tasks.
* Create excessive particles every tick.
* Leak Bukkit tasks.
* Leak listeners.
* Leave spell state after disconnect.
* Leave spell state after death.
* Leave spell state after changing spells.
* Create permanent temporary blocks.
* Create unnecessary armor stands/entities.
* Recalculate expensive effects unnecessarily.
Use efficient scheduled tasks.
Track active effects carefully.
Cancel tasks when:
* Player disconnects
* Player dies
* Player changes spell
* Effect expires
* Plugin disables
Clean up all temporary data on plugin shutdown.
---
# 19. ANTI-DUPLICATION
This is extremely important.
There must NEVER be duplication through:
* Drinking potions
* Switching spells
* Death
* Respawn
* Randomizer
* Reroll
* Disconnecting
* Reconnecting
* Dropping items
* Picking items up
* Inventory manipulation
* Commands
* Reloading
* Plugin restart
* Simultaneous events
Use one authoritative internal spell state per player.
Spell ownership must always match the player's actual active spell.
---
# 20. ANTI-EXPLOIT
Prevent:
* Cooldown bypasses
* Double casting
* Double potion consumption
* Spell duplication
* Passive loops
* Damage loops
* Infinite stun
* Infinite pull
* Infinite launch
* Infinite Frostbite
* Infinite Chilled stacking
* Temporary block duplication
* Logout exploits
* Death exploits
* Inventory exploits
* Command exploits
Validate every command and ability activation.
Only the correct player should be able to activate their spell.
---
# 21. GUI / USER EXPERIENCE
Create polished Minecraft GUIs for:
* Spell information
* Current spell
* Spell abilities
* Cooldowns
* Index
* Materials
* Crafted weapons
* Configuration where appropriate
Make the GUI clean and easy to understand.
Clearly show:
* Spell name
* Primary
* Secondary
* Passive
* Cooldown
* Passive progress
* Active effects
Use appropriate icons and descriptions.
---
# 22. SPELL CHANGE CLEANUP
When a player changes spells:
1. Remove old spell effects.
2. Stop old spell tasks.
3. Remove old passive tracking.
4. Remove old temporary states.
5. Reset spell-specific combo counters.
6. Reset old spell cooldown state where appropriate.
7. Equip the new spell.
8. Initialize the new spell.
9. Ensure the new spell does not inherit invalid effects from the previous spell.
Do not allow effects from Fire to continue after changing to Frost, for example.
---
# 23. DISCONNECT / RECONNECT
When a player disconnects:
* Save their correct spell state.
* Clean temporary runtime tasks.
* Do not duplicate their spell.
* Do not create a potion accidentally.
* Do not lose permanent Index unlocks.
* Do not lose legitimate progression.
When they reconnect:
* Restore only the correct state.
* Never restore a duplicated spell.
---
# 24. DEATH / RESPAWN SAFETY
Death must process only once.
On death:
* Remove active spell.
* Drop exactly one corresponding spell potion.
* Clear active spell.
* Clear temporary spell effects.
* Clear passive tracking.
* Clear ability tasks.
On respawn:
* Do not automatically duplicate the old spell.
---
# 25. CONFIGURATION
Make important values configurable where practical, including:
* Cooldowns
* Damage
* Durations
* Ranges
* Passive requirements
* Drop chances
* Chilled duration
* Frost durations
* Particle intensity
* Sound settings
However, the default configuration must match this prompt exactly.
---
# 26. FINAL QUALITY REQUIREMENTS
The finished plugin must feel like a complete professional PvP spell plugin.
Prioritize:
* Smooth gameplay
* Fair PvP
* Clear feedback
* Unique spell identities
* Strong animations
* High-quality particles
* Unique sounds
* Reliable cooldowns
* Reliable spell ownership
* Anti-duplication
* Ally protection
* Performance
* Exploit prevention
* Clean code
* Easy configuration
Every spell should feel completely different.
Fire should feel destructive and aggressive.
Water should feel fluid and controlling.
Lightning should feel extremely fast and electrical.
Darkness should feel mysterious and disabling.
Metal should feel heavy and powerful.
Blood should feel aggressive and lifesteal-focused.
Light should feel holy and extremely rare.
Bone should feel brutal and cursed.
Gravity should feel powerful and physically manipulative.
Frost should feel like the temperature itself is collapsing toward **Absolute Zero**.
Do not leave any ability unfinished or non-functional.
Every Primary, Secondary, and Passive described above must actually work in-game.
Set up the Paper 1.21.11 plugin, configuration, and registered commands.
Build persistent spells, potion swapping, activation binds, allies, cooldowns, and spell GUIs.
Add spell-specific animated VFX, a custom cooldown HUD, and generated pixel-art resource-pack icons.
Document setup and controls.
Created the LegendarySpells project with the Paper 1.21.11/Java 21 setup, spell definitions, initial primary and secondary abilities, persistent spell ownership and control binds, tagged spell/randomizer potions, cooldowns, ally commands, spell menu and index, and a custom-icon cooldown HUD.
The plugin generates an original pixel-art HUD resource pack on startup. Host plugins/LegendarySpells/LegendarySpells-ResourcePack.zip and set settings.resource-pack-url in config.yml for players to see those icons. Build with ./gradlew build; a compiled JAR was not produced here.
can utell me step by step on how to do that or do it for me
What would you like help doing? Tell me the feature or change you mean, and I can either walk you through it step by step or make the changes in the project for you.
the rescource pack
Do you mean you want me to make a resource pack (custom textures, sounds, or item models), or set up the server/plugin to send a resource pack to players? Tell me which one—and what you want it to include—and I can do it for you or guide you step by step.
set up the server/plugin to send a resource pack to players the one you made for my legendary spell plugin
The plugin is already set up to send the pack when settings.resource-pack-url is filled in. It generates the ZIP at:
plugins/LegendarySpells/LegendarySpells-ResourcePack.zip
To enable it:
Start the server with the LegendarySpells plugin so it generates the ZIP.
Upload that ZIP without unzipping it to a host that gives you a public, direct HTTPS download URL.
In
plugins/LegendarySpells/config.yml, set the URL, for example:YAMLsettings: resource-pack-url: 'https://your-host.example/LegendarySpells-ResourcePack.zip'Restart the server. Players will be prompted to download the pack when they join.
I can’t fill in the URL until the ZIP is hosted somewhere; send me the direct HTTPS link and I can give you the exact config line.
spelltestin.minehut.gg make 6 more spells and this is my host so what would i put in the whole thing give me the copy and paste url for rescource pack
Add six spells using the plugin’s existing spell structure.
Explain the exact resource-pack setting;
spelltestin.minehut.ggis a Minecraft server address, not a downloadable pack URL.
Add six ordinary spells—Wind, Earth, Poison, Sound, Crystal, and Soul—with working primary, secondary, passive, and hit-trigger abilities.
Add their cooldown defaults; the existing generator automatically makes their HUD icons.
Added six spells: Wind, Earth, Poison, Sound, Crystal, and Soul, each with primary, secondary, and passive abilities. Their HUD icons are included in the pack the plugin generates at plugins/LegendarySpells/LegendarySpells-ResourcePack.zip.
spelltestin.minehut.gg is your Minecraft server address, not a downloadable resource-pack URL. You can’t use it as the pack URL. First, restart the server so the plugin generates the updated ZIP, then download that ZIP and upload it to a public HTTPS file host. In plugins/LegendarySpells/config.yml, set:
settings:
resource-pack-url: 'PASTE_THE_PUBLIC_HTTPS_DOWNLOAD_LINK_HERE'
The link needs to download the ZIP directly. Once you have uploaded it and received that link, replace the placeholder with it and restart the server.
package com.legendary.spells;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;
public final class LegendarySpells extends JavaPlugin {
private ProfileManager profiles;
private SpellEngine spellEngine;
private SpellListener spellListener;
@Override
public void onEnable() {
saveDefaultConfig();
getDataFolder().mkdirs();
profiles = new ProfileManager(this);
profiles.load();
spellEngine = new SpellEngine(this);
spellListener = new SpellListener(this);
getServer().getPluginManager().registerEvents(spellListener, this);
getServer().getPluginManager().registerEvents(new MenuListener(this), this);
SpellCommand command = new SpellCommand(this);
for (String name : List.of("spell", "spellsettings", "frost", "cooldown", "rerollspell", "allie", "accept", "delallie", "admin", "index")) {
if (getCommand(name) != null) getCommand(name).setExecutor(command);
}
ResourcePackGenerator.generate(this);
Bukkit.getScheduler().runTaskTimer(this, spellEngine::tickHudAndPassives, 20L, 10L);
for (Player player : Bukkit.getOnlinePlayers()) spellListener.initialize(player);
getLogger().info("LegendarySpells enabled: " + SpellType.values().length + " spells loaded.");
}
@Override
public void onDisable() {
if (profiles != null) profiles.save();
if (spellEngine != null) spellEngine.cleanup();
}
public SpellType randomNormalSpell() {
List<String> excluded = new java.util.ArrayList<>(getConfig().getStringList("settings.randomizer-exclusions"));
for (String special : getConfig().getStringList("settings.special-spells")) {
if (!excluded.contains(special)) excluded.add(special);
}
List<SpellType> eligible = SpellType.normalSpells().stream()
.filter(type -> !excluded.contains(type.key()))
.toList();
if (eligible.isEmpty()) eligible = SpellType.normalSpells();
return eligible.get(ThreadLocalRandom.current().nextInt(eligible.size()));
}
public ProfileManager profiles() { return profiles; }
public SpellEngine spells() { return spellEngine; }
public SpellListener listener() { return spellListener; }
}