watchmy9mmgobang_

PAPER 1.21.11

Immoral SMP Custom Plugin — Custom Chestplates

Unknown Chestplate — Iron Chestplate texture, with the same properties as a fully maxed-out Netherite Chestplate.

Ability 1 — Arcane Spear: Fires a fast magical projectile that pierces through enemies and deals heavy damage.

Ability 2 — Rift: Opens a magical rift at the targeted location, releasing multiple projectiles upward and damaging players caught inside.

Ability 3 — Rupture: Marks a nearby enemy before violently detonating the mark, dealing massive burst damage and knocking them back.

Infinity Chestplate — Gold Chestplate texture, with the same properties as a fully maxed-out Netherite Chestplate.

Ability 1 — Gravity Crush: Targets a player and violently pulls them toward a single point before slamming them downward for heavy damage.

Ability 2 — Void Shot: Fires a compressed black-hole projectile that travels toward the target, pulling them in before exploding.

Ability 3 — Collapse: Creates a massive gravitational sphere around a target that rapidly compresses before exploding, dealing devastating damage to anyone caught inside.

ONLY ACTIVATES AND SHOWS THE ABILITIES WHEN WORN

Kodari AI
KodariAug 15 at 3:45 am 2
ImmortalChestplateAbilities
A Paper 1.21.11 Minecraft plugin adding two unique legendary chestplates with three active abilities each. The Unknown Chestplate (iron texture) grants Arcane Spear (piercing projectile), Rift (area denial with upward projectiles), and Rupture (mark-and-detonate burst). The Infinity Chestplate (gold texture) grants Gravity Crush (pull-and-slam), Void Shot (black-hole projectile with pull-in explosion), and Collapse (compressing gravitational sphere explosion). Both chestplates have fully maxed-out Netherite protection and durability. Abilities only activate when the chestplate is worn, with cooldown management, particle effects, and sound feedback. Uses the custom inventory GUI framework for ability management and configuration.
  1. Create the Paper 1.21.11 Gradle project and plugin metadata.

  2. Add custom chestplate creation, identification, maxed-netherite attributes, enchantments, and worn-only action-bar display.

  3. Add the command interface and all six abilities with cooldowns, targeting, particles, damage, knockback, and scheduled effects.

  1. Created the Paper 1.21.11 Gradle plugin with plugin.yml, Java 21, XSeries, and command registration.

  2. Added Unknown and Infinity custom chestplates with iron/gold textures, Netherite-equivalent armor attributes, Protection IV, Unbreaking III, Mending, and Thorns III.

  3. Added worn-only ability visibility through the action bar.

  4. Implemented all six abilities with particles, sounds, damage, knockback, targeting, scheduled effects, and cooldowns:

    • Unknown: Arcane Spear, Rift, Rupture

    • Infinity: Gravity Crush, Void Shot, Collapse

  5. Added commands:

    • /immortal give unknown

    • /immortal give infinity

    • /immortal ability 1|2|3

Abilities cannot activate unless the corresponding custom chestplate is equipped.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
8 727
src/main/java/com/kodari/immoralsmp/ImmoralSMPPlugin.java
package com.kodari.immoralsmp;

import com.kodari.immoralsmp.command.ImmoralCommand;
import com.kodari.immoralsmp.items.ChestplateManager;
import com.kodari.immoralsmp.skills.AbilityManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class ImmoralSMPPlugin extends JavaPlugin {
    private ChestplateManager chestplateManager;
    private AbilityManager abilityManager;

    @Override
    public void onEnable() {
        this.chestplateManager = new ChestplateManager(this);
        this.abilityManager = new AbilityManager(this, chestplateManager);

        ImmoralCommand command = new ImmoralCommand(chestplateManager, abilityManager);
        if (getCommand("immortal") != null) {
            getCommand("immortal").setExecutor(command);
            getCommand("immortal").setTabCompleter(command);
        }

        Bukkit.getScheduler().runTaskTimer(this, () -> Bukkit.getOnlinePlayers()
                .forEach(chestplateManager::showWornAbilities), 0L, 10L);
    }

    @Override
    public void onDisable() {
        if (abilityManager != null) {
            abilityManager.shutdown();
        }
    }
}