FOR PAPER 1.21.11 Immoral SMP Custom Plugin β Illegal Weapons
Make the name have custom fonts
Infinity Mace
Ability 1 β Black Hole
The player strikes an enemy with the Infinity Mace, creating a miniature black hole directly on the target.
Visual Effects:
A small black sphere appears at the target's chest.
REVERSE_PORTAL particles spiral inward toward the sphere.
Black and dark purple DUST particles form multiple elliptical rings around the target.
END_ROD particles occasionally streak toward the black hole.
The target becomes surrounded by rotating gravitational rings.
Nearby entities and particles are visually pulled toward the target.
Effects:
Pulls the target toward the user.
Applies increasing slowness and damage while active.
The closer the target gets to the center, the stronger the gravitational pull becomes.
The ability lasts for a short duration before collapsing.
Ability 2 β Event Horizon
Activating this ability on a target affected by Black Hole causes the gravitational effect to expand around them.
Visual Effects:
A large dark sphere forms around the target.
Multiple particle rings rotate around the target at different angles.
REVERSE_PORTAL particles spiral toward the target from outside the sphere.
DUST particles form increasingly dense gravitational rings.
The rings rotate faster as the ability progresses.
The sphere gradually contracts around the target.
Effects:
Greatly increases the gravitational pull.
Prevents the target from easily escaping.
Deals increasing damage over time.
Builds up gravitational pressure for the final ability.
At maximum charge, all particles suddenly stop.
The entire effect disappears except for a tiny black particle at the target's chest.
Ability 3 β Infinity
The ultimate ability of the Infinity Mace.
The tiny black point created by Event Horizon suddenly collapses.
Visual Sequence:
Every particle around the target rapidly gets pulled toward their chest.
All gravitational rings collapse into the singularity.
The entire effect briefly becomes silent.
A FLASH occurs at the target.
A massive black and purple shockwave expands outward.
EXPLOSION_EMITTER, END_ROD, REVERSE_PORTAL, and dark DUST particles explode outward.
Multiple gravitational rings expand from the target.
The final ring rapidly disappears.
Effects:
Deals damage based on the gravitational pressure accumulated from the previous abilities.
A target with maximum pressure can take enough damage to one-shot a fully maxed Netherite player.
If the target escapes the setup early, the damage is significantly reduced.
Combo:
Black Hole β Event Horizon β Infinity
Unknown Blade
Ability 1 β Hex
The Unknown Blade marks an enemy with an unknown magical spell.
Visual Effects:
The blade releases a thin trail of ENCHANT particles when swung.
A small magical rune appears on the target's chest.
Additional geometric particle formations appear around the target.
Floating circles, diamonds, crosses, and rings rotate around the victim.
Each successful hit adds another magical symbol.
The symbols rotate at different speeds and angles.
Effects:
Marks the target.
Successful hits increase the number of active runes.
Each additional rune increases the damage of the ultimate.
The target remains visibly marked for the duration of the ability.
At maximum stacks, the target becomes surrounded by a large collection of rotating magical symbols.
Ability 2 β Conjure
The player raises the Unknown Blade and summons a large magical circle behind themselves.
Visual Effects:
A massive circular rune forms behind the player.
END_ROD and ENCHANT particles trace the outside of the circle.
Smaller magical symbols rotate around the main circle.
The sword points toward the marked target.
The main circle releases multiple magical projectiles toward the target.
Possible projectiles:
Straight magical beams.
Spiraling projectiles.
Small homing bolts.
Ring-shaped projectiles.
Vertical magical strikes.
Successful hits continue adding magical runes to the target.
The better the user performs, the more complicated the spell becomes.
Ability 3 β Unknown
The ultimate ability of the Unknown Blade.
The user activates Unknown on a target with enough Hex stacks.
Visual Sequence:
Every rune around the target immediately stops moving.
The runes begin glowing simultaneously.
Each rune rotates toward the target.
Magical particles begin traveling from every rune toward the target.
The beams and particles converge on a single point in the target's chest.
Every magical effect disappears for a brief moment.
A FLASH occurs.
The accumulated magic detonates from the target.
A massive magical shockwave expands outward.
The remaining runes shatter and disappear.
Effects:
Damage scales with the number of Hex stacks accumulated.
Maximum stacks produce an enormous burst of damage.
With proper setup, the attack can one-shot a fully maxed Netherite player.
Missing the setup or failing to build enough stacks dramatically reduces the damage.
Combo:
Hex β Conjure β Unknown
Create the Gradle/Paper project metadata and plugin descriptor.
Add weapon definitions, custom item generation, and command distribution.
Implement particle choreography and stateful Black Hole/Event Horizon/Infinity and Hex/Conjure/Unknown combos.
Register listeners and lifecycle cleanup through the main plugin class.
Created the Paper 1.21.11 plugin project with Gradle, plugin metadata, configuration, and custom-font weapon names.
Added
/illegalweapons give <player> <infinity_mace|unknown_blade>.Implemented the Infinity Mace combo:
Right-click: Black Hole
Sneak + right-click: Event Horizon
Swap hands: Infinity detonation
Implemented the Unknown Blade combo:
Hit target: Hex stacks
Sneak + right-click: Conjure
Swap hands: Unknown detonation
Added persistent weapon identification, cooldowns, damage scaling, gravitational pulls, rune effects, rings, beams, shockwaves, and cleanup on death/logout.
package com.kodari.immoralweapons;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;
import java.util.Objects;
public final class IllegalWeaponsPlugin extends JavaPlugin {
private AbilityManager abilityManager;
@Override
public void onEnable() {
saveDefaultConfig();
abilityManager = new AbilityManager(this);
getServer().getPluginManager().registerEvents(new WeaponListener(this, abilityManager), this);
PluginCommand command = Objects.requireNonNull(getCommand("illegalweapons"));
WeaponCommand weaponCommand = new WeaponCommand(this);
command.setExecutor(weaponCommand);
command.setTabCompleter(weaponCommand);
}
@Override
public void onDisable() {
if (abilityManager != null) {
abilityManager.shutdown();
}
}
}