— MINECRAFT 11 GOD WEAPONS + RITUAL PLUGIN (v2 — Full Ability Detail)
You are a senior Minecraft Java/Paper plugin developer.
Build a complete, production-ready Minecraft plugin named:
GodWeapons
The plugin must be written in Java using the Paper API.
Do NOT provide pseudo-code, incomplete examples, TODOs, or placeholder methods.
Generate the complete project with all required Java files, pom.xml, plugin.yml, config.yml, messages.yml, and README.
The project must compile successfully with:
global-tuning:
cooldown-reduction-percent: 25 # reduces all cooldowns ~20-30% for a more spammable feel
max-target-range: 45 # raised from base 30 for more dominant ranged play
critical-hit:
enabled: true
chance-percent: 10
damage-multiplier: 1.5
The final .jar must be installable on a Paper Minecraft server.
---
1. MINECRAFT VERSION
Target a modern Paper Minecraft version. Use modern Paper API and avoid deprecated APIs where possible. If an API differs between versions, use the correct API for the selected target version.
---
2. MAIN CONCEPT
Create exactly 11 unique God Weapons. Every God Weapon has:
- Unique weapon ID, display name, lore, base material
- PersistentDataContainer identification
- Custom crafting recipe
- Two abilities with cooldowns, particles, sounds, damage/effects
- One-time crafting per player
- 15-minute post-crafting Ritual (destructible)
- Persistent storage for all of the above
There must be NO Dash abilities anywhere in the plugin.
---
3. CRAFTING RULE
A player can craft each individual weapon only ONCE, but can eventually craft all 11 different weapons. Do NOT limit a player to only one God Weapon total.
---
4. PERSISTENT ONE-TIME CRAFTING
Crafting status must survive server restart/reload, disconnect, death, world change, losing/dropping/destroying the weapon. Store this in YAML or SQLite — never only in memory.
---
5. ADMIN RECIPE UNLOCK SYSTEM
All 11 recipes start LOCKED. Only godweapons.admin can run:
weapons:
thunder_sword:
custom-model-data: 1001
Unlock/lock state must persist across restarts.
---
6. ADMIN COMMANDS
combat:
damage-players: true
damage-owner: false
friendly-fire: true
give does not count as crafting by default (configurable). reset/resetall clear crafting records. reload safely reloads config/messages.
---
7. PERMISSIONS
godweapons.admin— admin commandsgodweapons.use— abilitiesgodweapons.craft— crafting
---
8. THE 11 GOD WEAPONS — FULL ABILITY DETAIL (POWER-BOOSTED)
All numeric values below are defaults and must be fully configurable in config.yml. Every ability requires: sneaking + weapon in main hand + correct click type + godweapons.use + cooldown expired. Never triggers from offhand, dropped items, or renamed vanilla items.
---
WEAPON 1 — THUNDER SWORD
ID: thunder_sword | Material: NETHERITE_SWORD
Ability 1 — Lightning Strike (Shift+Right Click, cooldown 5s)
- Ray-trace line of sight up to 35 blocks to find target block/entity.
- Strike a visual-only lightning bolt (
LightningStrikewithsetEffect(true)— no fire, no block ignition) at the target point. - Deal 14 damage to the primary target, plus AoE damage to all enemies within a 10-block radius (falloff by distance).
- Chain effect: arcs to up to 3 additional enemies within 5 blocks of the initial strike, each taking 60% of base damage.
- Particles:
ELECTRIC_SPARKburst +CLOUDring at impact. Sound:ENTITY_LIGHTNING_BOLT_THUNDER+ENTITY_LIGHTNING_BOLT_IMPACT.
Ability 2 — Thunder Storm (Shift+Left Click, cooldown 30s)
- Strikes 10 randomized lightning bolts (visual-only) within a 16-block radius of the target point, staggered over 6 seconds (1 every ~0.6s).
- Each strike deals 10 AoE damage in a 4-block radius.
- Enemies hit multiple times accumulate stacking Slowness (up to Slowness III).
- Particles:
ELECTRIC_SPARK+CLOUDper strike. Sound: rolling thunder loop (throttled, not per-tick).
---
WEAPON 2 — INFERNO BLADE
ID: inferno_blade | Material: NETHERITE_SWORD
Ability 1 — Fire Blast (cooldown 5s)
- Launches a fire-themed projectile (small fireball or particle-trailed snowball substitute, damage handled manually — not vanilla fireball block damage).
- On hit: 12 damage + Fire tick (Level 2) for 8 seconds.
- Particles:
FLAMEtrail. Sound:ENTITY_BLAZE_SHOOT+ITEM_FIRECHARGE_USE.
Ability 2 — Meteor Strike (cooldown 35s) — "Canon-style" mass visual explosion, no real TNT/block damage
- Ray-trace to target location (max 30 blocks).
- Spawn a falling marker (Snowball, Shulker, or Falling Block particle) that descends from ~20 blocks above the target over ~1 second, with
FLAME+SMOKE_LARGEtrail, to sell the "incoming meteor" look. - On impact: trigger a staggered visual mega-explosion — 40–80 calls to
world.createExplosion(loc, power, false, false)(fire=false, blockDamage=false) at small randomized offsets within a 9-block radius, spread over ~1.5 seconds, layered withEXPLOSION_EMITTER,FLAME, andLAVAparticles to simulate the effect of a massive TNT chain ("1000 TNT" look) without spawning any real TNT entities or damaging terrain. - Damage is calculated manually (not from real explosion physics): 25 damage at center, falling off to 8 damage at radius edge; spawns 2–3 secondary mini-impacts around the main point for extra AoE coverage.
- Sound:
ENTITY_GENERIC_EXPLODElayered/rapid-fire during the sequence + aTitlemessage ("☄ METEOR STRIKE ☄") for drama. - Enemies in the blast zone are set on fire for 6 seconds.
---
WEAPON 3 — FROST SCYTHE
ID: frost_scythe | Material: NETHERITE_HOE
Ability 1 — Freeze (cooldown 8s)
- Radius 7 around the caster. All enemies inside: Slowness V (4s) + Mining Fatigue II (3s) + 4 damage.
- Particles:
SNOWFLAKE+ITEM_SNOWBALLburst. Sound:BLOCK_GLASS_BREAK(ice-crack) +ENTITY_PLAYER_HURT_FREEZE.
Ability 2 — Blizzard (cooldown 40s)
- Creates a 14-block-radius freezing zone lasting 12 seconds.
- Enemies inside take 3 damage/tick (every 2s) plus Slowness IV and Weakness II for the duration.
- Particles: continuous
SNOWFLAKEcloud (throttled to every 5 ticks). Sound: looping wind gust (throttled, not per-tick). - No terrain/ice-block placement — visual and status-effect only.
---
WEAPON 4 — VOID KATANA
ID: void_katana | Material: NETHERITE_SWORD
Ability 1 — Void Teleport (cooldown 12s) — teleport, not a dash
- Ray-trace up to 35 blocks to find a safe landing spot (solid ground beneath, no lava, no void, not inside a block).
- Instantly set the player's location (no velocity/momentum applied — this is a position teleport, never a movement dash).
- On arrival, deal a small AoE damage burst (8 damage, 3-block radius) to enemies near the landing point, turning it into an offensive repositioning tool.
- Particles:
PORTAL+REVERSE_PORTALat both origin and destination. Sound:ENTITY_ENDERMAN_TELEPORTat both points.
Ability 2 — Void Explosion (cooldown 30s)
- Dark visual explosion at target point (
createExplosionwith fire=false, blockDamage=false). - Damage 18 to all enemies within a 10-block radius.
- Pull force strong enough to guarantee enemies within 10 blocks are dragged to the center over ~1 second.
- Particles:
PORTAL,SQUID_INK(dark tint),REVERSE_PORTAL. Sound:ENTITY_ENDER_DRAGON_GROWL(short clip) +ENTITY_GENERIC_EXPLODE.
---
WEAPON 5 — OCEAN TRIDENT
ID: ocean_trident | Material: TRIDENT
Ability 1 — Water Blast (cooldown 6s)
- Water-themed projectile, 13 damage on hit, strong knockback (1.5x vanilla knockback).
- Particles:
BUBBLE_COLUMN_UP+SPLASH. Sound:ITEM_TRIDENT_THROW+ENTITY_GENERIC_SPLASH.
Ability 2 — Tsunami (cooldown 35s)
- Expanding wave-shaped particle effect out to 14 blocks in the direction the player is facing.
- Deals 20 damage + knockback + 3s Slowness (simulating being swept) to all enemies caught in the wave's path.
- No real water blocks placed — visual wave only.
- Particles:
FALLING_WATER+BUBBLE_POPalong the wave front. Sound:ENTITY_GENERIC_SPLASH+ ocean ambience burst.
---
WEAPON 6 — STORM AXE
ID: storm_axe | Material: NETHERITE_AXE
Ability 1 — Wind Blast (cooldown 6s)
- Wind projectile, 11 damage, knockback doubled vs. vanilla.
- Particles:
CLOUDtrail. Sound:ENTITY_PHANTOM_FLAP(gust) +ENTITY_BREEZE_WIND_BURST.
Ability 2 — Tornado (cooldown 40s)
- Spawns a temporary funnel effect (particle column) at target location, radius 8, lasting 8 seconds.
- Pulls enemies upward and inward each tick, dealing 4 damage/tick (every 1s).
- Auto-expires via scheduled task — no infinite loop, no permanent entity.
- Particles:
CLOUD+SWEEP_ATTACKspiraling upward. Sound: looping wind roar (throttled).
---
WEAPON 7 — SOLAR BOW
ID: solar_bow | Material: BOW
Ability 1 — Solar Shot (cooldown 6s)
- Enhanced arrow, 16 damage, sets target on fire for 6 seconds on impact.
- Particles: bright
FLASH+FLAMEburst. Sound:ITEM_TRIDENT_RIPTIDE_3(charged shot feel) + fire ignite sound.
Ability 2 — Solar Rain (cooldown 35s)
- Calls down 8 sequential solar beam strikes across a 14-block-radius target area over 4 seconds.
- Each strike deals 10 damage + brief Blindness (1s, sun-glare effect) in a 3-block radius.
- Particles:
END_ROD(light beam) +FLASH. Sound:ENTITY_GUARDIAN_ATTACK(beam-like) per strike.
---
WEAPON 8 — SOUL REAPER
ID: soul_reaper | Material: NETHERITE_HOE
Ability 1 — Soul Strike (cooldown 6s)
- Dark projectile, 13 damage + Weakness II for 10 seconds.
- Particles:
SOUL+SOUL_FIRE_FLAMEtrail. Sound:ENTITY_WARDEN_HEARTBEAT(short) +PARTICLE_SOUL_ESCAPE.
Ability 2 — Soul Drain (cooldown 30s)
- Deals 14 damage to all enemies within 6 blocks; heals the caster 50% of total damage dealt, capped at a configurable max heal (default 8 hearts / 16 HP) per use to prevent exploit loops.
- Particles:
SOULswirling into the caster. Sound:ENTITY_WITHER_AMBIENT(short) + healing chime.
---
WEAPON 9 — GALAXY STAFF
ID: galaxy_staff | Material: BLAZE_ROD
Ability 1 — Gravity Pull (cooldown 10s)
- Pulls all enemies within 20 blocks of the target point sharply toward it (near-instant pull, not gradual), dealing 11 damage on arrival.
- Particles:
END_ROD+PORTALconverging inward. Sound: deep bass rumble (ENTITY_ENDER_DRAGON_FLAPpitched down).
Ability 2 — Black Hole (cooldown 45s)
- Creates a vortex at the target location, radius 10, lasting 10 seconds.
- Continuously pulls nearby enemies toward the center each tick; deals 5 damage/tick (every 1s) to anyone inside.
- Pull force strong enough that only high-mobility escapes (elytra, ender pearl) work.
- Auto-expires via scheduled task — no infinite task.
- Particles: dense
PORTAL+SQUID_INKsphere. Sound: looping deep hum (throttled) + final collapse burst on expiry.
---
WEAPON 10 — NATURE HAMMER
ID: nature_hammer | Material: NETHERITE_AXE
Ability 1 — Root Trap (cooldown 8s)
- Radius 8 around caster. Enemies inside: Slowness VI (near-total immobilization) for 4 seconds + 6 damage.
- Particles:
VILLAGER_HAPPY(leaf-like) + vine-growth particle burst from ground. Sound:BLOCK_GRASS_BREAKlayered + nature ambience.
Ability 2 — Nature Wave (cooldown 30s)
- Circular shockwave, radius 9, dealing 14 damage + knockback to all enemies inside.
- Heals the caster 4 hearts (doubled from base).
- Particles: green
COMPOSTER/HAPPY_VILLAGERring expanding outward. Sound:BLOCK_GRASS_STEPburst + nature chime.
---
WEAPON 11 — GOD SLAYER
ID: god_slayer | Material: NETHERITE_SWORD
The strongest weapon — represents the ultimate tier.
Ability 1 — Divine Strike (cooldown 20s)
- Single extremely high-damage targeted attack: 32 damage (near-lethal to most survival-geared players).
- Visual: bright lightning-bolt strike on the target + large particle burst.
- Particles:
FLASH+END_ROD+FIREWORK. Sound:ENTITY_ENDER_DRAGON_DEATH(short clip) + divine chime.
Ability 2 — Divine Apocalypse (cooldown 120s — longest in the plugin, true "ultimate")
- Massive area attack: radius 18, 10 sequential visual lightning strikes across the area over 5 seconds.
- Damage: 40 at strike centers, falling off with distance; knockback applied to all enemies hit.
- Survivors (those who don't die) receive Slowness III + Weakness II for 8 seconds — battlefield control on top of raw damage.
- Particles: layered
FLASH,END_ROD,FLAME, andFIREWORKbursts across the whole radius. Sound: epic layered thunder + choir-like sound (ENTITY_EVOKER_CAST_SPELLpitched) +Title: "⚡ DIVINE APOCALYPSE ⚡". - Does NOT destroy blocks or terrain — purely visual/damage/status-effect based, per world-protection rules.
---
9. ABILITY ACTIVATION RULES
- Shift + Right Click = Ability 1, Shift + Left Click = Ability 2.
- Requires: sneaking + correct weapon in MAIN HAND + correct click event +
godweapons.use+ cooldown expired. - Never triggers from offhand, dropped items, vanilla items, renamed vanilla items, or lookalikes.
---
10. NO DASH ABILITIES
Strict requirement — no Dash, Charge, Lunge, or velocity-based movement abilities anywhere. Void Katana's teleport is a position teleport, never a velocity dash.
---
11. GLOBAL POWER-TUNING OPTIONS (CONFIGURABLE)
items:
drop-on-death: true
keep-on-death: false
---
12. CUSTOM ITEM IDENTIFICATION
Use PersistentDataContainer exclusively (e.g. godweapons_weapon = thunder_sword). Never identify by display name alone — a renamed vanilla Netherite Sword must never trigger abilities.
---
13. CUSTOM LORE
Every weapon needs attractive lore describing both abilities and their triggers, using the modern Adventure API/components. Example:
mvn clean package
---
14. CUSTOM MODEL DATA
/godweapon unlock <weapon>
/godweapon lock <weapon>
/godweapon unlockall
/godweapon lockall
/godweapon list
0 = disabled, plugin still functions normally.
---
15. CRAFTING RECIPES
Unique, configurable shaped recipes per weapon in config.yml, unique NamespacedKey per recipe (e.g. godweapons:thunder_sword), no duplicates.
---
16. RECIPE LOCKING
Locked = unregistered/unavailable. Unlocked = registered/available. Persisted across restarts. On startup: load unlocked list, register only those recipes.
---
17. CRAFTING EVENT SECURITY
Full validation pipeline on craft: identify weapon → check unlock status → check permission → check prior-craft status → cancel if already crafted → otherwise allow, save status, start Ritual countdown. Must be bypass-proof against shift-click, recipe book, multiple crafting tables/outputs, rapid clicking, and reconnect/restart abuse.
---
18. CRAFT SUCCESS MESSAGE
/godweapon
/godweapon help
/godweapon list
/godweapon unlock <weapon>
/godweapon lock <weapon>
/godweapon unlockall
/godweapon lockall
/godweapon give <player> <weapon>
/godweapon reset <player> <weapon>
/godweapon resetall <player>
/godweapon reload
---
19–32. RITUAL SYSTEM (unchanged from base spec)
- 15-minute delay after craft before Ritual begins (
ritual.delay-after-craft: 15m). - Ritual location/world/weapon ID/owner UUID saved at craft time; Ritual starts there even if player moves away.
- Multiple simultaneous independent Rituals per player, each with unique ID, own scheduled task — never one global timer.
- After delay, spawn a configurable altar structure (Obsidian, Crying Obsidian, Quartz, Amethyst, Soul Lantern, Enchanting Table, etc.), unique per weapon.
- Ritual Core identified via PDC (
godweapons_ritual_core,godweapons_ritual_id) — never by display name. - Ritual MUST be destructible — do not cancel
BlockBreakEventfor Ritual blocks. Players can break the Core and fail the Ritual intentionally. - On Core destruction: stop task, remove BossBar/particles/sounds/effects, mark FAILED, no reward. Message:
§c⚠ GOD RITUAL DESTROYED! §7The Thunder Sword Ritual has failed. - On survival to
ritual.duration(default 5m): particles/sounds/lightning visual, title + chat message, remove BossBar, mark COMPLETED. Message:§6⚡ THUNDER RITUAL COMPLETE! §eThe power of the Thunder God has awakened! - Configurable, extensible reward system per weapon — never grants unlimited extra weapon copies.
- BossBar shows progress; removed on complete/fail/cancel/shutdown.
- Weapon-specific Ritual particles/sounds, throttled (not per-tick spam).
- Full restart persistence: save active Rituals to disk, recalculate remaining time on load, verify Core still exists, mark FAILED if destroyed while offline, never duplicate structures.
- Strict state machine:
WAITING → ACTIVE → COMPLETEDorACTIVE → FAILED/CANCELLED. No invalid transitions.
---
33. COOLDOWNS
Per-ability, per-weapon, fully configurable (see Section 8 defaults above). Display remaining cooldown to the player (§cAbility is on cooldown: 4 seconds).
---
34. TARGETING
Ray trace / line-of-sight for all targeted abilities. max-target-range configurable (default 45 per power-tuning). Never targets the owner. Blocked by walls (no through-wall targeting).
---
35. COMBAT SETTINGS
⚡ THUNDER SWORD
A weapon blessed by the God of Storms.
Shift + Right Click → Lightning Strike
Shift + Left Click → Thunder Storm
God Weapon
---
36. WORLD PROTECTION (CRITICAL — applies to ALL explosion-style abilities)
- No permanent terrain, fire, water, or lava changes by default.
- No infinite entities, tasks, or particle loops — everything auto-expires.
- All explosions (Meteor Strike, Void Explosion, etc.) use
world.createExplosion(loc, power, false, false)(fire=false, blockDamage=false) or pure particle simulation — never real TNT entities, never actual block destruction. - Damage from these effects is calculated manually via radius/falloff formulas, not from vanilla explosion physics.
- Make world destruction configurable for server owners who want to enable it (opt-in only, disabled by default).
---
37. DEATH / DROP
§6⚔ You have crafted the GOD WEAPON: Thunder Sword!
§eA mysterious ritual will begin in 15 minutes...
Crafting status remains recorded regardless of item loss.
---
38–39. CONFIG.YML / MESSAGES.YML
Full configuration covering every numeric value above (damage, radius, duration, cooldowns, particle/sound choices, ritual settings, combat settings, world protection, global tuning). messages.yml with all message keys (prefix, no-permission, recipe-locked, already-crafted, craft-success, ritual-*, ability-cooldown, etc.) supporting color codes and placeholders (%player%, %weapon%, %ability%, %cooldown%, %time%).
---
40. TAB COMPLETION
Full tab completion for weapon IDs and online player names across all commands.
---
41. FILE STRUCTURE
``` src/main/java/ └── your/package/godweapons/ ├── GodWeapons.java │ ├── command/ │ ├── GodWeaponCommand.java │ └── GodWeaponTabCompleter.java │ ├── weapon/ │ ├── GodWeapon.java │ ├── WeaponType.java │ └── WeaponManager.java │ ├── ability/ │ ├── Ability.java │ ├── AbilityManager.java │ ├── AbilityListener.java │ └── impl/ │ ├── ThunderSwordAbilities.java │ ├── InfernoBladeAbilities.java │ ├── FrostScytheAbilities.java │ ├── VoidKatanaAbilities.java │ ├── OceanTridentAbilities.java │ ├── StormAxeAbilities.java │ ├── SolarBowAbilities.java │ ├── SoulReaperAbilities.java │ ├── GalaxyStaffAbilities.java │
Create the Maven/Paper project metadata and complete default configuration.
Add persistent weapon, recipe, crafting, cooldown, ability, ritual, command, and event systems.
Add all 11 weapon definitions, secure PDC item handling, tab completion, and installation documentation.
The core project files are created. I’m completing the event and ritual layers and tightening the cross-package weapon API so the generated project remains compilable.
Created the complete GodWeapons Paper plugin project with:
Maven build targeting Paper 1.21.4 and Java 21.
11 PDC-identified god weapons with configurable recipes, abilities, cooldowns, effects, particles, sounds, and custom model data.
Persistent crafting records, recipe unlocks, and ritual states.
Destructible ritual cores with BossBars, restart recovery, completion/failure handling, and configurable rewards.
Secure crafting validation, permissions, admin commands, tab completion, death handling, and reload support.
No dash, charge, lunge, or velocity-based player movement abilities.
Default
config.yml,messages.yml,plugin.yml, and README documentation.
The compilation failed with this error:
Compilation failed with 1 error(s):
ERROR in src/main/java/com/kodari/godweapons/ritual/RitualManager.java at line 3: cannot find symbol
import com.cryptomorin.xseries.XParticle;
^
symbol: class XParticle
location: package com.cryptomorin.xseries
=== COMPILATION ERROR ANALYSIS ===
MISSING CLASSES:
- XParticle
ACTION: Create these classes or check imports
FILES TO INVESTIGATE:
- src/main/java/com/kodari/godweapons/ritual/RitualManager.java
Please fix this error by creating a new artifact with the corrected code.
Correct the
XParticleimport to the XSeries particles package used by the project.
Fixed the compilation error by updating the import in RitualManager.java:
import com.cryptomorin.xseries.particles.XParticle;
This matches the XSeries package structure.
package com.kodari.godweapons;
import com.kodari.godweapons.ability.AbilityListener;
import com.kodari.godweapons.ability.AbilityManager;
import com.kodari.godweapons.command.GodWeaponCommand;
import com.kodari.godweapons.command.GodWeaponTabCompleter;
import com.kodari.godweapons.ritual.RitualListener;
import com.kodari.godweapons.ritual.RitualManager;
import com.kodari.godweapons.storage.PersistenceStore;
import com.kodari.godweapons.util.MessageManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
public final class GodWeapons extends JavaPlugin {
private PersistenceStore store;
private MessageManager messages;
private WeaponManager weaponManager;
private RitualManager ritualManager;
private AbilityManager abilityManager;
@Override public void onEnable() {
saveDefaultConfig();
saveResource("messages.yml", false);
store = new PersistenceStore(this);
messages = new MessageManager(this);
weaponManager = new WeaponManager(this);
ritualManager = new RitualManager(this);
abilityManager = new AbilityManager(this);
Bukkit.getPluginManager().registerEvents(new AbilityListener(this), this);
Bukkit.getPluginManager().registerEvents(new AbilityProjectileListener(this), this);
Bukkit.getPluginManager().registerEvents(new GameplayListener(this), this);
Bukkit.getPluginManager().registerEvents(new RitualListener(this), this);
GodWeaponCommand command = new GodWeaponCommand(this);
getCommand("godweapon").setExecutor(command);
getCommand("godweapon").setTabCompleter(new GodWeaponTabCompleter(this));
}
@Override public void onDisable() { if (ritualManager != null) ritualManager.shutdown(); }
public PersistenceStore store() { return store; }
public MessageManager messages() { return messages; }
public WeaponManager weapons() { return weaponManager; }
public RitualManager rituals() { return ritualManager; }
public AbilityManager abilities() { return abilityManager; }
public void reloadPlugin() {
reloadConfig();
messages.reload();
weaponManager.reloadRecipes();
}
}