📄
pasted-code-1788096920049.txt
txt
251 lines
▶
SoulRift SMP Ritual Plugin (Paper 1.21.x)
Overview
Create a custom Minecraft Paper plugin called SoulRift Rituals.
Only operators (OPs) can execute ritual commands.
The ritual creates a floating ancient structure in the sky similar to the attached image, with smooth cinematic animations suitable for YouTube videos and SMP events.
Commands
/ritual soulrift smp start Dragon Slayer
/ritual soulrift smp start Divine Sword
/ritual soulrift smp start Slayer Hammer
/ritual soulrift smp start Trapper Sword
/ritual soulrift smp start Null Sword
Requirements:
OP only.
Unlimited ritual usage.
Multiple rituals can exist in the world.
No cooldown.
Ritual starts at the command executor's location.
Ritual Start Sequence
Phase 1 - Announcement
When the ritual starts:
Broadcast to all players:
⚔ SoulRift Ritual Started!
Player:
Weapon:
Coordinates: X Y Z
Show:
Title
Subtitle
BossBar
Sounds
Particles
BossBar must show:
SoulRift Ritual
Time Remaining
Coordinates
Weapon Name
Phase 2 - Lightning Storm (3 Seconds)
For 3 seconds:
Lightning strikes around ritual area.
Lightning damages nearby players.
Dark particles appear.
Thunder sounds play.
Ritual energy effects appear.
Phase 3 - Ground Breaking Animation
The ritual structure must NOT appear instantly.
Instead:
Step 1
Small parts of the ground begin breaking.
Step 2
After a few blocks break:
A small section of the structure appears.
Step 3
More ground breaks.
More structure appears.
Repeat
Continue this pattern:
Break Ground
Appear Structure
Break Ground
Appear Structure
Break Ground
Appear Structure
Until the entire ritual is completed.
Animation must feel like:
Ancient magic is pulling the structure from another dimension.
Blocks are being reconstructed piece by piece.
Very smooth.
Cinematic.
Ritual Platform
Use the structure style from the attached image.
The ritual platform must:
Float in the air.
Be approximately 16x16.
Circular shape.
Ancient ruined design.
Block palette:
Blackstone Bricks
Cracked Blackstone Bricks
Polished Blackstone Bricks
Deepslate
Cobbled Deepslate
Deepslate Bricks
Magma Blocks
Glowstone
Obsidian
Do NOT make it perfectly symmetrical.
Add:
Broken edges
Missing pieces
Ruined sections
Uneven pillars
so it looks natural and ancient.
Pillar Animation
After the floor is completed:
Pillars appear one by one.
Requirements:
Different heights.
Some damaged.
Some partially broken.
Mostly Blackstone Brick based.
Animation:
Pillar 1 rises
Pillar 2 rises
Pillar 3 rises
...
Each pillar should smoothly rise from below.
Weapon Spawn
When ritual construction finishes:
At the center:
Spawn:
Diamond Block
Above the diamond block:
Spawn the selected custom weapon.
Examples:
Dragon Slayer
Divine Sword
Slayer Hammer
Trapper Sword
Null Sword
Floating Weapon
The weapon must:
Float above the diamond block.
Slowly rotate.
Bob up and down.
Have glowing particles.
Have a purple custom nametag.
Example:
§5Dragon Slayer
Weapon Protection
For the first 15 minutes:
Nobody can pick up the weapon.
Nobody can move the weapon.
Nobody can break the ritual.
Weapon remains floating.
Weapon Unlock
After exactly 15 minutes:
Broadcast:
⚔ The ritual weapon is now available!
Then:
Weapon drops naturally.
Gravity enabled.
Players can pick it up.
First player to pick it up keeps it permanently.
Total Ritual Animation
Construction animation duration:
17 Seconds
Entire build must be fully completed within 17 seconds.
The animation should look extremely smooth and professional.
Effects
Use:
Sounds
Lightning
Beacon
End Portal
Respawn Anchor
Wither Spawn
Ender Dragon Growl
Particles
Dragon Breath
Soul Fire Flame
End Rod
Smoke
Enchant
Portal
Performance
Support Paper 1.21.x
Lag optimized
Async tasks where possible
Smooth animations
Support 50+ players online
Goal
Create a cinematic floating ritual structure identical in style to the reference image, where the structure is assembled piece-by-piece from broken ground, lightning strikes occur, pillars rise one by one, and a floating legendary weapon appears in the center and becomes collectible after 15 minutes. The ritual should feel like a major SMP event and look impressive in YouTube videos.
I’ll create the Paper 1.21.x plugin with the command layer, ritual lifecycle manager, animated structure/weapon instance, protection listeners, and Gradle/plugin metadata.
Created the complete SoulRiftRituals Paper 1.21.x plugin.
Added
/ritual soulrift smp start <weapon>with OP-only access.Added all five weapon types.
Implemented announcement titles, broadcasts, boss bars, sounds, lightning, damage, particles, and cinematic construction.
Added floating ruined Blackstone/Deepslate platform with staggered pillars.
Added rotating, bobbing, glowing weapon display.
Added 15-minute protection period and natural weapon drop.
Added block, explosion, hopper, and weapon pickup protection.
Added support for multiple simultaneous rituals.
Added Gradle and
plugin.ymlproject metadata.
package com.soulrift.rituals;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
public final class SoulRiftPlugin extends JavaPlugin {
private RitualManager ritualManager;
@Override
public void onEnable() {
this.ritualManager = new RitualManager(this);
RitualCommand ritualCommand = new RitualCommand(ritualManager);
if (getCommand("ritual") != null) {
getCommand("ritual").setExecutor(ritualCommand);
getCommand("ritual").setTabCompleter(ritualCommand);
}
Bukkit.getPluginManager().registerEvents(new RitualListener(ritualManager), this);
}
@Override
public void onDisable() {
if (ritualManager != null) {
ritualManager.shutdown();
}
}
}