voreixz

can you make this a java 21 paper 1.21.11 plugin

πŸ“Ž 1 file 5,831 chars
πŸ“„
pasted-code-1786533171461.txt
txt 508 lines
β–Ά
πŸŒ‘ VOIDSMP PLUGIN DOCUMENTATION
Overview

VoidSMP is a custom Minecraft SMP centered around Essences. Players unlock powerful Essences by completing challenges throughout the server. Each Essence grants unique abilities, strengths, weaknesses, particles, and playstyles.

The goal is to create memorable PvP moments rather than simple stat boosts.

Core Systems
Essence System
Players unlock Essences by completing requirements.
Completing a requirement grants an Essence Item.
Using the item unlocks the Essence permanently.
Players may only equip one Essence at a time.
Essences can be swapped using:
/essence equip
Each Essence contains:
2 Abilities
Weakness
Unique Particles
Unlock Requirement
Commands
Player Commands
/essence

Opens Essence Menu.

/essence equip

Equip an unlocked Essence.

/essence unequip

Remove current Essence.

/essence info

Shows current Essence information.

/essence abilities

Shows current abilities.

/essence progress

Shows progress toward unlock requirements.

/essence list

Shows every obtainable Essence.

Admin Commands
/essence give  
/essence remove  
/essence reset 
/essence reload
Unlock Messages

When unlocking an Essence:

Title:

ESSENCE OBTAINED

Subtitle:

πŸŒ‘ Voidwalker

Sound:

Beacon Activate
End Portal Spawn

Particles:

Essence-specific burst

Optional Broadcast:

⚑ PlayerName has awakened the Voidwalker Essence!
πŸŒ‘ VOIDWALKER
Theme

Space, teleportation, kidnapping.

Requirement

Use Nether Portals 100 times.

Item

Void Core

Ability 1 β€” Rift Recall
Save a location.
Teleport back later.
Every player and mob within 10 blocks comes with you.
Ability 2 β€” Rift Anchor
Place an Anchor.
If a player stands on it:
Activate ability.
Player is pulled directly to you.
Weakness

Every teleport creates a huge Void Pulse visible to nearby players.

Particles

Idle:

Portal particles
Purple stars

Abilities:

Black smoke spiral
Purple portal fragments
⚑ SURGEWALKER
Theme

Pressure and relentless aggression.

Requirement

Land 500 player hits.

Item

Charged Core

Ability 1 β€” Static Reach

Every 5 consecutive hits:

Gain +0.5 reach

Reset on missed combo.

Action Bar:

⚑ 3 Hits | 2 More Until Reach Increase
Ability 2 β€” Voltage Overflow

At 5 Charges:

Next hit launches target upward
Lightning strikes around target
Damages nearby enemies
Weakness

Lose all Charges after leaving combat.

Particles

Idle:

Electric sparks

Ability:

Lightning arcs
Electric explosion
🩸 REAPERWALKER
Theme

Death and kill streaks.

Requirement

Kill 25 players.

Item

Reaper Sigil

Ability 1 β€” Harvest

Every player kill grants a Soul.

Maximum:

5 Souls
Ability 2 β€” Death Claim

Mark a player.

If they die while marked:

Gain Soul
Restore health
Reaper particle burst
Weakness

Marked players can occasionally sense your direction.

Particles

Idle:

Dark red mist

Ability:

Soul particles
Skull bursts
πŸŒͺ️ MOMENTUM ESSENCE
Theme

Movement mastery.

Requirement

Travel 250,000 blocks.

Item

Momentum Crystal

Ability 1 β€” Momentum

Running builds Momentum.

Ability 2 β€” Burst Step

At maximum Momentum:

Launch yourself forward
Reset Momentum
Weakness

Standing still rapidly drains Momentum.

Particles

Idle:

Wind rings

Ability:

White speed trails
πŸ•·οΈ VENOM ESSENCE
Theme

Punishing long fights.

Requirement

Kill 500 hostile mobs.

Item

Venom Fang

Ability 1 β€” Infection

Every hit applies Venom stacks.

Ability 2 β€” Rupture

Consume stacks.

Deal burst damage based on stack amount.

Weakness

Very weak in short fights.

Particles

Idle:

Green toxic mist

Ability:

Poison bursts
🦴 BONE ESSENCE
Theme

Armor destruction.

Requirement

Kill:

200 Skeletons
50 Wither Skeletons
Item

Ancient Bone

Ability 1 β€” Fracture

Consecutive hits damage armor durability.

Ability 2 β€” Breakpoint

After enough Fractures:

Ignore part of target armor.
Weakness

Needs extended fights.

Particles

Idle:

Bone fragments

Ability:

Cracking effects
❄️ FROST ESSENCE
Theme

Control enemy movement.

Requirement

Survive 5 Minecraft days in snowy biomes.

Item

Frozen Core

Ability 1 β€” Freeze Meter

Hits build Frost.

Ability 2 β€” Shatter

At max Frost:

Freeze target briefly.
Next hit deals bonus damage.
Weakness

Frozen enemies become immune for a short time after escaping.

Particles

Idle:

Snowflakes

Ability:

Ice shards
Frost bursts
πŸ”₯ INFERNO ESSENCE
Theme

Battlefield control.

Requirement

Spend 3 hours in the Nether.

Item

Infernal Heart

Ability 1 β€” Heat

Hits build Heat.

Ability 2 β€” Combustion

At max Heat:

Next hit explodes around target.
Launches nearby enemies.
Weakness

Heat decays outside combat.

Particles

Idle:

Embers

Ability:

Flame rings
Fire bursts
🌌 ECLIPSE ESSENCE
Theme

Day and Night mastery.

Requirement

Experience:

20 Day Cycles
20 Night Cycles
Item

Eclipse Relic

Ability 1 β€” Solar Form

Daytime abilities.

Ability 2 β€” Lunar Form

Nighttime abilities.

Weakness

Players can predict which form is active.

Particles

Day:

Golden sparks

Night:

Purple stars
πŸ‘‘ MONARCH ESSENCE
Theme

Server domination.

Requirement

Reach #1 on server leaderboard.

Only one player can own it.

Item

Crown of Dominion

Ability 1 β€” King's Tax

Receive a small percentage of marketplace transactions.

Ability 2 β€” Royal Bounty

Place bounties on players.

Weakness

Location occasionally revealed.

Particles

Idle:

Floating crown

Ability:

Golden rings
πŸŒ‘ VOIDLORD ESSENCE (LEGENDARY)
Theme

Ultimate Void Power.

Requirement

Obtain:

Voidwalker
Surgewalker
Reaperwalker

Then defeat the Ender Dragon.

Item

Voidlord Core

Ability 1 β€” Void Charge

PvP fills Void Charge.

Ability 2 β€” Void State

At full charge:

Enhanced abilities
Dark aura
Increased power

Duration:
20 seconds

Weakness

Long recharge time.

Particles

Idle:

Black stars
Void mist

Ability:

Massive dark vortex
Purple lightning
Kodari AI
KodariAug 12 at 11:16 am 3
VoidSMPEssences
VoidSMPEssences is a comprehensive Minecraft plugin implementing an Essence system where players unlock powerful abilities by completing challenges. Each Essence provides two unique abilities, a weakness, distinctive particles, and unlock requirements. Players can equip one Essence at a time through a GUI menu and commands. The plugin features seven unlockable Essences including Voidwalker, Surgewalker, Reaperwalker, Momentum, Venom, Bone, Frost, Inferno, Eclipse, Monarch, and the legendary Voidlord. It includes player commands for managing equipped Essences, viewing progress, and listing available Essences, plus admin commands for granting, removing, resetting, and reloading Essence data. Unlock sequences feature titles, subtitles, sounds, and particle effects with optional server broadcasts.

I’ll create the Paper 1.21.11 / Java 21 project with persistent essence progression, commands, GUI, unlock items, passive combat mechanics, and active abilities.

Created a Java 21 Paper 1.21.11 VoidSMP plugin with:

  • Persistent essence progression and unlock data.

  • All documented essences and unlock requirements.

  • Essence unlock items with custom metadata.

  • /essence GUI menu.

  • Player commands:

    • /essence

    • /essence equip

    • /essence unequip

    • /essence info

    • /essence abilities

    • /essence progress

    • /essence list

  • Admin commands:

    • /essence give

    • /essence remove

    • /essence reset

    • /essence reload

  • Combat progression for hits, kills, hostile mobs, skeletons, portals, travel, Nether time, snowy biomes, and day/night cycles.

  • Active and passive ability framework for the essences.

  • XSeries-based cross-version materials, particles, sounds, and potion effects.

  • Java 21 Gradle toolchain and Paper 1.21.11 API configuration.

voreixz

whenever i have to telelport to my riift i have to look at it

Kodari AI
KodariAug 12 at 12:10 pm 1
  1. Add a direct /essence recall activation that does not depend on where the player is looking.

  2. Wire the ability service into the command and update help/tab completion.

Added a direct Rift Recall command that does not require looking at the rift.

Use:

Plain Text
/essence recall

Requirements:

  • Voidwalker must be equipped.

  • A Rift Recall location must already be saved.

  • The existing sneak + right-click activation still works.

  • The command teleports you directly to the saved location regardless of where you are looking.

voreixz

i want first abilities to be activated by doing shift right click and second abilities shift f

Kodari AI
KodariAug 13 at 2:52 am 1
  1. Update input handling so sneak + right-click activates ability 1 and sneak + F (swap-hand key) activates ability 2.

  2. Preserve normal offhand swapping when the second ability is not activated.

Updated ability controls:

  • Shift + Right-click β†’ activates the equipped Essence’s first ability

  • Shift + F β†’ activates the equipped Essence’s second ability

  • Normal right-click no longer activates abilities.

  • Normal F/offhand swapping still works unless you are sneaking with an Essence equipped.

  • For Voidwalker:

    • Shift + Right-click saves your Rift location.

    • Shift + F recalls you to it without needing to look at the Rift.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
settings.gradle
Code
15 1,357
src/main/java/com/voidsmp/VoidSmpPlugin.java
package com.voidsmp;

import com.voidsmp.ability.AbilityService;
import com.voidsmp.command.EssenceCommand;
import com.voidsmp.gui.EssenceMenu;
import com.voidsmp.manager.EssenceManager;
import com.voidsmp.manager.ProgressManager;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public class VoidSmpPlugin extends JavaPlugin {
    private EssenceManager essenceManager;
    private ProgressManager progressManager;
    private AbilityService abilityService;
    private EssenceMenu essenceMenu;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        essenceManager = new EssenceManager(this);
        progressManager = new ProgressManager(this, essenceManager);
        abilityService = new AbilityService(this, essenceManager, progressManager);
        essenceMenu = new EssenceMenu(essenceManager);
        Bukkit.getPluginManager().registerEvents(new VoidListener(essenceManager, progressManager, abilityService, essenceMenu), this);
        EssenceCommand command = new EssenceCommand(this, essenceManager, essenceMenu, abilityService);
        if (getCommand("essence") != null) {
            getCommand("essence").setExecutor(command);
            getCommand("essence").setTabCompleter(command);
        }
        progressManager.start();
        getLogger().info("VoidSMP enabled with " + com.voidsmp.essence.EssenceType.values().length + " essences.");
    }

    @Override
    public void onDisable() {
        if (essenceManager != null) {
            essenceManager.save();
        }
    }

    public EssenceManager getEssenceManager() {
        return essenceManager;
    }
}