B
📎 1 file 29,668 chars
📄
pasted-code-1787534336130.txt
txt 1269 lines
▶
This is a plugin that did not get saved into kodari, here is everything you need to know and fixes that kodari had needed to fix

ULTIMATE SMP WEAPON PLUGIN — COMPLETE DEVELOPER SPECIFICATION
PROJECT OVERVIEW
Create a Minecraft plugin containing 10 custom SMP weapons/items.
The project is based around the video concept:
"I Combined Every SMP Into One Weapon..."
There are 10 SMPs, each represented by a unique weapon/item.
SMP → Weapon
Lifesteal SMP → Spear
Strength SMP → Axe
Altar SMP → Sword
Bliss SMP → Trident
Infuse SMP → Mace
Glitch SMP → Bow
Levels SMP → Crossbow
Bizarre SMP → Armor Trims
Ranked SMP → Armor
Anonymous SMP → Shield
The plugin should be designed so all custom weapons can coexist on the same server.

1. UNIVERSAL WEAPON SYSTEM
1.1 Ability activation inputs
For normal weapons, there are three ability inputs.
Input 1 — Offhand
Pressing the player's normal Minecraft Swap Offhand key activates the weapon's first ability/input.
The item does NOT need to actually be placed in the offhand.
The offhand key is simply being used as an input.
Input 2 — Crouch + Offhand
If the player is crouching/sneaking and presses the Swap Offhand key:
Crouch + Offhand = second ability/input.
Again, the weapon does not physically move into the offhand.
Input 3 — Double Offhand
Pressing the Swap Offhand key twice rapidly activates the third ability/input.
Recommended double-press detection window:
300 milliseconds
The plugin should distinguish:
Single Offhand → Input 1
Crouch + Offhand → Input 2
Double Offhand → Input 3
A double Offhand should not accidentally trigger Input 1 first.
The plugin should wait approximately 300ms to determine whether a second Offhand press occurs.

2. UNIVERSAL PROGRESSION SYSTEM
All progressive weapons use player kills to unlock their abilities.
Level requirements
Level 1
Requires 1 player kill.
Level 2
Requires 2 player kills.
Level 3
Requires 3 player kills.
Kills are cumulative.
Example:
Player gets:
Kill #1 → Level 1 unlocked.
Kill #2 → Level 2 unlocked.
Kill #3 → Level 3 unlocked.
The player does NOT need to get three additional kills for Level 3.

3. COOLDOWN SYSTEM
Every ability has its own cooldown.
Critical rule
The cooldown begins immediately when the ability is activated.
It does NOT begin after the ability's duration ends.
Example:
Ability:
Cooldown = 30 seconds
Duration = 10 seconds
At activation:
Cooldown starts immediately
At 10 seconds:
Ability ends, 20 seconds of cooldown remain
At 30 seconds:
Ability is ready
If an ability fails because it has no valid target, the developer should decide whether the cooldown is consumed based on implementation, but the preferred behavior is:
Only consume the cooldown when the ability successfully activates.

4. LIFESTEAL SMP — SPEAR
Passive — Lifesteal Hearts
Every player the wielder kills grants them:
+1 permanent maximum heart.
These hearts:
Cannot be manually withdrawn.
Cannot be converted back into another resource.
Remain until the player dies.
When the wielder dies:
They lose 1 heart.
If another player kills the wielder:
The killer does NOT receive the lost extra heart.
The heart is simply removed from the victim.

Level 1 — Circus Welcome
Inspired by ClownPierce.
Activation
Offhand.
Effect
Place a Jack O'Lantern on every player's head within a:
10-block radius
Affected players have their screens become completely black for:
5 seconds
The custom resource pack will make the Jack O'Lantern texture appear as a clown head.
Cooldown
60 seconds.

Level 2 — Speed Is My Specialty
Inspired by ManePear.
Activation
Crouch + Offhand.
Effect
The wielder performs a:
50-block dash
in whatever direction they are looking.
After the dash:
Speed V for 10 seconds.
Cooldown
30 seconds.

Level 3 — Immortal Fury
Inspired by FlameFrags.
Activation
Double Offhand.
Duration
3 seconds
Effects
The wielder becomes completely immortal/invulnerable.
Every hit performed during the ability creates a huge attack effect consisting of:
Fire
Lava
Magma
The attack should visually resemble a massive fiery sweep.
The attack:
Deals damage normally.
Burns through Fire Resistance.
Cooldown
90 seconds.

5. STRENGTH SMP — AXE
IMPORTANT
The Strength Axe does NOT provide permanent Strength.
There is no passive Strength I or Strength II.

Passive — Kill-Based Sharpness
The axe starts at:
No Sharpness
Every player the wielder kills with the weapon progression system increases the axe's Sharpness by:
+1 Sharpness
Maximum:
Sharpness X
The axe cannot exceed Sharpness X.

Level 1 — Auto Crit
Activation
The ability is automatically triggered by combat conditions rather than a separate button.
After hitting a player:
3 consecutive axe hits
without that player hitting the wielder:
Auto Crit mode activates.
Effect
The wielder can perform critical hits without jumping.
The wielder can simply attack from the ground and the attack counts as a critical hit.
Reset condition
If the opponent successfully hits the wielder:
Auto Crit mode ends.
The hit counter resets.

Level 2 — Stun
Activation
After successfully hitting a player with the axe:
5 consecutive axe hits
trigger the stun.
Effect
Target is stunned for:
5 seconds
During the stun, the target cannot:
Move.
Look around.
Cooldown
60 seconds.

Level 3 — Healing Rain
Activation
Double Offhand.
Effect
For:
5 seconds
health potions are repeatedly applied/thrown toward:
The wielder.
The wielder's trusted teammates.
Frequency:
1 health potion every 0.5 seconds.
Cooldown
90 seconds.

6. ALTAR SMP — SWORD
The Altar Sword is a fusion of six Altar weapons.
It does NOT use an actual altar mechanic.

Passive — Bloodlust
50% chance when hitting an opponent to inflict Bleed.
Each Bleed deals:
0.5 heart
of damage.

Level 1 — Nightpiercer + Wand of Illusion
Activation
Offhand.
Effect
Transform into bats for:
5 seconds
While in bat form:
Every time the wielder flies into a player:
Steal 2 hearts from that player.
The stolen-heart effect lasts:
10 seconds.
When Bat Mode ends:
Transform into a:
random mob
for:
10 seconds.
Cooldown
60 seconds.

Level 2 — Frost Scythe + Paladin's Battle Axe
Activation
Crouch + Offhand.
Effect
A giant:
yellow axe covered in frozen ice balls
falls from the sky.
When it lands:
Damage
Deals:
5 hearts
to every player within:
10 blocks
of the impact.
Freeze
Every player in the radius is frozen for:
5 seconds
Frozen players cannot:
Move.
Look around.
Damage Reflection
For the next:
10 seconds
every time another player deals damage to the wielder:
That damage is recorded.
After the 10-second window:
All recorded damage is returned to the players who dealt it, all at once.
Cooldown
90 seconds.

Level 3 — Shadow Blade + Bloodlust
Activation
Double Offhand.
Effect
Throw:
3 daggers
Each dagger:
Pulls the enemy toward the wielder.
Deals 2.5 hearts.
Once the daggers have fully retracted:
The wielder transforms into:
a pile of blood
Players walking through the blood take:
1 heart per second.
Cooldown
30 seconds.

7. BLISS SMP — TRIDENT
The Bliss Trident has TWO modes.
The modes are:
Channeling
Strength
Flux
Fire
Riptide
Life
Puff
Speed
The mode is switched using a command.
Example implementation:
/bliss switch
The Trident shares its progression between both modes.
If a player gets a kill while using Channeling, the Riptide side also progresses.
Example:
1 kill → Channeling Level 1 + Riptide Level 1
2 kills → Channeling Level 2 + Riptide Level 2
3 kills → Channeling Level 3 + Riptide Level 3

CHANNELING PASSIVE — Swordmaster
While holding the Trident:
Attack speed equals sword attack speed.

CHANNELING LEVEL 1 — Fire
Activation
Offhand.
Fireball
Throw a fireball toward the opponent.
Damage:
3.5 hearts
Impact crater
Creates a tiny:
10-block-wide crater
The crater contains:
Magma
Blackstone
Netherrack
Basalt
At the center:
Campfire
Around the campfire:
10-block ring of fire particles
Healing ring
The wielder and trusted teammates inside the ring heal:
2 hearts per second
Enemy effect
Enemies inside the ring:
Burn even if they have Fire Resistance.
Cooldown
30 seconds.

CHANNELING LEVEL 2 — Flux
Activation
Crouch + Offhand.
Stun
Stuns up to:
5 enemies
within:
10 blocks
Duration:
1 second
During the stun they cannot:
Move.
Look around.
Place blocks.
Eat.
Sonic blast
Exactly:
3 seconds after activation
fire a powerful sonic blast.
Damage:
5 hearts
Cooldown
30 seconds.

CHANNELING LEVEL 3 — Strength
Activation
Double Offhand.
Initial effect
Remove every player's active effects within:
10 blocks
Replace those effects with:
Weakness
Red tracking beams
Every nearby player within:
30 blocks
gets a red beam following/tracking them.
The beam:
Does no damage.
Constantly tracks the player.
Critical-hit mechanic
After activating:
The wielder must perform:
5 critical hits
The next critical hit, the:
6th critical hit
deals:
5 hearts
Cooldown
90 seconds.

RIPTIDE PASSIVE — Blissful Nutrition
While holding the Trident:
All food gives 2× saturation.
The player can double jump.
Double jump only functions while the Trident is held.

RIPTIDE LEVEL 1 — Life
Activation
Offhand.
Effects
Gain:
Regeneration II
Then select one player.
That player's health is locked at a randomly selected value between:
3 hearts and 9 hearts
for:
10 seconds.
Cooldown
30 seconds.

RIPTIDE LEVEL 2 — Puff
Activation
Crouch + Offhand.
Dash
Dash:
50 blocks
in whatever direction the player is looking.
Impact
Upon reaching the destination:
Slam down.
Deal 5 hearts of damage.
Buff
Gain:
Speed V for 10 seconds
Cooldown
30 seconds.

RIPTIDE LEVEL 3 — Speed
Activation
Double Offhand.
Dash
Dash:
10 blocks
in whatever direction the player is looking.
Blindness
Every player within:
10 blocks
of the landing location is blinded for:
5 seconds
Speed
Wielder gains:
Speed V for 10 seconds
Lightning
Lightning strikes the landing location.
Damage:
3 hearts
The wielder is immune to their own lightning.
Cooldown
30 seconds.

8. INFUSE SMP — MACE
This item has NO progressive abilities.
It is entirely passive.
Passive effects
While holding the Mace:
Auto critical hits.
Double jump while holding the Mace.
Swim in lava.
Auto-smelt all blocks.
Every 10 hits → set players on fire.
Hero of the Village 255.
Enchantment table always functions at Level 30.
Swim faster.
Breathe underwater.
Completely invisible to mobs.
Fortune V.
Vein mine while crouching.
Wind Charge cooldown is reduced to 0.5×.
Hitting a player can trigger lightning/thunder.
Deal 2× damage to all mobs.
Disable shields for 10 seconds.
Increased speed on ice and snow.
+5 hearts.
Every 10 hits → reveal players' health.
Internal cooldowns
Lightning effect:
2 seconds
Shield disabling:
10 seconds per target
Vein mining:
1 second
There are no other ability cooldowns because this weapon has no abilities.

9. GLITCH SMP — BOW
The Glitch Bow has four progressively unlocked glitches.
IMPORTANT:
The Glitch Bow uses Offhand to cycle between its modes, rather than using Offhand/Crouch Offhand/Double Offhand as direct abilities.
Mode cycle
Every time the player presses Offhand:
Normal Bow
↓
TP Glitch
↓
Invisibility Glitch
↓
Morph Glitch
↓
Gravity Glitch
↓
Normal Bow
The bow does NOT physically enter the offhand.
The Offhand key is simply the mode-switch input.
The player should have clear UI/action-bar feedback showing the currently selected mode.
Example:
GLITCH BOW: TP GLITCH

Passive — Saturation Glitch
Whenever the Glitch Bow successfully hits a player:
Steal:
5 saturation bars
from that player.

LEVEL 1 — TP GLITCH
Unlock
1 player kill.
Effect
Shoot a special arrow.
When the arrow lands:
Teleport the shooter to:
the arrow's exact landing location.
Cooldown
30 seconds.

LEVEL 2 — INVISIBILITY GLITCH
Unlock
2 player kills.
Effect
Shoot a special arrow.
If the arrow hits a player:
That player cannot see the Glitch Bow user for:
5 seconds
This should be a player-specific visual effect rather than simply giving the user normal potion invisibility.
Cooldown
45 seconds.

LEVEL 3 — MORPH GLITCH
Unlock
3 player kills.
Effect
Shoot a player.
When the arrow hits:
The shooter visually transforms into the player they hit.
Duration:
10 seconds
Only appearance/visual identity changes.
Do NOT transfer:
Health.
Inventory.
Armor.
Effects.
UUID.
Permissions.
Abilities.
Cooldown
60 seconds.

LEVEL 4 — GRAVITY GLITCH
Unlock
4 player kills.
Effect
Shoot a player.
When the arrow hits:
Set the target's tick rate to:
5
for:
10 seconds
Cooldown
90 seconds.

10. LEVELS SMP — CROSSBOW
Passive — XP Steal
Whenever the Crossbow hits a player:
Steal:
1 XP level
from them.
If the target has:
0 levels
nothing is stolen.
Internal cooldown
2 seconds per target.

Level 1 — XP Hearts
For every:
10 XP
the player has:
Gain:
+1 extra heart
Maximum:
10 extra hearts
This means a maximum of:
+10 hearts
from this ability.

Level 2 — Armor Repair
For every shot successfully hit within a:
5-second window
the player receives:
+10 durability
to all armor pieces.
Cooldown
45 seconds.

Level 3 — Armor Downgrade
All players within:
10 blocks
have their armor downgraded by:
1 armor level
Cooldown
90 seconds.

11. BIZARRE SMP — ARMOR TRIMS
BIZARRE SMP — TRIMS SYSTEM
Complete Plugin Specification

1. OVERVIEW
The Bizarre SMP system turns Minecraft's 18 Armor Trim patterns into custom abilities.
Every Trim has its own unique ability.
The Armor Trim itself does not automatically activate the ability.
A special custom item called the:
Bizarre Catalyst
is required to activate the ability.
The Catalyst does not need to physically be placed in the offhand.
The player's Offhand key is simply the ability activation input.

2. THE 18 BIZARRE TRIMS
The system contains all 18 vanilla Minecraft Armor Trims:
Sentry
Vex
Wild
Coast
Dune
Wayfinder
Shaper
Raiser
Tide
Ward
Silence
Rib
Snout
Spire
Eye
Host
Flow
Bolt

3. BIZARRE CATALYST
Item
Bizarre Catalyst
The Catalyst is a custom item with a unique internal identifier:
BIZARRE_CATALYST
The plugin must identify it using an internal item identifier/PDC rather than its display name.
Renaming another item to "Bizarre Catalyst" must NOT make it work.

4. HOW THE SYSTEM WORKS
Step 1
The player applies an Armor Trim to armor.
Example:
Netherite Chestplate + Wild Trim
Step 2
The player obtains a Bizarre Catalyst.
Step 3
The player equips the trimmed armor.
Step 4
The plugin detects the actual Trim pattern.
Step 5
The Bizarre Catalyst allows the corresponding ability to be activated.
Example:
Wild Trim → Vine Hoow
Bolt Trim → Thunderbolt
Dune Trim → Burrow

5. TRIM DETECTION
The plugin must detect the actual Minecraft Armor Trim data.
Do NOT identify a Trim using:
Display name
Lore
Custom name
Item name
For example, if a Wild-trimmed chestplate is renamed:
"Beans' OP Chestplate"
the plugin must still recognize:
WILD

6. ARMOR MATERIAL
The ability comes from the Trim Pattern, not the armor material.
Therefore:
Diamond + Wild
and
Netherite + Wild
both use:
Wild — Vine Hoow
The trim material/color also does not change the ability.

7. ABILITY INPUTS
Boots: /bizzare boots

Leggings: /bizzare leggings

Chestplate: /bizzare chestplate

Helmet: /bizzare helmet


Reserved for additional functionality where needed.

These will correspond to whatever trims is on whatever armor piece

8. BOLT — THUNDERBOLT
Ability
Thunderbolt
Charges
10 charges maximum
Every activation consumes:
1 charge
Activation
Offhand.
Effect
Strike a bolt of lightning.
Any target hit by the lightning is:
stunned.
Recharge
All charges completely reload over:
16 seconds
The recharge should be handled automatically by the plugin.
The player cannot exceed the maximum of 10 charges.

9. COAST — WAVE
Passive
The player can:
walk quickly on water.
Sneaking
When the player sneaks while on water:
the player sinks.

Ability
Wave
Cooldown
25 seconds
Activation
Offhand.
Effect
Throw a wave forward.
Any target hit by the wave:
Takes damage.
Is pushed backward.
The wave travels forward from the player.

10. DUNE — BURROW
Ability
Burrow
Cooldown
25 seconds
Activation
Offhand.
Burrow Duration
The player remains underground for:
5 seconds
OR until the player jumps.
Jumping immediately exits the burrow.

Movement
While burrowed, the player can move rapidly through:
shovel-breakable blocks.
The player moves faster while burrowing than they normally would.

Underground Visual Indicator
While the player is underground:
dirt-breaking particles appear above ground.
The particles should follow the player's underground position so other players can see where the burrowed player is moving.

Burrow Exit Attack
When the player exits the burrow:
Every player within:
7 blocks
is:
Stunned for 2 seconds
Damaged for 1.5 hearts

11. EYE — PIERCING STARE
Ability
Piercing Stare
Cooldown
30 seconds
Activation
Offhand.
Effect
Fire a red beam directly forward.
Damage
The beam deals:
0.5 hearts per second
to targets inside the beam.
Range
100 blocks
The beam continues forward until reaching its maximum range or being stopped by the environment.
Visual
The beam must visibly appear as a:
red beam

12. FLOW — AIR BUBBLE
Ability
Air Bubble
Activation
Offhand.
Effect
Summon an air bubble that the player can ride.
The bubble acts as a rideable entity/object.

Bubble Despawn
When the bubble despawns:
the bubble heals the player.
The exact healing amount should be configurable.

Air Burst
While riding the bubble:
Press the ability input again.
This causes the bubble to:
unleash a large air burst.
The air burst should function as a powerful outward air/wind attack.

13. RAISER — REMOTE DETONATION
Ability
Remote Detonation
Charges
4 charges
Activation
Offhand.
Effect
Throw a bomb.
The bomb becomes a remotely detonatable explosive.
The player can use the Remote Detonation ability to detonate the bomb.
Maximum stored charges:
4

14. RIB — RIB RODS
Ability
Rib Rods
Cooldown
20 seconds
Charges
Maximum:
3 charges
Activation
Offhand.
Effect
Fire a:
Soul Fireball
The Soul Fireball:
Travels forward.
Explodes when it lands.
Ignites the player who fired it.

Soul Fire
The Soul Fire:
heals the player.
The player's own Soul Fire must therefore not damage them.

15. SENTRY — RAVAGER
Passive
The player permanently has:
Hero of the Village 255

Ability
Ravager
Activation
Offhand.
Effect
Summon a:
rideable Ravager
The Ravager is only available to the player who summoned it.
It must not attack its owner.

Raid Party
Press the ability input again to summon:
a Raid Party
The Raid Party:
does not attack the Sentry player.
The Raid Party can attack other valid targets normally.

16. SHAPER — SHAPE SHIFTY
Ability
Shape Shifty
Activation
Ability input.
Effect
The player can freely:
grow and shrink.
The size is controlled by looking up and down and pressing the ability input.
The ability should allow repeated size changes without a normal cooldown.
The exact minimum and maximum sizes should be configurable.

17. WILD — VINE HOOW
Passive
The player is immune to:
debuff status effects.
This includes:
Slowness
Negative status effects
Slow Falling
The developer should maintain a configurable list of effects considered debuffs.

Ability
Vine Hoow
Cooldown
8 seconds
Activation
Offhand.
Effect
Shoot a vine forward.
The vine can attach to:
Players
Entities

Vine Duration
The vine can remain attached for up to:
5 seconds

Poison
When the vine attaches to a player/entity:
Poison II
is applied for:
5 seconds

Pull Yourself
While the vine is attached:
Attack
to pull yourself toward the hooked player/entity.
Result
You → Target

Pull Target
While the vine is attached:
Right-click
to pull the hooked player/entity toward you.
Result
Target → You

18. SILENCE — SONIC BLAST
Ability
Silence
Activation
Offhand.
Effect 1 — Blindness
Every player within the ability's radius receives:
Blindness

Effect 2 — Sonic Blast
The ability also fires a:
Sonic Blast
forward.
Damage
The sonic blast deals:
5 hearts
to targets hit.
The sonic blast travels in the direction the player is facing.
The Blindness effect and sonic blast occur as part of the same ability activation.

19. CURRENTLY UNSPECIFIED TRIMS
The following Trim mechanics have NOT yet been given their exact Bizarre SMP mechanics in this specification:
Vex
Previously described as:
Dash
but the exact mechanics have not yet been specified.
Tide
Previously described as:
Water Breathing + Knockback Wave
but the exact mechanics have not yet been specified.
Snout
Previously described as:
Fire Immunity + Fire Circle
but the exact mechanics have not yet been specified.
Ward
Previously described as:
Invisibility + Blind Cloud
but the exact mechanics have not yet been specified.
Host
Previously described as:
Cobweb Trap
but the exact mechanics have not yet been specified.
These five should remain placeholders until their exact mechanics are provided.

20. COMPLETE CURRENT TRIM TABLE
Trim
Ability
Cooldown / Charges
Sentry
Rideable Ravager + Raid Party
Not specified
Vex
Dash
Not specified
Wild
Vine Hoow + Debuff Immunity
8 sec
Coast
Wave + Water Walking
25 sec
Dune
Burrow
25 sec
Wayfinder
Not yet specified
—
Shaper
Shape Shifty
No normal cooldown
Raiser
Remote Detonation
4 charges
Tide
Not yet specified
—
Ward
Not yet specified
—
Silence
Blindness + 5-heart Sonic Blast
Not specified
Rib
Rib Rods / Soul Fireball
20 sec / 3 charges
Snout
Not yet specified
—
Spire
Not yet specified
—
Eye
Piercing Stare
30 sec
Host
Not yet specified
—
Flow
Air Bubble + Air Burst
Not specified
Bolt
Thunderbolt
10 charges / 16 sec reload


21. IMPLEMENTATION REQUIREMENTS
The developer must ensure:
Trim detection
Actual Minecraft Trim data is used.
Catalyst detection
The Bizarre Catalyst uses a unique internal identifier.
Ability input
Offhand is the primary activation input.
Temporary blocks
Any blocks generated by abilities must be tracked and cleaned up.
Temporary entities
Summoned ability entities must have ownership data so they can be associated with their creator.
Temporary effects
All temporary potion effects must be removed/handled safely when abilities end.
Combat safety
Abilities must correctly distinguish between:
The ability owner
Friendly/trusted players where applicable
Enemies
Neutral entities
Configuration
Cooldowns, damage, ranges, durations, charge counts, and other numerical values should be configurable.

22. IMPORTANT DESIGN RULE
Do NOT replace the specified Bizarre mechanics with generic interpretations.
The mechanics in this document are the authoritative mechanics for the specified Trims.
If a Trim's exact mechanic has not yet been provided, leave it as a placeholder rather than inventing a mechanic.


12. RANKED SMP — ARMOR
The Ranked SMP component is a full armor set.
Passive
All pieces have:
Protection V
Unbreakable

Helmet
Effect Duration ×2
All effects received by the wearer last twice as long.

Chestplate
Passive Resistance 1

Leggings
Second Inventory
The wearer receives another inventory/storage space.
This should function as an additional inventory separate from the normal inventory.

Boots
Ground Pound
The wearer is immune to fall damage.
If the wearer falls from:
10+ blocks
the Ground Pound activates when they land.
Impact
Deals:
3 hearts
to affected players.
Knocks players back:
10 blocks
Cooldown
NO COOLDOWN.
The Ground Pound can be activated whenever the 10+ block fall requirement is met.

13. ANONYMOUS SMP — SHIELD
Passive — Shield Recovery
After the player's shield is stunned:
2.5-second cooldown
before the shield can be stunned again.

Level 1 — Targeted Shield
The shield can be named after another player.
If the shield is named after Player X:
The wielder deals:
2× damage
to Player X.
Cooldown
30 seconds.

Level 2 — Shield Immunity
The shield cannot be stunned for:
30 seconds
after activation.
Cooldown
60 seconds.

Level 3 — Anonymous
Everyone within:
30 blocks
has:
Their skin changed to Steve.
Their displayed name changed to:
player
Duration:
20 seconds
IMPORTANT:
The wielder's own screen remains normal.
The wielder still sees everyone normally.
Only the affected players' visual identity is changed.
Cooldown
90 seconds.

14. ABILITY FEEDBACK
The plugin should provide clear feedback whenever:
An ability is activated.
An ability is unavailable because the player has not unlocked the required level.
An ability is on cooldown.
A weapon changes mode.
A player unlocks a new level.
Recommended action-bar format:
[WEAPON] [ABILITY] — READY
or:
[WEAPON] [ABILITY] — 24s
When a new level is unlocked:
LEVEL 2 UNLOCKED!

15. KILL TRACKING
Player kills must be tracked per player.
The system should not count:
Mob kills.
Environmental deaths.
Suicide/self-kills.
Fake damage events.
Only a valid player kill counts toward progression.
The kill counter should persist through:
Disconnects.
Server restarts.
The plugin should store progression persistently using UUIDs rather than player names.

16. DEATH / LIFESTEAL HEART HANDLING
Lifesteal extra hearts must be stored independently from normal Minecraft health.
When a player dies:
Remove exactly 1 Lifesteal extra heart if they have one.
Do not give that heart to the killer.
Do not remove more than one unless explicitly configured.
The plugin should safely handle players who have no extra hearts.

17. WEAPON IDENTIFICATION
Each custom weapon should have a unique internal identifier.
Do NOT identify weapons only by display name.
Recommended internal IDs:
LIFESTEAL_SPEAR - netherite spear - ,custom_model_data={strings:["1"] 
STRENGTH_AXE - netherite axe - ,custom_model_data={strings:["2"] 
ALTAR_SWORD - netherite sword - ,custom_model_data={strings:["3"] 
BLISS_TRIDENT - trident - ,custom_model_data={strings:["4"] 
INFUSE_MACE - mace - ,custom_model_data={strings:["5"] 
GLITCH_BOW - bow - ,custom_model_data={strings:["6"] 
LEVELS_CROSSBOW - crossbow - ,custom_model_data={strings:["7"] 
BIZARRE_TRIM - trims
RANKED_ARMOR - netherite armor
ANONYMOUS_SHIELD - shield - ,custom_model_data={strings:["8"] 
The plugin should use persistent item data/PDC or an equivalent reliable identifier.
This prevents renamed vanilla items from accidentally gaining custom abilities.

18. NORMAL ITEM BEHAVIOR
Custom abilities should not destroy the normal Minecraft functionality of the weapons.
Examples:
The Glitch Bow must still function as a normal bow.
The Crossbow must still fire normally.
The Trident must retain normal Trident functionality.
The Shield must still block normally.
The Mace must still perform normal Mace attacks.
The Axe must still function as an axe.
The Sword must still function as a sword.
Custom abilities are layered on top of the normal Minecraft behavior.

19. GLITCH BOW INPUT EXCEPTION
This is extremely important.
The Glitch Bow does NOT use:
Offhand = Ability 1
Crouch + Offhand = Ability 2
Double Offhand = Ability 3
Instead:
Offhand cycles the Glitch Bow mode:
Normal Bow
→ TP Glitch
→ Invisibility Glitch
→ Morph Glitch
→ Gravity Glitch
→ Normal Bow
The selected mode remains active until the player presses Offhand again.
Only the currently selected Glitch mode is activated when the player fires the bow.
The bow should never physically need to be placed in the offhand.

20. BLISS TRIDENT MODE SYSTEM
The Bliss Trident is another special case.
It has two ability sets:
CHANNELING
Level 1:
Fire
Level 2:
Flux
Level 3:
Strength
RIPTIDE
Level 1:
Life
Level 2:
Puff
Level 3:
Speed
The mode is switched using a command.
Suggested commands:
/bliss channeling
/bliss riptide
The kill progression is shared between both modes.
Example:
Player has 2 kills.
They have:
Channeling Level 2
AND
Riptide Level 2
They do NOT need separate kills for each mode.

21. DEVELOPMENT PRIORITY
Recommended implementation order:
Custom item identification.
Player kill/progression system.
Universal cooldown system.
Universal Offhand/Crouch-Offhand/Double-Offhand input system.
Lifesteal Spear.
Strength Axe.
Altar Sword.
Bliss Trident.
Infuse Mace.
Glitch Bow.
Levels Crossbow.
Bizarre Trim system.
Ranked Armor.
Anonymous Shield.
Final testing/balancing.
Resource-pack integration.
The plugin should be modular so individual weapons can be modified without breaking the other weapons.

22. IMPORTANT DESIGN RULE
The custom weapons should feel like extremely powerful SMP weapons, but they should still interact correctly with normal Minecraft mechanics wherever possible.
Do not implement these abilities as simple commands that permanently alter players.
Temporary effects must always have:
A start time.
A duration.
A cleanup process.
Death/disconnect handling.
Cooldown handling.
All cooldowns begin immediately when activated.
The final goal is for all 10 weapons to work simultaneously and reliably on the same Minecraft server.
Kodari AI
KodariAug 24 at 1:23 am 3
UltimateSmpWeapons
UltimateSmpWeapons is a comprehensive Minecraft plugin that introduces ten unique SMP-inspired weapons, each with distinct abilities, progression systems, and cooldowns. Features include a universal input system using offhand, crouch-offhand, and double-offhand presses; a kill-based progression system; and persistent player data storage. The plugin includes Lifesteal Spear, Strength Axe, Altar Sword, Bliss Trident, Infuse Mace, Glitch Bow, Levels Crossbow, Bizarre Trims, Ranked Armor, and Anonymous Shield. Each weapon has custom abilities, passive effects, and cooldowns, with full configuration support and clear action-bar feedback for all activations and cooldowns.
  1. Create the Gradle/Paper plugin skeleton and resource configuration.

  2. Add persistent UUID-based progression, cooldowns, custom-item PDC identification, and command handling.

  3. Implement the universal offhand/double-offhand input flow plus weapon and trim ability listeners.

  4. Add passive combat, death, movement, projectile, and cleanup handling for the specified SMP systems.

Created the Ultimate SMP Weapons Paper plugin project with:

  • Gradle/Paper 1.21.4 setup and XSeries compatibility.

  • UUID-based persistent kill progression.

  • Persistent Lifesteal heart storage.

  • PDC-based custom item identification.

  • Configurable cooldowns and double-offhand detection.

  • /smp give, /bliss, and /bizarre commands.

  • Core abilities for Lifesteal, Strength, Altar, Bliss, Levels, Anonymous, Glitch, and Bizarre systems.

  • Projectile tagging, temporary effects, stuns, invulnerability, combat passives, progression unlocks, and cleanup handling.

  • Placeholder handling for Bizarre trims whose mechanics were intentionally unspecified.

B
📎 1 file 20,364 chars
📄
pasted-code-1787534727938.txt
txt 320 lines
▶
FIX ONE


To Start, when I do /smp weapon give LIFESTEAL_SPEAR it will give me a trident instead of a spear

When You hover over each weapon it needs to show a description, here’s the description for each weapon

LIFESTEAL SPEAR
Enchants:
Sharpness V
Unbreakable
Lunge III
Fire Aspect
Looting III
Passive Abilities:
Ability 1: 1 kill
[Previously established Lifesteal Level 1 ability]
Ability 2: 2 kills
[Previously established Lifesteal Level 2 ability]
Ability 3: 3 kills
[Previously established Lifesteal Level 3 ability]

STRENGTH AXE
Enchants:
Unbreakable
Efficiency X
Passive Abilities:
Permanent Strength I
Kills permanently increase the axe's Sharpness.
Starts at no Sharpness.
Each player kill gives +1 Sharpness.
Maximum Sharpness X.
Ability 1: 1 kill
After hitting the same player 3 times consecutively without being hit, your attacks become Auto-Crits.
You no longer need to jump to critically hit.
The Auto-Crit effect ends when that player hits you and the counter resets.
Ability 2: 2 kills
After hitting a player 5 times consecutively with the axe, stun them for 5 seconds.
While stunned, they cannot move or look around.
Ability 3: 3 kills
For 5 seconds, Health Potions are automatically sprayed onto you and your trusted teammates.
A Health Potion is applied every 0.5 seconds.

ALTAR SWORD
Enchants:
Sharpness V
Unbreakable
Fire Aspect
Sweeping Edge III
Passive Abilities:
Ability 1: 1 kill
Transform into bats for 5 seconds.
Every time you fly into a player while in Bat Mode, steal 2 hearts from them for 10 seconds.
When Bat Mode ends, transform into a random mob for 10 seconds.
Ability 2: 2 kills
Summon a giant falling yellow axe covered in frozen ice.
When it lands, deal 5 hearts of damage to everyone within 10 blocks and freeze every player in the area for 5 seconds.
Frozen players cannot move or look around.
For the next 10 seconds, all damage dealt to you by players is stored.
After 10 seconds, all stored damage is dealt back to the players who caused it.
Ability 3: 3 kills
Throw 3 daggers.
Each dagger deals 2.5 hearts of damage and pulls the enemy toward you.
Once the enemy is fully pulled to you, transform into a pile of blood.
The blood pile deals 1 heart of damage per second to players standing in it.

BLISS TRIDENT
Enchants:
Impaling V
Unbreakable
Riptide / Channeling
(Changes depending on current mode)
Passive Abilities:
Mode changes between Channeling and Riptide.
CHANNELING MODE
Passive:
Attack speed equal to a sword.
Ability 1: 1 kill
Throw a fireball that deals 3.5 hearts of damage.
It creates a small 10-block-wide crater filled with magma, blackstone, netherrack, and basalt.
A campfire is created in the center.
A 10-block ring of fire particles surrounds the campfire.
Players inside the ring are healed for 2 hearts per second.
Enemies inside the ring burn even if they have Fire Resistance.
Ability 2: 2 kills
Stun up to 5 enemies within 10 blocks for 1 second.
Stunned players cannot move, look around, place blocks, or eat.
3 seconds after activation, release a powerful sonic blast that deals 5 hearts of damage.
Ability 3: 3 kills
Remove every player's effects within 10 blocks and replace them with Weakness.
After activation, your sixth critical hit deals 5 hearts of damage after you land 5 critical hits.
A red tracking beam follows every nearby player within 30 blocks.
The beam deals no damage and constantly tracks players.
RIPTIDE MODE
Passive:
All food gives double saturation.
Double Jump while holding the Trident.
Ability 1: 1 kill
Gain Regeneration II.
Lock one selected player's health to a random value between 3 and 9 hearts for 10 seconds.
Ability 2: 2 kills
Dash 50 blocks in the direction you are looking.
Slam into the ground, dealing 5 hearts of damage.
Gain Speed V for 10 seconds.
Ability 3: 3 kills
Perform a 10-block dash in the direction you are looking.
Blind players within 10 blocks for 5 seconds.
Gain Speed V for 10 seconds.
Strike lightning where you land, dealing 3 hearts of damage.
The lightning cannot damage you.
Cooldown:
30 seconds.

INFUSE MACE
Enchants:
Density V
Breach V
Wind Burst I
Unbreakable
Fire Aspect II
Passive Abilities:
Auto-Crits
Double Jump while holding the mace
Swim in Lava
Automatically Smelt Blocks
Every 10 hits on a player, set them on fire
Hero of the Village 255
Enchanting Table is always Level 30
Swim Faster
Breathe Underwater
Fully Invisible to Mobs
Fortune V
Vein Mine while Crouching
Wind Charge cooldown is reduced to 0.5x
Hitting a player can summon Thunder
Deal double damage to all mobs
Disable Shields for 10 seconds
Increased speed on Ice and Snow blocks
Gain +5 Hearts
Every 10 hits on a player, reveal their health
No active abilities.

GLITCH BOW
Enchants:
Power V
Unbreakable
Infinity
Flame
Punch II
Passive Abilities:
When you shoot a player with the Glitch Bow, steal 5 saturation bars from them.
Ability Selection:
Use Offhand to cycle through the Glitch abilities.
Normal Bow
→ TP Glitch
→ Invisibility Glitch
→ Morph Glitch
→ Gravity Glitch
Ability 1: 1 kill — TP Glitch
Shoot an arrow.
Teleport to wherever the arrow lands.
Ability 2: 2 kills — Invisibility Glitch
Shoot a player with the Glitch Arrow.
That player cannot see you for 5 seconds.
Ability 3: 3 kills — Morph Glitch
Shoot a player with the Glitch Arrow.
You transform into the player you shot for 10 seconds.
Additional Glitch Ability — Gravity Glitch
Shoot a player with the Gravity Glitch Arrow.
Set their tick rate to 5 for 10 seconds.

LEVELS CROSSBOW
Enchants:
Piercing IV
Quick Charge III
Unbreakable
Passive Abilities:
Whenever you shoot a player with the Crossbow, steal 1 XP level from them.
If the player has no XP levels, nothing is stolen.
Ability 1: 1 kill
For every 10 XP you have, gain 1 extra heart.
Maximum bonus: +10 hearts.
Ability 2: 2 kills
Every shot that hits a player within 5 seconds gives 10 durability to all of your armor.
Ability 3: 3 kills
Downgrade everyone's armor within a 10-block radius by 1 level.
Leveling:
Kills with the Crossbow level up the weapon normally.
The Crossbow's abilities unlock at 1, 2, and 3 player kills.

RANKED ARMOR
Helmet
Enchants:
Protection V
Unbreakable
Respiration III
Aqua Affinity
Passive:
All of your effects last 2× longer.
Chestplate
Enchants:
Protection V
Unbreakable
Passive:
All armor durability is multiplied by 1.5×.
Leggings
Enchants:
Protection V
Unbreakable
Swift Sneak III
Passive:
Gain an additional inventory.
Boots
Enchants:
Protection V
Unbreakable
Depth Strider III
Soul Speed III
Feather Falling IV
Passive:
Ground Pound.
Fall from at least 10 blocks to activate the Ground Pound.
The Ground Pound deals 3 hearts of damage and knocks players back 10 blocks.
You are immune to fall damage.
Ground Pound:
No cooldown.

ANONYMOUS SHIELD
Enchants:
Unbreakable
Passive Abilities:
After your shield is stunned, it has a 2.5-second cooldown before it can be stunned again.
Ability 1: 1 kill
If your shield is named after another player, you deal double damage to that specific player.
Ability 2: 2 kills
Your shield cannot be stunned for 20 seconds.
Ability 3: 3 kills
Everyone within a 30-block radius has their skin changed to Steve and their name changed to "player" for 20 seconds.
On your own screen, everyone still appears normal.




When you do /smpweapon give BIZARRE_TRIM, just give the bizarre catalyst as a nether star

When you do /smpweapon give RANKED_ARMOR, just give the player every Ranked armor piece

For the strength axe, level 1, the auto crits don’t work after 3 hits, and you don’t have to hit with the axe you can use any weapon you’d like, let’s say I’m doing sprint hits with the sword and I hit a player 3 times in a row without them hitting me, the auto crits will still activate using the sword, for level 2: The stun shouldn’t freeze you, it should stun you, it should make it so you can’t move, look around, or place blocks,if I hit a player while they are stunned, they should not take knockback, and level 3 just doesn’t work at all, health pots should spawn above your head and throw at you every 0.5 seconds for 5 seconds straight, Make sure you ass sound effects for every ability, when you unlock auto crits, when you stun, a player, and even when the health pots are throwing at you

For the altar sword, this also just does not really work, for level one, you don’t turn into a swarm of bats for 3 seconds, YOU SHOULD LITERALLY TURN INTO A SWARM OF BATS AND BE ABLE TO FLY FOR 3 SECONDS, and while you are in bat mode, any player you fly into will lose 2 hearts and you will take those 2 hearts for 10 seconds, once those 10 seconds are up, you you should lost the 2 hearts you took, and the player you took them from will get there 2 hearts back, once you are out of bat mode, you will turn into a random mob animal or entity, LITERALLY ANY IN THE GAME, for 7 seconds, and then return to you’re origonal player state, make sure you add a bunch of sound effects for turning into the bats, flying into players with the bats, turning into the mob, and returning back to being a regular player,
For level 2 on the altar sword: literally nothing works, so just slam the ground and have the ground shake with particles, and anyone who is in a 10 block radius will be stunned for 3 seconds, cannot move, or look around, and will not take any knockback what so ever, once those 3 seconds are up, when people are hitting you, after 5 seconds all of the damage they dealt to you will be returned back to them, if they are in a 5 block radius, pls make sure you add effects for slamming the ground, stunning the payers, and when you are being hit in the 5 second time slot that other players dmg will be dealt back to them, 
For level 3: this one doesn’t really work, I need black and gray particles to represent the daggers, and have them throwing wherever I look, make sure 3 of them throw, each dealing 2.5 hearts of dmg, and if I hit players with them, a red line of particles from me to the player I hit, will pull the player I hit from where they were, all the way to me, dont cut the pull short, pull the player all the way to me, forget about the pile of blood at the end, MAKE SURE TO ADD LOTS OF SOUND EFFECTS, there should be sound effects when daggers are thrown, players get hit by daggers, and players being pulled to me.

I would like to add a passive ABILITY with a 60 second cooldown to the altar smp sword, when you do the command /altar ability, you’re sword will duplicate into you’re offhand and whenever you hit a player with the the swords, it will deal double the damage, make sure there are lots of sound effects to this, and make sure that the sword is hitting with both the offhand and the main hand, this ability lasts for 10 seconds

I would also like to add this passive feature to the altar sword, when you fall from 8+ blocks up and hit a player with the scythe, it does a mace attack that deals 3 hearts of damage ALWAYS, once you hit a player with this mace attack, it will not work for another 30 seconds IMPORTANT: this is not an ability you activate, it’s a passive buff, DO NOT ACTUALLY TURN THE ALTAR SWORD INTO A MACE, just give it the attribute of the mace when you hit a player with the altar_sword from 8+ blocks up.

For the altar sword, when you hit a player, I want 2 variations of hits

When you hit a player, crit particles should fly across your screen like this

                X
            X
        X
    X 
X 

But it alternates, so the next hit will look like this

X
   X
      X
         X
            X

When you use the new /altar ability, the crit particles will look like this

X         X
   X   X
      X
   X    X
X         X

For the Bliss Trident, this doesn’t really work at all, let’s start with channeling mode, to start, when you throw the fireball using offhand. The fireball will throw, but it’s not only delayed, but only does half a heart of damage when it’s supposed to do 3.5 hearts of damage, and it also doesn’t even make the crater of magma, netherrack, basalt, and blackstone, AND NEITHER DOES IT PUT A CAMPFIRE IN THE MIDDLE OF THAT CRATOR THAT HEALS YOU 2 HEARTS A SECOND, And neither does it make the ring of fire particles thats 10 blocks wide which shows the area that the campfire will heal you, please add these and don’t mess it up, add sound effects, for the fire ball, fire ball explosion, and the healing from the campfire, for level 2, this one doesn’t really work one bit, It’s supposed to be a stun not a freeze, so the stun will make it so you can’t move, or look around for 2 seconds, and while stunned you cannot take knockback, then 3 seconds after the sonic blast that shoots wherever you look and deals 5 hearts of dmg, JUST A REMINDER, the sonic blast it’s supposed to shoot, is the same sonic blast that the warden shoots, so after 3 seconds, shoot the wardens sonic blast wherever you’re looking, and make it deal 5 hearts of damage, PLEASE ADD LOTS OF SOUND EFFECTS TO LEVEL 2, add sound effects when the stun happens, when the stun ends, when the sonic blast is charging for 3 seconds, and when the sonic blast shoots. Finally level 3, for strength mode, instead of the 6 crits thing, just make it charge you’re next crit and deal 6 hearts of damage, and whatever player you hit will be tracked with a red line from you to them for 30 seconds, make sure you add sound effects to the hit, and make sure you add sound effects to the tracking.

Now for the riptide mode, to switch back and forth from riptide and channeling, just change the command from /bliss channeling and /bliss riptide to, /bliss switch
For level 1 of riptide mode, it actually works just fine, just add to it so that when you use the this ability you will gain an extra 5 hearts, and after 10 seconds the hearts will go away, and make sure to add sound effects to locking hearts, and just activating the ability in general, for level 2, this is really sad, when you use the puff ability, it just immediately teleports you up the 50 blocks, DON’T DO THAT, You want to be thrown 50 blocks up like a dash, and it’s not even up, you need to be thrown wherever you look, and then while you’re in the air, you’re supposed to activate the ability a second time within 5 seconds of the dash, which will then ground pound and deal 5 hearts of damage if players get hit by it, snake sure to give speed 5 at the end, for level 3,  when you dash, it teleports you to dash just like puff, and I need it to throw you instead of teleport, and then wherever you land will make a smash sound effect and deal 3 hearts of damage, you will also gain speed 5 for 20 seconds, Make sure you add lots of sound effects

For the infuse mace
Auto critical hits dont work
Double jump while holding the Mace. doesn’t work    require mace to be held
Swim in lava doesn’t work
Auto-smelt all blocks.doesn’t work
Every 10 hits → set players on fire doesn’t work
Hero of the Village 255. works
Enchantment table always functions at Level 30. Doesn’t work
Swim faster. Doesn’t work
Breathe underwater. works
Completely invisible to mobs. Doesn’t work
Fortune V. doesn’t work
Vein mine while crouching. Doesn’t work
Wind Charge cooldown is reduced to 0.5×. Doesn’t work
Hitting a player can trigger lightning/thunder. Doesn’t work     require mace to be held
Deal 2× damage to all mobs. Doesn’t work
Disable shields for 10 seconds. Doesn’t work
Increased speed on ice and snow. Doesn’t work
+5 hearts. Doesn’t work   require mace to be held
Every 10 hits → reveal players' health. Doesn’t work

To start I would like to say, that almost all of these will not require holding the mace to preform accept for the ones I said require mace to be held, everything else can just work if the mace is in my inventory

For The glitch bow, please make a ding sound effect every time you switch modes with the bow, all modes should not immediately be unlocked with the bow, you should start with only having normal bow mode This should not say Glitch Bow Normal Bow Activated, it should just say, Bow Glitch, then when you kill a player, you unlock Tp Glitch Bow, tp glitch bow mainly works, but if you teleport to where you’re arrow landed, make sure you’re still facing the same direction from before you teleported, and please add a sound effect for shooting the bow, and for teleporting with the bow, once you get 2 kills with the bow you unlock, invis glitch bow, this does not work, when you shoot the bow, add a sound effect, and when you go invis add a sound effect, but when you use the ability and you shoot a player with the ability, the player will still be able to see you, after 3 kills, you unlock Morph glitch bow, add a sound effect for shooting the bow and morphing into the player you shot, when you shoot a player with the morph glitch bow, it does nto work, you’re name tag will remain the same, and your player skin will remain the same, what’s supposed to happen is when you shoot a player with this ability, you’re player name and player skin will be swapped with that player, pls make sure this works, finally when you have 4 player kills, you unlock gravity glitch bow, when you shoot a player with the gravity glitch bow, there tick rate will be changed to 5 for 10 seconds, when you shoot with this glitch activated, it will just say unavailable, pls make sure it’s working, and add sound effects to the player at tick rate 5, and shooting the bow. Last thing, make it so arrows can make contact with windcharges.

For the Levels crossbow, when you shoot a player, they lose one xp level, what’s supposed to happen is when you shoot a player, they will lose 1 xp level, and you will gain 1 xp level, also, for every, 10 xp you get, you do not gain another heart, please make sure that you do gain a heart for 10 xp max extra hearts is 10,

For the anonymous shield, the passive ability is supposed to change you’re shield cooldown to 2.5 seconds, however, when my shield is stunned, I still cannot put it up for 5 seconds, this needs to be 2.5,for level 1, I would like to change something on this ability, instead of renaming the shield to an online player and making all of your weapons deal double the damage to that player, when you activate this ability, a INVENTORY GUI will pop up with the player head of every online player in the INVENTORY GUI, when you select one of those players, they will not be able to break your shield, and you will deal double the damage with any weapon to that player, the duration of this ability is 2 minutes, with a 30 second cooldown, for level 2, players cannot stun you’re shield for 30 seconds, not only does that not work but I would like to add to this ability, players cannot stun you’re shield for 30 seconds, and if they do try and stun you’re shield while this ability is active, there shield will be stunned for 30 seconds, this has a 90 second cooldown for level 3, this ability is supposed to turn everyones skins to steve skins, and everyone's names to player that are in a 30 block radius, while on your screen, everyones skins and names are completely normal, this unfortunately does not work, and I need you to get it working, PLEASEEEEE, Final thing, when you activate the shield using offhand, crouch offhand, or double offhand, in order for the abilities to work, the shield has to already be in your offhand

Ok last reminder, you can only upgrade each weapon by getting a kill with that specific weapon, for context and for example, if I get a kill with the glitch bow, it will level up my glitch bow but it will not level up my altar sword, but if I got a kill with my altar sword, it will only level up my altar sword and not the glitch bow, that applies for every weapon EXCEPT the anonymous shield, if you get a kill AT ALL while you are wearing the shield in your offhand with any weapon, it will level up the shield as well, another thing to note is, weapons only upgrade if YOU killed with it, for example, if Another player who has 3 kills with the strength axe, and all 3 abilities gives me the strength axe, I will not have 3 kills with the strength axe, therefore I will not have the 3 abilities

Kodari AI
KodariAug 24 at 1:42 am 22
  1. Fix weapon distribution and metadata: spear/catalyst/ranked armor commands, weapon descriptions, and enchantments.

  2. Repair Strength Axe and Altar Sword abilities, hit effects, cooldowns, and passive behavior.

  3. Repair Bliss Trident mode switching and Channeling/Riptide abilities.

  4. Repair Infuse Mace, Glitch Bow, and Levels Crossbow passives and progression.

  5. Repair Anonymous Shield GUI/abilities and enforce weapon-specific kill progression.

  1. Weapon distribution/metadata is fixed: both command forms are supported, the Lifesteal item is no longer a trident, Ranked Armor gives four pieces, Bizarre Trim aliases the Nether Star catalyst, and item lore/enchantments are populated.

  2. Next: repair Strength Axe and Altar Sword behavior and combat effects.

  1. Strength Axe now tracks consecutive hits per attacker/target, activates crit damage at level 1, stuns without knockback at level 2, throws finite healing potions at level 3, and applies sounds. Altar now has bat/visual transformation handling, 3-second stun slam with delayed damage reflection, real dagger projectiles with full pulls, hit particles, /altar ability, duplicate-sword handling, and the falling-hit passive.

  2. Next: repair Bliss Trident Channeling and Riptide abilities.3. Bliss now has impact damage/crater/campfire ring behavior, a two-second stun followed by a directional sonic blast, charged next-critical-hit damage with a tracking beam, temporary Riptide hearts/health lock, two-stage dash/ground pound, and landing smash behavior. Mode changes also swap the vanilla Channeling/Riptide enchantment.

  3. Next: repair Infuse Mace, Glitch Bow, and Levels Crossbow passives/progression.

  1. Infuse Mace now covers carried passives and held attack checks, finite wind-charge cooldown, auto-smelting/vein mining, jump/lava/ice behavior, thunder/shield effects, health reveal, and mob damage; Glitch Bow mode cycling is locked by level with sounds and improved morph/gravity handling; Crossbow shots transfer XP levels and award capped hearts.

  2. Next: repair Anonymous Shield GUI/abilities and enforce per-weapon kill progression, including the shield’s exception.

Implemented the requested weapon and ability fixes across the plugin.

  • Added /smp weapon give, /smpweapon give, /altar ability, and /bliss switch.

  • Lifesteal Spear now uses a non-trident base item with custom model data.

  • Added full weapon/armor lore, enchantments, unbreakable metadata, Bizarre Catalyst support, and complete Ranked Armor distribution.

  • Reworked Strength Axe combos, auto-crits, stun behavior, healing-pot rain, sounds, and weapon-specific progression.

  • Reworked Altar Sword bat mode, random mob transformation, damage reflection, dagger projectiles, pulling, hit particles, duplicate-sword ability, and falling-hit passive.

  • Reworked Bliss Channeling/Riptide abilities, fireball crater/campfire, sonic blast, charged critical hit, tracking beam, temporary hearts, health locking, dash staging, and landing attacks.

  • Added Infuse Mace passives including auto-smelting, vein mining, lava protection, double jump, ice/swim speed, shield disabling, thunder hits, mob damage, health reveal, and held-mace heart bonuses.

  • Added Glitch Bow unlock-based mode cycling, sounds, improved morph/name handling, gravity slowdown, teleport facing preservation, and arrow/wind-charge collision handling.

  • Added Levels Crossbow XP transfer and persistent bonus hearts capped at 10.

  • Added Anonymous Shield target-selection GUI, offhand-only activation, target damage bonus, 2.5-second stun cooldown, immunity/reflection, anonymous naming, and Steve-profile handling.

  • Progression is now tracked per weapon, with Anonymous Shield also leveling from any kill while held in the offhand.

Viewer-specific disguises and true per-player skin visibility require packet/disguise support that is not present in the current dependencies; the implementation uses the available Paper profile/name APIs as a fallback.

B
📎 1 file 20,377 chars
📄
pasted-code-1787535814063.txt
txt 426 lines
▶
FIX TWO


Important notes: the enchants in the description of each custom weapon need to be literal enchants for each of the corresponding custom weapons

Okay to start, The Strength axe is almost perfect, ability 1 is perfect, that will not change any more, ability 2 almost works, with ability 2, you’re supposed to only be able to do the 5 crits and then stun ONLY WITH THE STRENGTH AXE, for example,
If I crit someone 5 times with the altar sword, the stun will not work, but if I crit someone 5 times with the strength axe, the stun WILL work, That's exactly what I need, and then ability 3, make sure it splashes the players head with instant health 2 at 4 splashes per second for a duration of 5 seconds, I want to be clear that the strength axe does not give you strength 1 as a passive, make sure you adjust that in the description

The Glitch Bow is also a little messed up, the tp glitch ability is perfect, we will not change that anymore, the invisibility glitch ability is messed up, when you shoot an arrow at a player with this glitch enabled, it should make you, you’re armor, your items in your main hand, and you items in your offhand, COMPLETELY INVISIBLE TO ONLY THEM for 10 seconds, after the 10 seconds is finished, me, my armor, my items in my main hand, and my items in my offhand, will no longer be completely invisible, MAKE SURE THAT THE INVISIBILITY GLITCH ABILITY IS DOING ALL OF THAT, The morph glitch ability doesn’t work, when I shoot a player with this ability enabled, it’s supposed to swap our names, and skins, with each other, but it just doesn’t work at all, Finally, the gravity glitch ability got completely removed, pls add it back and I will remind you what the ability is, when you shoot a player with this ability activated, the player you shot’s tick rate will be set to 5 for 5 seconds.

For the altar Sword this needs lots of fixing, first of all, I would like to change the name from altar sword, to altar scythe, make sure you change this in game, and make sure you change the command to give yourself the weapon from /smpweapon give ALTAR_SWORD, to /smpweapon give ALTAR_SCYTHE, we are just changing the name, it is still a netherite sword, the passive /altar ability is perfect, accept for one thing, when this ability is activated, and the scythe dupes into your offhand, make sure that when the 10 second duration of the ability is finished, whatever was in your offhand should go back in your offhand, another thing that needs work is this passive buff, PAY CLOSE ATTENTION, When you fall from 5+ blocks up, and hit a player, with the altar scythe, it will be a mace hit that does 3.5 hearts of damage no matter whatIT WILL NOT LITERALLY TURN INTO A MACE, but when you wall and you hit a player from 5+ blocks up, it will count as a mace hit, it will sound like a mace hit, and when you hit the player you will stop midair when you hit JUST like a mace, and this has a 30 second cooldown, for ability number 1, this almost completely works but it needs a little fixing, when you use ability 1 and turn into the swarm of bats, make the bats follow me so it looks like the bats are carrying me, and make it so theres 25 bats instead of 10, I would also like to increase the flying speed and the flying duration, the flying duration should be set to 5 sec, finally when you fly into a player and you steal 2 hearts from them for a short period of time, make it so that instead of flying into that player, you just have to hit them in bat mode. Once you are out of bat mode, make it so that you morph into a random mob for 10 seconds, then return to being a player once the 10 seconds is finished, for ability 2, it’s super messed up, just create a 7 block wide circle full of yellow, white, and light blue particles, and create a smash sound effect, and anyone in range of the 7 block circle will get the frozen effect, and be stunned for 3 seconds, meaning they can’t move, take knockback, look around, or place blocks6

X=Crit Particle

                              X X X
                           X X X
                        X X X
                     X X X
                  X X X
               X X X
            X X X
         X X X
      X X X
   X X X
X X X

—------------------------------------------------------------------------------------------------------------
 X X X
    X X X
       X X X
          X X X
             X X X
                X X X
                   X X X
                     X X X
                        X X X
                           X X X
                              X X X

Normal hit: alternate between the two diagonal particle patterns every time the player successfully hits someone with the Altar Scythe. The particles should travel across the player's screen diagonally, creating a large slash effect. 

—----------------------------------------------------------------------------------------------------------
X=Crit Particle

X X X X                         X X X X
  X X X                     X X X
    X X X                 X X X
      X X X             X X X
        X X X         X X X
          X X X     X X X
            X X X X X
          X X X X X X X
        X X X X X X X X X
          X X X X X X X
            X X X X X
          X X X     X X X
        X X X         X X X
      X X X             X X X
    X X X                 X X X
  X X X                     X X X
X X X X                         X X X X


/Altar Ability: use the larger symmetrical pattern, with particles moving outward from the center to create a much more powerful-looking X-shaped burst across the screen. 

The Ranked armor has lots of issues, first of all, the ranked helmet should passively make all effects 2 times longer, for example, if I splash a potion of fire resistance that lasts 8 minutes, when I have the ranked helmet on, it will last 16 minutes, that should be happening with every potion effect, but it’s not, please fix it

The Ranked chestplate needs the passive to be changed, instead of multiplying every armor pieces durability by 1.5, the ranked chestplate will now grant 5 extra hearts when the ranked chestplate is equipped, if the ranked chestplate is off, then the 5 extra hearts will go away

The Ranked Leggings also need work, the ranked leggings grant an extra inventory but theres no way to actually access the inventory, so to access it, add the command /ranked inventory when this command is used WHILE THE LEGGINGS ARE EQUIPPED, it will open an extra inventory with 27 slots in it, when you put items in the ranked inventory and you close the ranked inventory the items should still be there, when you take the leggings off the items will still be in that inventory, if another player opens the ranked inventory, those items will still be in the ranked inventory, the ranked inventory will not work unless you are wearing the ranked leggings

The ranked boots, these work just fine, I would just like to add a ground pound sound effect when you successfully ground pound

For the bliss trident, when you swap back and forth with it channeling mode should give you impaling 5, channeling, loyalty, unbreakable, while riptide mode should give you impaling 5, unbreakable, and riptide. For the channeling mode ability 1, I need it to launch a fireball that deals 3.5 hearts of damage, and when it lands it will create a bunch of nether blocks all around the area where the fireball landed, and when the fireball lands it’s supposed to make a campfire in the middle surrounded by a 9 block wide circle with fire particles as a ring around the circle, if you are are in the ring of fire, it will heal you 2 hearts a second, if you break the campfire the ring will go away and the healing won’t work, if you are an enemy in the ring, then you will be burned even through fire resistance. Make sure the fire particles aren’t just all over the place, make sure they’re on the same y level, and last time they weren’t in a ring at all they were just everywhere so make sure it’s in a ring, I have an example below.

O=individual fire particle
X=campfire
                     O
           O                O
      O                          O
  O                                 O
 O                  X               O
  O                                 O
      O                          O
           O                O
                     O

For bliss trident channeling mode ability 2, everything is perfect but change the 3 second delay before the sonic boom shoots to a 1 second delay
For bliss trident channeling mode ability 3, this is perfect and we don’t need to mess with it

For Bliss trident Riptide Mode ability 1, the regeneration part works, but it’s supposed to lock the player your looking at’s hearts and a random number of hearts between 3 hearts to 9 hearts, and it doesn’t work, so please fix it
For Bliss trident Riptide mode ability 2, I would like to change this ability, when activated you will get thrown 50 blocks straight up, then ground pound straight back down really fast, and deal 5 hearts to anyone in a 10 block radius when you come straight back down to the ground, when you come straight back down, add grey, brown, and white particles resembling a smash, and add a sound effect that makes it sound like a smash, and add a breeze sound for going straight up and down,

For bliss trident riptide mode ability 3, it works just fine, but change the dash sound to a breeze, and make the dash send you 50 blocks wherever you’re looking instead of 1-20 blocks

For the lifesteal spear, FOR SOME REASON, The lifesteal spear is a trident, Please change the lifesteal spear from a Trident to a Netherite Spear, make sure that the lifesteal spear gives you 2 extra hearts as the passive. For ability 1: rename it to “Welcome To The Circus” and for the sound effect that activates the ability, make it the sound effect when you drink an ominous bottle at a village and it triggers a raid. For ability 2: speed is my specialty, teleporting you 50 blocks in any direction you look, make it throw you 50 blocks in any direction you look, and make the sound effect sound like a dash when you activate it. Finally, for ability 3: Immortal Fury, make sure I am truly immortal and don't take damage, and make sure every hit creates a GIANT fiery sweep consisting of lava, and magma, that will appear when I hit a mob, player, or animal, and make sure that the fiery sweep will appear when I hit, and then 0.5 seconds later it will disappear from left to right, also, when you activate this ability, the fiery sweep will work with any weapon. The final thing I need for the Lifesteal spear, is to add a passive, and the passive is, when you lunge, it will not take away any saturation, or hunger.

For bizarre trims this is really messed up, if you have a trim on your helmet, chestplate, leggings, or boots, it will not have any special abilities, if you try and use /bizarre helmet /bizarre chestplate /bizarre leggings /bizarre boots, the abilities will not work (note: /bizarre  is the command that will make the trims abilities to use) In order for those commands to work, you have to have the bizarre catalyst in your inventory, you don’t have to use the bizarre catalyst, it just has to be in your inventory in order for the trim commands to work

I would like to completely redo the infuse mace, completely forget about all of the passive abilities and main abilities it had before, and replace it with the following that is below

🟣 INFUSE MACE
Enchants
Density V
Breach V
Wind Burst I
Unbreakable
Fire Aspect II

⚡ PASSIVE — INFUSION CHARGE
Every time you hit a player with the Infuse Mace, you gain:
+1 Infusion Charge
Maximum
20 charges
The charge system does not reset just because you stop holding the mace.
Charge Bar
A custom Infusion Charge bar appears at the top of the player's screen whenever the Infuse Mace is anywhere in their inventory.
Example:
INFUSION ENERGY ██████████░░░░░░░░ 10/20
The bar should visually fill as charges increase.
If the player removes the Infuse Mace completely from their inventory, the bar disappears.

⚡ 5 CHARGES — LIGHTNING INFUSION
Once you reach 5 charges:
Every time you hit a player with the Infuse Mace:
⚡ Lightning strikes the player you hit.
This remains active while you have 5 or more charges.
The lightning is an additional effect and does not replace the mace's normal damage.
Important
The lightning should not damage the attacker.

🌪️ 10 CHARGES — INFUSION DASH
At 10 charges, unlock:
/infuse dash
Cooldown
15 seconds
Activating the command causes the player to perform a powerful dash.
Recommended details to define
I'd make the dash:
Travel 20 blocks
Follow the direction the player is looking
Pass through the air normally
Leave purple/cyan/light-blue Infusion particles behind
Have a short wind/energy sound
The dash should not consume charges.
That means once you've reached 10 charges, the dash remains available as long as you stay at 10+ charges.

🌀 15 CHARGES — INFUSION THROW
At 15 charges, unlock:
/infuse throw
Cooldown
30 seconds
The player throws the Infuse Mace toward where they're looking.
Maximum Range
50 blocks
The mace travels toward the target and then returns to the player.
Player Hit
If the thrown mace hits a player:
Stun for 3 seconds
While stunned, the player:
Cannot move
Cannot look around
Cannot place blocks
Cannot eat
Cannot Take Knockback
The thrown mace then returns to its owner.
Visual
The thrown mace should have a trail of:
🟣 Purple
 🔵 Cyan
 🔵 Light Blue
Infusion particles.
The player should hear a unique throw and return sound.

💥 20 CHARGES — MAXIMUM INFUSION
Once you reach:
20/20 charges
the mace becomes fully infused.
A 10-second countdown begins.
During this countdown, the player has 10 seconds to prepare for the final release.
The mace should visibly become increasingly energized during the countdown.
After the 10 seconds:
INFUSION BALL
A gigantic ball of Infusion energy launches in the direction the player is looking.
Appearance
The ball consists of:
🩷 Magenta particles
🩵 Cyan particles
🔵 Light-blue particles
It should be very large and extremely visually noticeable.
Damage
10 hearts
That's:
20 HP
to players hit.
Range
I'd recommend making the projectile travel 50 blocks.
Explosion
When the ball hits something, it releases a massive particle explosion.
Important: It should deal its 10-heart damage to players it directly hits rather than creating a huge terrain-destroying explosion.

☠️ SPECIAL DEATH MESSAGE
If the Infusion Ball kills a player, the death message must be:
 was slain by  using [Infuse Mace]
The kill counts as an Infuse Mace kill.
Therefore, it can be used to unlock the next level of the Infuse Mace.

🔄 CHARGE RESET
After the 20-charge Infusion Ball is fired:
Infusion Charges reset to 0/20.
The player must build their charges again.
The 5/10/15-charge effects therefore become locked again until the player rebuilds their energy.

🌀 ABILITY 1 — INFUSION PORTAL
Cooldown: 75 seconds

Input: Offhand
Create an Infusion Portal wherever you’re looking by using offhand
A second portal is created at the location you're looking at by using offhand again
The two portals are linked.
Touching either portal teleports you to the other.
Duration
75 seconds
Important
Other players can also use the portals.
Visual
Portals should be made from swirling:
🟣 Purple
 🩵 Cyan
 🔵 Light Blue
Infusion particles.

🌌 ABILITY 2 — INFUSION CIRCLE
Cooldown: 60 seconds

Input: Crouch Offhand
Create a 7-block-wide circular zone centered around yourself.
The zone lasts:
10 seconds
Every 2 seconds, the Infusion Circle changes its element.

🔥 0–2 SEC — FIRE
Particles:
Orange + fiery
Enemies inside:
Are set on fire
Fire Resistance does not protect them

🧊 2–4 SEC — ICE
Particles:
White + light blue
Enemies inside:
Become frozen
Receive Slowness
Take 1 heart of damage
Frozen damage occurs at 3× the normal frequency
Fire Resistance
Fire Resistance is removed from players inside the Ice stage.
When Fire Resistance is removed:
Play a flowing lava + flowing water sound, and particle.

⚡ 4–6 SEC — LIGHTNING
Particles:
Yellow + white
Enemies inside are struck by lightning:
2 strikes per second
Each strike deals:
1 heart
So someone remaining inside for the entire Lightning phase receives repeated 1-heart strikes.

🌪️ 6–8 SEC — WIND
Particles:
White
Enemies inside are repeatedly hit by a Wind Charge effect and knocked far backward.

💗 8–10 SEC — LIFE
Particles:
Magenta
You and trusted teammates inside the circle are healed.
Enemies who are not trusted receive:
Wither
The Wither damage occurs at:
3× the normal frequency.

🧲 ABILITY 3 — INFUSION GRAVITY
Cooldown: 50 seconds

Input: Double Offhand
Target a location up to:
20 blocks away
Create a powerful gravity field at that location.
Duration
5 seconds
Players inside the field are continuously pulled toward the center.
At the end of the 5 seconds:
GRAVITY BURST
The accumulated gravitational energy explodes outward.
Every player caught inside is launched away from the center with extremely strong knockback.
Suggested values
Gravity radius: 8 blocks
Pull strength: strong enough that players cannot casually walk out
Final knockback: approximately 12 blocks
Final damage: 4 hearts
The ability should create swirling purple/cyan particles around the center.

☄️ ABILITY 4 — ELEMENTAL METEOR
Cooldown: 90 seconds

Input: Crouch Double Offhand
Target a location up to:
30 blocks away
A gigantic Infusion Meteor falls from the sky onto the targeted location.
The meteor randomly selects one of five elements.

🔥 FIRE METEOR
Appearance
A giant glowing magma/obsidian-like meteor surrounded by fire particles.
Impact
Deals:
6 hearts
to players within 8 blocks.
Sets them on fire.
Creates a temporary fire zone around the impact.

🧊 ICE METEOR
Appearance
A giant meteor made from:
Packed Ice
Blue Ice
Snow
Surrounded by white/light-blue particles.
Impact
Deals:
6 hearts
and freezes players within 8 blocks.
Also applies Slowness.

⚡ LIGHTNING METEOR
Appearance
A dark energy meteor surrounded by:
Yellow particles
White particles
Lightning effects
Impact
Deals:
7 hearts
and summons multiple lightning strikes around the impact area.

🌪️ WIND METEOR
Appearance
A meteor made from compressed white/cyan energy.
Impact
Deals:
4 hearts
and creates a huge Wind Charge-like blast.
Players within 10 blocks are launched backward.

💗 LIFE METEOR
Appearance
A glowing magenta meteor.
Impact
Trusted players within 8 blocks are healed.
Enemies within the radius instead receive:
Wither
for a short duration.

🧬 ABILITY 5 — INFUSION TAKEOVER
Cooldown: 300 seconds

Input: /infuse ultimate
Activate the ability.
You now have a 10 second window to hit a player.
Once you successfully hit them:
YOUR BODY
Your original body is launched:
50 blocks into the air
It becomes:
Immortal
Completely frozen
Unable to attack
Unable to interact
Unable to move
Your body is surrounded by:
🟣 Purple
 🟡 Yellow
 🩵 Light Blue
Infusion particles.

🧠 TAKEOVER
You take complete control of the player you hit.
On your screen, you appear as that player with:
Their skin
Their armor
Their held item
Their items
You have full control of their character for:

The player you hit can still see on his screen, but he will not be able to do anything
20 SECONDS
You can move, attack, jump, use items, place blocks, break blocks, etc.

🩷 SCREEN EFFECT
Your screen receives a:
Magenta gradient around the edges.
A large red countdown appears:
20 → 19 → 18 → 17 → 16 → 15 → 14 → 13 → 12 → 11 → 10 → 9 → 8 → 7 → 6 → 5 → 4 → 3 → 2 → 1 → 0




💥 TAKEOVER END
At 0 seconds:
The controlled player explodes and dies instantly:
The explosion releases a huge amount of:
🩷 Magenta
 🩵 Light Blue
 🟡 Yellow
particles.
Then you immediately return to your original player.




And don’t forget to add this mace and it’s abilities to it’s description, and make sure you include the cooldowns in every weapons description

Kodari AI
KodariAug 24 at 2:05 am 38
  1. Strength Axe: isolate its crit/stun state, correct the healing splash behavior, and update its description.

  2. Glitch Bow: repair invisibility, morph, and gravity abilities without changing teleport glitch.

  3. Altar Scythe: rename item/command and fix passive, bat form, stun circle, and slash effects.

  4. Ranked armor and Bliss Trident: implement the requested passives, inventories, modes, cooldowns, and ability behavior.

  5. Lifesteal Spear and bizarre trims: correct the item type, abilities, passives, and catalyst gating.

  6. Infuse Mace: replace its old system with charges, unlocks, projectile abilities, portals/zones/fields/meteors, takeover, and descriptions.

Strength Axe is isolated to the weapon actually held, its stun now follows five axe critical hits, passive Strength I is removed, and ability 3 is changed to 20 configured Instant Health II splash potions over five seconds.

Glitch Bow changes are scoped to marked glitch projectiles: TP remains untouched, invisibility uses viewer-specific hiding with timed restoration, morph swaps both players’ visible names and profiles for 10 seconds, and gravity applies a five-second severe slow effect with speed restoration.

Altar work covers the identity rename and the requested combat behavior: five-block mace-style ground hits, timed offhand restoration, a 25-bat five-second flight, hit-triggered lifesteal, timed mob-form simulation, a seven-block stun circle, and diagonal slash/burst visuals.

Ranked/Bliss changes will use the existing listener architecture plus a small persisted ranked-inventory store. Potion duration is doubled at splash application time, chestplate health is recalculated on equipment changes, and the Bliss mode/ability changes remain isolated from the other weapons.

Lifesteal/Bizarre changes will preserve the vanilla-compatible netherite weapon representation (Minecraft 1.21.4 has no native spear material), add the held-spear health passive and weapon-independent Immortal Fury sweep, and make every Bizarre activation path require a catalyst anywhere in the inventory.

Infuse Mace is being moved into its own manager so the old mace passives cannot overlap with the new charge and ability system; the manager will also own its action-bar lifecycle, projectile states, zone timers, stuns, portals, and takeover cleanup.

Implemented the requested weapon and armor fixes across the plugin:

  • Strength Axe now tracks five actual axe criticals before stunning, removes passive Strength I, and launches Instant Health II splash potions 4 times/sec for 5 seconds.

  • Glitch Bow invisibility is viewer-specific, morph swaps visible names/profiles, and gravity applies a five-second severe slow effect.

  • Renamed ALTAR_SWORD to ALTAR_SCYTHE, including /smpweapon give ALTAR_SCYTHE.

  • Altar Scythe now restores the original offhand, uses 25 bats for 5 seconds, triggers lifesteal on hits, has the 7-block stun circle, mace-style 5-block fall attack, and slash/burst particle patterns.

  • Ranked armor now includes doubled potion durations, +5 chestplate hearts, persistent /ranked inventory, and boot ground-pound sounds.

  • Bliss Trident modes now correctly apply Channeling/Loyalty or Riptide enchantments. Fireball, campfire ring cleanup, sonic delay, riptide health lock, slam, and dash behavior were updated.

  • Lifesteal Spear received the held +2-heart passive, revised ability names/sounds, 50-block dash, Immortal Fury sweep, immunity, and hunger/saturation protection.

  • Bizarre trim abilities and commands now require a Bizarre Catalyst anywhere in the inventory.

  • Replaced the old Infuse Mace system with the new charge bar, charge unlocks, /infuse commands, projectiles, portals, elemental zones, gravity, meteors, countdown ball, stun restrictions, and takeover simulation.

  • Added persistent ranked-inventory storage and registered /ranked and /infuse.

Minecraft 1.21.4 has no native Netherite Spear material, so the Lifesteal Spear remains backed by a Netherite Sword item while retaining its custom weapon identity/model. True per-player tick-rate changes and literal player possession are not exposed by the Paper API; those behaviors use plugin-side movement/control simulations instead.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
15 3,158
src/main/java/com/kodari/ultimatesmp/UltimateSmpWeapons.java
package com.kodari.ultimatesmp;

import org.bukkit.Bukkit;
import org.bukkit.NamespacedKey;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

import java.util.HashMap;
import java.util.Map;
import java.util.UUID;

public final class UltimateSmpWeapons extends JavaPlugin {
    private NamespacedKey weaponKey;
    private NamespacedKey projectileKey;
    private NamespacedKey ownerKey;
    private ProgressionManager progression;
    private CooldownManager cooldowns;
    private WeaponListener weaponListener;
    private InfuseMaceManager infuseMace;
    private RankedInventoryStore rankedInventories;
    private final Map<UUID, String> blissModes = new HashMap<>();
    private final Map<UUID, Integer> bizarreSlots = new HashMap<>();

    @Override
    public void onEnable() {
        saveDefaultConfig();
        weaponKey = new NamespacedKey(this, "weapon_id");
        projectileKey = new NamespacedKey(this, "ability_projectile");
        ownerKey = new NamespacedKey(this, "ability_owner");
        progression = new ProgressionManager(this);
        cooldowns = new CooldownManager();
        rankedInventories = new RankedInventoryStore(this);
        weaponListener = new WeaponListener(this);
        Bukkit.getPluginManager().registerEvents(weaponListener, this);
        infuseMace = new InfuseMaceManager(this);
        Bukkit.getPluginManager().registerEvents(infuseMace, this);
        SmpCommand command = new SmpCommand(this);
        registerCommand("smp", command);
        registerCommand("smpweapon", command);
        registerCommand("altar", command);
        registerCommand("bliss", command);
        registerCommand("bizarre", command);
        registerCommand("ranked", command);
        registerCommand("infuse", command);
    }

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

    private void registerCommand(String name, SmpCommand command) {
        PluginCommand pluginCommand = getCommand(name);
        if (pluginCommand != null) {
            pluginCommand.setExecutor(command);
            pluginCommand.setTabCompleter(command);
        }
    }

    public NamespacedKey weaponKey() {
        return weaponKey;
    }

    public NamespacedKey projectileKey() {
        return projectileKey;
    }

    public NamespacedKey ownerKey() {
        return ownerKey;
    }

    public ProgressionManager progression() {
        return progression;
    }

    public CooldownManager cooldowns() {
        return cooldowns;
    }

    public WeaponListener weaponListener() {
        return weaponListener;
    }

    public InfuseMaceManager infuseMace() {
        return infuseMace;
    }

    public RankedInventoryStore rankedInventories() {
        return rankedInventories;
    }

    public WeaponType weapon(org.bukkit.inventory.ItemStack item) {
        if (item == null || !item.hasItemMeta()) {
            return null;
        }
        String id = item.getItemMeta().getPersistentDataContainer().get(weaponKey, org.bukkit.persistence.PersistentDataType.STRING);
        return id == null ? null : WeaponType.fromId(id);
    }

    public String blissMode(UUID player) {
        return blissModes.getOrDefault(player, "channeling");
    }

    public void setBlissMode(UUID player, String mode) {
        blissModes.put(player, mode);
    }

    public int bizarreSlot(UUID player) {
        return bizarreSlots.getOrDefault(player, 3);
    }

    public void setBizarreSlot(UUID player, int slot) {
        bizarreSlots.put(player, slot);
    }
}