Jhenga Smp

You are a senior Minecraft Paper Plugin Engineer (Java 21, Paper API 1.21.11-R0.1-SNAPSHOT, Kyori Adventure MiniMessage). Build the complete, 100% compilable SpeedSMP plugin and matching resourcepack/ from scratch.

STRICT EXECUTION & ZERO-GLITCH RULES

  1. NO PLACEHOLDERS OR OMISSIONS: Never write // TODO, // implement here, ..., or partial stubs. Every single class, listener, GUI click handler, ability mechanic, command tab-completer, and config setting must be completely coded and ready to compile with mvn clean package.
  2. COMPLETE FILE OUTPUT: Output the full directory tree first, followed by every file in full (pom.xml, plugin.yml, config.yml, all Java classes, and all resourcepack/ JSON files).
  3. MODERN PAPER 1.21.11 API ONLY: Use org.bukkit.attribute.Attribute (SCALE, MOVEMENT_SPEED, ATTACK_SPEED, STEP_HEIGHT, KNOCKBACK_RESISTANCE, ENTITY_INTERACTION_RANGE), PersistentDataContainer, ItemMeta#setEnchantmentGlintOverride(true), Player#sendEquipmentChange(), and Kyori Adventure MiniMessage (zero legacy § codes).
  4. ANTI-DUPE, ANTI-GHOST-ITEM & ZERO-GLITCH GUARANTEES:

- No Ghost Items or GUI Exploits: Every custom GUI (InventoryHolder subclasses) must cancel ALL InventoryClickEvent (including NUMBER_KEY, SWAP_OFFHAND, SHIFT_CLICK, DOUBLE_CLICK, DROP), InventoryDragEvent, and InventoryMoveItemEvent actions, and call player.updateInventory() when needed so GUI icons can never be pulled out or turned into ghost items. - No Token / Item Duplication: Custom items (Speed Token, Ability Reroller, Revival Beacon) must use PersistentDataContainer tags, validate ItemStack amount atomically before consuming (item.setAmount(item.getAmount() - 1) only after checking amount >= 1 and speedPoints < maxSpeed), and block crafting/anvil renaming/furnace smelting (PrepareItemCraftEvent, PrepareAnvilEvent). - No Stuck Attributes, Invisible Armor, or Floating Entities: Track every active ItemDisplay entity, SCALE modifier, ENTITY_INTERACTION_RANGE modifier, hidden armor packet (Phantom), and Titan's Wrath giant transformation in a central StateCleanupManager. Automatically restore everything on PlayerQuitEvent, PlayerDeathEvent, PlayerChangedWorldEvent, PlayerKickEvent, and Plugin#onDisable().

---

1. CORE SPEED POINT, TOKEN & SPEED POTION RESTRICTION SYSTEM

  • First-Join Random Ability Assignment: When a new player joins (PlayerJoinEvent), if they have no saved record in playerdata.yml, automatically assign 1 of the 9 Speed Classes at random, set their Speed Points to 0, broadcast a styled welcome title/message showing their rolled ability icon and gradient name, and save immediately.
  • Speed Scale: Scales from -3 (min) to +5 (max).
  • Kill / Death Mechanics:

- Killing another player grants +1 Speed to the killer (if the killer is already at +5, a physical Speed Token drops at the victim's location instead). - Dying deducts -1 Speed (down to -3). No point is awarded to a killer if the victim was already at -3.

  • Attribute Scaling:

- -3 to -1: -10% per negative point to MOVEMENT_SPEED. Passives and Ultimates are disabled. - 0: Base vanilla speed. Passive active, Ultimate locked. - +1 to +2: +10% to +20% MOVEMENT_SPEED. Passive active, Ultimate locked. - +3 to +4: +30% to +40% MOVEMENT_SPEED + +10% ATTACK_SPEED. Passive + Ultimate unlocked. - +5 (Max): +50% MOVEMENT_SPEED + +15% ATTACK_SPEED + +0.5 STEP_HEIGHT + 15% Ultimate cooldown reduction + ambient particle aura.

  • Speed Token Item (/withdraw <amount>):

- Material: PAPER, CustomModelData: 1001, Enchantment Glint true, PersistentDataContainer key speedsmp:speed_token. - Right-clicking consumes 1 token safely and grants +1 Speed (up to +5). - Exact S5 Name & Lore: - Name: \uE010 <gradient:#00F5D4:#00BBF9><bold>ꜱᴘᴇᴇᴅ ᴛᴏᴋᴇɴ</bold></gradient> - Lore: - \uE010 <gradient:#00F5D4:#00BBF9><bold>ᴇꜰꜰᴇᴄᴛ:</bold></gradient> - <aqua>✦</aqua> <white>Right-click to absorb <yellow>+1 Speed</yellow></white> - <aqua>✦</aqua> <white>Dropped on death or withdrawn via <yellow>/withdraw</yellow></white>

  • Vanilla Speed Potion Restriction (Disabled by Default):

- config.yml setting disable-speed-potions: true (toggleable live inside /speedsmp config). - When true, block PotionEffectType.SPEED from potions, splash/lingering potions, tipped arrows, beacons, and suspicious stew (PlayerItemConsumeEvent, PotionSplashEvent, LingeringPotionSplashEvent, EntityPotionEffectEvent). - Exempt players who have permission speedsmp.potion.bypass OR who have been toggled via /speedsmp bypass <user>.

---

2. THE 9 UNIQUE SPEED CLASSES (BRACKETED NAMES)

Every class has a Passive, an Ultimate (triggered via Shift + F or /ability), a Positive, and a Negative:

  1. Overclock (\uE001, Gradient #00F5D4:#00BBF9, Icon Material: FEATHER)

- Passive (Momentum Build): Sprinting continuously for 3s grants Speed II. Every 5th consecutive melee hit discharges a kinetic spark dealing +1.5 bonus damage. - Ultimate (Micro-Surge — Duration: 12s | CD: 150s): Shrinks player (SCALE = 0.5), grants Speed III, and adds +25% ATTACK_SPEED. - Positive: Tiny 0.5-block hitbox makes you nearly impossible to bow-snipe or crystal-hit while weaving in close quarters. - Negative: While shrunk, ENTITY_INTERACTION_RANGE drops by 0.5 blocks and incoming knockback increases by 50%.

  1. Chrono (\uE002, Gradient #F72585:#B5179E, Icon Material: CLOCK)

- Passive (Temporal Anchor — CD: 60s): Taking fatal damage cancels death, sets health to 2.0 Hearts (4.0 HP), and blasts nearby enemies within 5 blocks away. - Ultimate (Time Rewind — CD: 140s): Records position, health, hunger, and velocity every 0.5s. Activating rewinds the player back 6s (same dimension only) and spawns a glowing particle/non-interactable marker afterimage for 2s. - Positive: Unmatched second-chance survivability against burst combos. - Negative: Emits a faint particle trail showing your 6s rewind path and gains 0% bonus speed from +1 and +2 Speed points.

  1. Glitch (\uE003, Gradient #9B5DE5:#F15BB5, Icon Material: CHORUS_FRUIT)

- Passive (Input Jam — CD: 45s): Sprint-critical melee hits scramble the target's hotbar slots (0–8) and block offhand swapping (PlayerSwapHandItemsEvent) for 3s. - Ultimate (System Crash — CD: 160s): Arms your next melee hit (within 10s). Hitting an opponent randomly shuffles their entire 36-slot inventory (excluding armor) and inverts their horizontal movement velocity (W/A/S/D reversed) for 3s with Warden/Enderman glitch sounds. - Positive: Completely ruins enemy totem swaps, pearl escapes, and golden apple timing. - Negative: Suffers -10% base MOVEMENT_SPEED at all Speed levels.

  1. Blitz (\uE004, Gradient #FEE440:#F15BB5, Icon Material: WIND_CHARGE)

- Passive (Slipstream): Every melee hit grants Speed I for 2s and resets sprint state immediately for continuous sprint-knockback combos. - Ultimate (Triple Blink — Window: 4s | CD: 130s): Grants 3 Dash charges. Each activation propels the player 10 blocks forward in their look vector, grants 2s fall-damage immunity, and deals 2.0 HP + knockback to enemies dashed through. - Positive: Instant gap-closing and aerial terrain mobility. - Negative: Dash exhaustion applies Weakness I for 3s after using all 3 charges or when the 4s window expires.

  1. Haste (\uE005, Gradient #7209B7:#4361EE, Icon Material: ENDER_PEARL)

- Passive (Quick-Cycle): Reduces all item cooldowns (PlayerItemCooldownEvent — Ender Pearls, Golden Apples, Chorus Fruit, Shields) by 40% (excludes Wind Charges). - Ultimate (Zero-Delay Overdrive — Duration: 12s | CD: 130s): Grants 4 Instant-Use charges. The next 4 cooldown items used trigger with 0 ticks cooldown, leaving purple portal trails behind the player. - Positive: Unrivaled pearl mobility, shield recovery, and golden apple sustain. - Negative: Takes +10% increased incoming melee damage whenever holding a non-weapon utility item in main hand.

  1. Phantom (\uE006, Gradient #4CC9F0:#3A0CA3, Icon Material: PHANTOM_MEMBRANE)

- Passive (Night Stalker): Grants Speed I and cancels sculk/footstep vibrations (BlockReceiveGameEvent) at night, in caves (skyLight == 0), or in the Nether/End. - Ultimate (Eclipse Ambush — CD: 120s): Inflicts Blindness and Slowness II for 5s on a targeted opponent within 10 blocks, while hiding the user (PotionEffectType.INVISIBILITY + hiding all armor/held items from nearby players via Player#sendEquipmentChange()) for 12s. Attacking breaks invisibility early with a guaranteed critical strike. - Positive: Guaranteed stealth openers and clean escapes in dark environments. - Negative: During daytime under open sky (skyLight > 12), takes +15% incoming melee damage and emits faint smoke particles while sprinting.

  1. Tidebreaker (\uE007, Gradient #0096C7:#48CAE4, Icon Material: TRIDENT)

- Passive (Hydro-Glide): Grants Speed I on snow, ice, or water, allows walking on Powder Snow without sinking, and removes underwater mining/movement penalties. - Ultimate (Riptide Torrent — Duration: 15s | CD: 100s): Spawns a rotating water aura (ItemDisplay model 2002), grants Dolphin's Grace I in water, and lets the user launch forward like a Riptide trident on right-click even without rain. - Positive: Dominates oceans, rivers, rain, and snowy biomes while revealing invisible players with water splashes. - Negative: In dry biomes (DESERT, SAVANNA, BADLANDS) or the Nether without water contact, effective Speed Points are capped at +2 and cooldowns tick 20% slower.

  1. Gravity (\uE008, Gradient #8D99AE:#EDF2F4, Icon Material: MACE)

- Passive (Heavy Aura): Enemies within 5 blocks who are airborne or sprinting receive Mining Fatigue I and reduced upward jump velocity, shutting down Mace slams and crit chains. - Ultimate (Crushing Weight — Duration: 10s | CD: 130s): Fires a gravity beam (ItemDisplay model 2001) at a target within 12 blocks, applying Mining Fatigue III, Slowness II, and doubled downward gravity (disabling jumping and Ender Pearls) for 10s. - Positive: Hard-counters airborne Mace users and high-speed rushers. - Negative: Base movement speed scaling is capped 1 tier lower than actual Speed Points.

  1. Colossus (\uE009, Gradient #F77F00:#FCBF49, Icon Material: ANVIL)

- Passive (Unstoppable Mass): Grants +0.5 STEP_HEIGHT, 40% KNOCKBACK_RESISTANCE, and +1.0 bonus damage when falling onto enemies. - Ultimate (Titan's Wrath — Duration: 8s | CD: 140s): Grows the targeted opponent within 10 blocks to 4.5 blocks tall (SCALE = 4.5), disables suffocation damage while enlarged, and slows them by 30%. When the 8s end and they shrink back to 1.0, they take 3.5 Hearts (7.0 HP) of true damage with thunder and anvil sound effects. - Positive: Tanky knockback resistance and unavoidable 3.5-heart true-damage finisher. - Negative: Permanent SCALE is 1.15 blocks tall and base ATTACK_SPEED is reduced by 10%.

---

3. STRENGTH SMP S5 TOOLTIP FORMAT, HUD & RESOURCE PACK

  • Exact S5 Tooltip / GUI Lore Layout (for /speed, /strength, and /speedsmp info):

Every ability icon displays its custom resource-pack sprite, Unicode Small-Caps bold gradient title, ᴘᴀssɪᴠᴇ:, ᴜʟᴛɪᴍᴀᴛᴇ:, ᴘᴏsɪᴛɪᴠᴇ:, and ɴᴇɢᴀᴛɪᴠᴇ: headers with ✦ bullets and <yellow> highlighted numbers (12s, 3, 40%, etc.): ```text <sprite> <gradient:#start:#end><bold>ᴀʙɪʟɪᴛʏ ɴᴀᴍᴇ</bold></gradient> <sprite> <gradient:#start:#end><bold>ᴘᴀssɪᴠᴇ:</bold></gradient> <color>✦</color> <white>Passive description with <yellow>numbers</yellow> highlighted</white>

<sprite> <gradient:#start:#end><bold>ᴜʟᴛɪᴍᴀᴛᴇ:</bold></gradient> <color>✦</color> <white>Ultimate description with <yellow>12s</yellow> highlighted</white>

<green><bold>✦ ᴘᴏsɪᴛɪᴠᴇ:</bold></green> <green>✦</green> <white>Strength summary</white>

<red><bold>✦ ɴᴇɢᴀᴛɪᴠᴇ:</bold></red> <red>✦</red> <white>Weakness summary</white>

Kodari AI
KodariNov 15 at 10:25 am 11
SpeedSMP
SpeedSMP is a competitive Minecraft Paper plugin introducing a Speed Point system where players gain or lose speed through kills and deaths, scaling movement speed, attack speed, step height, and other attributes from -3 to +5. Nine unique Speed Classes (Overclock, Chrono, Glitch, Blitz, Haste, Phantom, Tidebreaker, Gravity, Colossus) each feature a Passive, Ultimate ability, Positive, and Negative trait. Players use Speed Tokens to boost their speed, with a full GUI system, custom resource pack with Unicode icons, MiniMessage formatting, and comprehensive anti-dupe, anti-ghost-item, and state cleanup mechanics.
  1. Set up the Paper 1.21.11 Maven plugin and matching resource-pack JSON.

  2. Implement saved speed classes, attributes, token handling, potion restrictions, and cleanup.

  3. Add all nine ability mechanics, commands, and an exploit-resistant ability GUI.

Plain Text
SpeedSMP/
├── pom.xml
├── src/main/
│   ├── java/com/kodari/speedsmp/
│   │   ├── AbilityClass.java
│   │   ├── AbilityManager.java
│   │   ├── AbilityMenu.java
│   │   ├── CustomItemManager.java
│   │   ├── PlayerDataManager.java
│   │   ├── PlayerRecord.java
│   │   ├── PotionRestrictionListener.java
│   │   ├── SpeedCommand.java
│   │   ├── SpeedManager.java
│   │   ├── SpeedSMPPlugin.java
│   │   └── StateCleanupManager.java
│   └── resources/
│       ├── config.yml
│       └── plugin.yml
└── resourcepack/
    ├── pack.mcmeta
    └── assets/
        ├── minecraft/items/
        │   ├── amethyst_shard.json
        │   ├── paper.json
        │   └── respawn_anchor.json
        └── speedsmp/
            ├── font/icons.json
            └── models/item/
                ├── ability_reroller.json
                ├── gravity_beam.json
                ├── revival_beacon.json
                ├── speed_token.json
                └── water_aura.json

Implemented the plugin, commands, saved player data, nine class abilities, protected GUI, custom-item handling, potion restrictions, cleanup tracking, and resource-pack JSON.

The resource-pack glyphs and item models currently use vanilla item textures. For original custom artwork, enable Kodari Studio under Settings → Generation (or at kodari.ai/settings?tab=features).

Jhenga Smp

The compilation failed with this error:

code
Compilation failed with 2 error(s):

ERROR in src/main/java/com/kodari/speedsmp/AbilityManager.java at line 6: cannot find symbol
import com.destroystokyo.paper.event.block.BlockReceiveGameEvent;
                                          ^
  symbol: class BlockReceiveGameEvent
  location: package com.destroystokyo.paper.event.block

ERROR in src/main/java/com/kodari/speedsmp/AbilityManager.java at line 719: cannot find symbol
    public void onGameEvent(BlockReceiveGameEvent event) {
                            ^
  symbol: class BlockReceiveGameEvent
  location: class AbilityManager


=== COMPILATION ERROR ANALYSIS ===

MISSING CLASSES:
  - BlockReceiveGameEvent
ACTION: Create these classes or check imports

FILES TO INVESTIGATE:
  - src/main/java/com/kodari/speedsmp/AbilityManager.java

Please fix this error by creating a new artifact with the corrected code.

Kodari AI
KodariNov 15 at 10:26 am 2
  1. Check the failing event import and handler in AbilityManager.

  2. Replace them with the Paper 1.21.11 event API and preserve the vibration-cancel behavior.

Updated AbilityManager to import BlockReceiveGameEvent from io.papermc.paper.event.block, the Paper API package. Recompile the project to create the corrected artifact.

Jhenga Smp

The compilation failed with this error:

code
Compilation failed with 2 error(s):

ERROR in src/main/java/com/kodari/speedsmp/AbilityManager.java at line 6: cannot find symbol
import io.papermc.paper.event.block.BlockReceiveGameEvent;
                                   ^
  symbol: class BlockReceiveGameEvent
  location: package io.papermc.paper.event.block

ERROR in src/main/java/com/kodari/speedsmp/AbilityManager.java at line 719: cannot find symbol
    public void onGameEvent(BlockReceiveGameEvent event) {
                            ^
  symbol: class BlockReceiveGameEvent
  location: class AbilityManager


=== COMPILATION ERROR ANALYSIS ===

MISSING CLASSES:
  - BlockReceiveGameEvent
ACTION: Create these classes or check imports

FILES TO INVESTIGATE:
  - src/main/java/com/kodari/speedsmp/AbilityManager.java

Please fix this error by creating a new artifact with the corrected code.

Kodari AI
KodariNov 15 at 10:27 am 1

Replaced the unavailable Paper event with Bukkit’s GenericGameEvent. Phantom now cancels player STEP, SWIM, and HIT_GROUND vibration events under the existing terrain and passive conditions.

Compile the project in Kodari to create the corrected artifact.

Jhenga Smp

import io.papermc.paper.datacomponent.DataComponentTypes; import io.papermc.paper.datacomponent.item.CustomModelData; import net.kyori.adventure.text.Component; import net.kyori.adventure.text.format.NamedTextColor; import org.bukkit.Material; import org.bukkit.inventory.ItemStack;

public ItemStack createSpeedItem(float modelDataValue, String displayName) { ItemStack item = ItemStack.of(Material.PAPER);

item.editMeta(meta -> { meta.displayName(Component.text(displayName, NamedTextColor.AQUA)); });

// Apply the float threshold expected by assets/minecraft/items/paper.json item.setData(DataComponentTypes.CUSTOM_MODEL_DATA, CustomModelData.customModelData() .addFloat(modelDataValue) .build() );

return item; } [Use this code for the paper withdraw/speed its a texture pack code also which to +speed also limit the speed to 5 and -3 maximum and players shall have 3 to enable passive ability and it works automatically also remove /strength and when does /speed shall show the player ability which he have and speed like -3 0 5 he have and if a player is -3 from that player no speed shall drop or given to another player also if a player kills someone with 0 speed it shall do the dying player -1 and if that player again kills the player the speed shall not be given or dropped until 15 minutes also if a player reaches 5 speed if he kills someone the speed shall drop instead of giving to the player directly also the speed shall glow when dropped and /info to open a gui of all abilities remove gui opening from other and add /speedsmp reroll <user>(rerolls the ability randomly) /speedsmp give points/speed if selected points show 1 2 3 4 5 maximum to give a player and can't give more then it even op if chosen speed shows all abilities name so admin can give him by choice /speedsmp also no duping glitches with speed even if srv restarts etc and remove the style of italic from text just bold and etc gradient colour randomly on every abilities and change abilities of overclock instead of speed 2 in 3 second sprint in passive give speed 1 and at gravity when used ultimate send the players up in air 15 blocks and take damage of 2.5 hearts with slowness 2 and add /trust <user> (so the abilities don't work on their teammates and they take no effect) /trustlist shows everyone trusted and the tidebreamer ability we can't use riptide it only works when we look at a block and it has our reach it doesn't works when looking at nothing fix that and whenever rains give him trident damage buff by 50% and when used f in ultimate it shall throw a chain to player and grab him and take near the user and every ability working even at air if there's that's type and gravity shall not give mining fatigue also trusted players shall not have any effects form each other if they both trusted and shall send in chat a message accept trust from<user> and expires in 45 seconds also decrease all the ability cooldowns like 75 45 65 According to their powers working no glitches also remove /speedsmp config and other useless I meant like config of config.yml in console and operator can use speed potion even operators shall not be able to use it unless have bypass and only changeable for everyone from config.yml and more fix glitches

Kodari AI
KodariNov 15 at 12:05 pm 3
  1. Update point/token accounting, persistence, /speed output, withdrawal, and trust requests.

  2. Rework command routing and remove /strength and the runtime config toggle.

  3. Adjust ability cooldowns and requested Overclock, Gravity, and Tidebreaker mechanics.

  4. Preserve GUI protections and update the matching token model data.

Updated SpeedSMP with the requested point limits, admin commands, trust system, ability changes, and token model-data support.

  • Speed is hard-capped at −3 to +5. Repeat kills between the same players cannot award points or a token for 15 minutes, with the lockout persisted across restarts. A victim at −3 grants no reward; kills at +5 drop a glowing Speed Token.

  • /speed shows your points and class; /info opens the class guide. Removed /strength and /speedsmp config. Added admin reroll/give commands, plus /trust, /trust accept, and /trustlist.

  • Passives unlock at +3. Overclock now grants Speed I after sprinting for 3 seconds. Gravity launches its target, deals 2.5 hearts, applies Slowness II, and no longer applies Mining Fatigue. Tidebreaker can pull a targeted player, surge from air or block clicks, and gains trident damage in rain.

  • Trust relationships persist, potion bypass requires the explicit permission, and ability titles use randomized gradients with italics disabled.

  • Speed Tokens now set float Custom Model Data to match the resource-pack paper model threshold.

Jhenga Smp

Update overclock with change 5th hit to 6th and kinetic damage shall deal 1 heart damage and make attack speed 30% faster and the time of ultimate ending 30 seconds and cooldown 55 then Chrono make passive like every 4th hit of player cancel upon him and no damage and survive at 2 hearts everytime even with any death explosion crystal tntcarts TNT anchors bed every explosion not going down to 2 hearts and if a enemies take the user to 2 hearts push the enemy by 2 blocks further if coming from up up and West east etc and ultimate rewind he's health hunger inventory but can't restore after death and if rewinded if not dead the items if he dropped and rewind shall be cleared from another users inventory and onlyy to the user using if was dropped or given by the user and cooldown 75 seconds remove positive and negative of Chrono and if the Chrono user is using any explosion it shall deal 40% more damage to users and glitch is good but change of passive every 8th hit it shall make the hitted user freeze at the spot of it's and can't move etc stuck for 3 seconds no cooldown removed of passive and every 15th hit shuffles player inventory including hotbar and excluding armour and left hand for 3 seconds and ultimate locks the player main-hand and offhand held item can't be changed for 8 seconds and blindness 4 and slowness 1 to players in 4 blocks radius and blitz every 8th hit grants a dash and can saved and to use /pability and when used if he have saved dash player forwards up down anywhere he is looking 8 blocks forward and speed 1 for 3 seconds every hit to a player and ultimate reduces duration of consuming gaps or any food by 50% speed even if it's customized by any other custom plugins for cooldown reduce by 50% and after using ultimate wherever player looks and click f at a block throws a chain their real game risual and chain placing/chain sound goes until it reaches the block and where it touches gets the player pushing to there not fast not slow but quick and can't throw at air can change location if looked at another and f Key again duration to use fv2 seconds and can be used 6 times until ultimate ends it's duration of ultimate 20 and cooldown for ultimate to use 55 and if looking at player instead of block gets player near the user instead and haste it shall reduce item cooldown like windcharge how crossbow every throwing projectile excluding enderpearl by 60% and 59%ess shield cooldown less saturation drop if eaten food for the player increase the saturation of food by 50% and golden apple 3 absorption instead of 2 and fire resuscitance in golden apple and less axe cooldown hit by 25% in passive and in ultimate nothing shall have cooldown in projectile even at enderpearl 50% less Cooldown including custom plugins one and golden apple eating cooldown by 50% and all food and absorption 4 and haste 3 in passive and time for ultimate 15 seconds and cooldown of ultimate 55 seconds and decreases meele damages by 10% and at phantom the user shall have perm speed 2 and no sound of foots and opening chests etc enderchest and at ultimate slow every player within the radius of 4 blocks and. Become invisible with armour and items equipped being invisible for 10 seconds and time 15 seconds and cooldown 65 seconds and in tidebreaker shall gain water boost by 50% and attack boost by 10% and ice snow by 5% and shall not sink in powder snow just like wearing leather boosts it didn't work previously and gain water breathing and hastev1 and ultimate same but the chain player pull shall work by /facility or f keybind can pull player with same chain 3 times and can use riptide without anything no cooldown for 15 seconds in ultimate by right click with anything not including foods and shall not kick by flying not enabled and cooldown to use 50 seconds and gravity passive any players in 2 block radius shall have 40% jump decreased and speed by 25% and the user being lighter just like speed 1 without it and ultimate: launch 3 players in 4 blocks radius up in 30 blocks with 1 heart damage given on spot and remaking slowness 1 and time of it 10 sec 50% kickback resisonds and cooldown to use ultimate 55 seconds and colossus shall increase the user height by 0.5x step height, and 50% knockback resistance and 10% less damage and also having 5% less speed then normal players and fall damage increased by 1.25x and ultimate grows the target 5 block height for 5 seconds and self grows by 1.5x blocks and 20% increase damage and 15% more cooldown to any consumables and time of ultimate 20 seconds and cooldown 45 seconds and everything working by attributes only some by effects like speed by effects and no extra speed by attributes just by effects which are told and no dupes and add commands /untrust <user> and when trusted it can't use abilities and says trusted player within 10 blocks instead it shall ignore trusted users and use abilities and /speedsmp cooldown <user> to reset the cooldown of that user to use ultimate again or just /speedsmp cooldown to reset urself and remove after old things added for texture pack custommodeldata use this code for the paper to have texture just like strength smp s5 bottle of withdraw kill etc working texture and the exact withdraw item texture instead of paper when equippeed the pack package com.speedsmp;

import io.papermc.paper.datacomponent.DataComponentTypes; import io.papermc.paper.datacomponent.item.CustomModelData; import net.kyori.adventure.text.Component; import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.TextDecoration; import org.bukkit.Material; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.bukkit.event.entity.EntityDeathEvent; import org.bukkit.inventory.ItemStack; import org.bukkit.plugin.java.JavaPlugin; import org.jetbrains.annotations.NotNull;

import java.util.List;

public final class SpeedSMPPlugin extends JavaPlugin implements Listener, CommandExecutor {

// Must match the threshold in your resource pack's paper.json / potion.json public static final float MODEL_SPEED_ITEM = 15555f;

@Override public void onEnable() { getServer().getPluginManager().registerEvents(this, this); if (getCommand("withdraw") != null) { getCommand("withdraw").setExecutor(this); } getLogger().info("SpeedSMPPlugin successfully loaded for Paper 1.21.11!"); }

@Override public boolean onCommand(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) { if (!(sender instanceof Player player)) { sender.sendMessage("Only players can use this command."); return true; }

// Create the custom item with the Speed SMP texture model data ItemStack item = new ItemStack(Material.PAPER); item.editMeta(meta -> { meta.displayName(Component.text("Speed Ability Core", NamedTextColor.AQUA).decoration(TextDecoration.BOLD, true)); meta.lore(List.of(Component.text("Right-click to activate speed", NamedTextColor.GRAY))); });

// Apply modern Paper 1.21.11 CustomModelData float component item.setData(DataComponentTypes.CUSTOM_MODEL_DATA, CustomModelData.customModelData() .addFloat(MODEL_SPEED_ITEM) .build() );

player.getInventory().addItem(item); player.sendMessage(Component.text("You withdrew a Speed item!", NamedTextColor.GREEN)); return true; }

@EventHandler(priority = EventPriority.HIGH) public void onDeath(EntityDeathEvent event) { if (!(event.getEntity() instanceof Player)) return;

// Ensure dropped items keep their custom components and textures when dying for (ItemStack drop : event.getDrops()) { if (hasSpeedModelData(drop)) { ItemStack cloned = drop.asCloned(); drop.setItemMeta(cloned.getItemMeta()); if (cloned.hasData(DataComponentTypes.CUSTOM_MODEL_DATA)) { drop.setData(DataComponentTypes.CUSTOM_MODEL_DATA, cloned.getData(DataComponentTypes.CUSTOM_MODEL_DATA)); } } } }

private boolean hasSpeedModelData(ItemStack item) { if (item == null || !item.hasData(DataComponentTypes.CUSTOM_MODEL_DATA)) return false; CustomModelData data = item.getData(DataComponentTypes.CUSTOM_MODEL_DATA); if (data == null || data.floats() == null) return false; for (float f : data.floats()) { if (Math.abs(f - MODEL_SPEED_ITEM) < 0.001f) return true; } return false; } }

Kodari AI
KodariNov 15 at 3:04 pm 12
  1. Rework Overclock and Chrono mechanics.

  2. Update Glitch, Blitz, Haste, Phantom, Tidebreaker, Gravity, and Colossus abilities.

  3. Add trust exclusions, /untrust, self/admin cooldown reset, and /pability.

  4. Replace legacy token model data with the requested Paper custom-model-data component and matching pack predicate.

Updated the requested mechanics across the abilities, commands, player data, and token resource-pack mapping.

  • Overclock now triggers its bonus on every sixth hit, deals 1 heart of bonus damage, and has a 30-second Ultimate with a 55-second cooldown. Chrono now blocks every fourth hit, prevents fatal damage, rewinds inventory and player state, and boosts damage from tracked Chrono-owned explosions by 40%.

  • Updated Glitch, Blitz, Haste, Phantom, Tidebreaker, Gravity, and Colossus mechanics and cooldowns. Blitz dash charges persist in playerdata.yml.

  • Added /untrust, /pability, and /speedsmp cooldown [user]; /pability is available with speedsmp.use. Trust relationships are removed symmetrically, and trusted players are excluded from ability targeting/effects.

  • Speed Token now uses float Custom Model Data 15555 and maps to a vanilla potion-bottle model in the pack.

Two limits: the Haste changes reduce item cooldowns but do not shorten the eating animation; Phantom cancels vibration events, not audible chest/footstep sounds. The exact custom S5 token artwork also isn’t available while Kodari Studio is disabled—enable it via Settings → Generation for this project, or at kodari.ai/settings?tab=features. Maven wasn’t available here, so I couldn’t run a build.

Jhenga Smp

Hey I want you to remove texture pack thing completely and make the speed item to nautilus shell it's paper rn but change it to nautilus shell and make nautilus shell custommodeldata 1001 and add reroll book which will reroll their abilities also for reroll book use book as item and it's custommodeldata 1001 and make every info/lore of abilities smaller and professional use small caps fonts in it and remove bold style in lores with gradient every different in every ability and also small lore on speed point+ nautilus shell and it's name speed+1 and when used there shall be a sound for the player so playerlist knows or if the speed is 5 already sent villager sound denying one and cooldown to use speed+1 2 second and add change remove /pability and add /controls passive off_hand/nokey and /controls ultimate shift+f/nokey nokey means they will use chat also those who don't have abilities in passive shall say your ability don't have the perms to use controls passive and make like in every abilities 1= less buff 2= a little less 3= full passive 4= ntg same of 3 5= ultimate unlocked and less abilities in 1 speed and 2 and 3 speed increasing with what they have and showing it in lore of it what it will unlock also do by their greatness abilities and in overclock ultimate make the speed 3 stay for 15 seconds and it's ability and give strength 2 5 seconds in ultimate and same cooldown of before and change of tide breaker ultimate instead of give riptide like in hand do like whenever the user has trident in ultimate it shall have no cooldown of riptide only when held trident and using it and in passive 3 speed give user ripdite 5 automatically when trident is at inventory and if the trident is given to other players expect those who doesn't hold the tide breaker degrade it with ripdite 1 and no duping glitches of it even with restart or packets and make the colossus passive little smaller like .20x bigger in 3 passive unlocked and ultimate no change just the enemy and in overclock when used ultimate give glowing effect with aqua glow colour to the ultimate user till ultimate ends and add /fability to use passive abilities which have f or ultimate which needs f only when it's the ability and have requirements complete and /ability of ultimate to use ultimate and change the blitz ultimate like make the chain go faster in ultimate and reach the exact blocks where it was aimed and it only send 1 chain send long chain connected to player until it reaches the player and in f and other and fast to player and reached it and can change in the route and when someone joins srv for their ability every ability have same chance of getting it for every player and it shall show in title and subtitle all abilities name showing and stopping at one which will be their no glitch and in reroll book to etc and everything proper also /speedsmp cgui <name info,recipe etc we can customize gui change item of it and place new items there and remove change their slots and save only for admins> /recipess open the recipe where players can view the recipes of reroll book and speed+ recipe upon right click showing all items and not dupable and /speedsmp crecipes (opens a gui 3x3 and 1 slot empty where we place item in 3x3 items to craft and 1 to the item they will get info in recipess showing only no actual crafting and save option or needed in it working and showing in /recipess and can be changed slot in /speedsmp cgui also speed potion shall be not working no particles showen of it for ops and etc no effects even through lingering potion until enabled for console config or bypass

Kodari AI
KodariTue at 1:51 pm 6
  1. Replace pack-dependent items with a nautilus-shell Speed +1 and reroll book.

  2. Update ability controls, progression, and the requested class mechanics.

  3. Add editable, display-only recipe and GUI administration.

  4. Tighten Speed-potion restrictions and update ability presentation.

Updated the item and presentation foundations:

  • Removed the bundled resource pack. Speed +1 is now a nautilus shell, and the reroll item is a book; both use CustomModelData 1001.

  • Added a two-second Speed +1 use cooldown and success/maximum sounds.

  • Removed resource-pack glyphs from ability titles and simplified lore styling.

  • Moved Ultimate unlocking to +5, renamed /pability to /fability for Blitz dashes, and adjusted Overclock and Colossus effects.

The request is not yet complete. Still needed: configurable controls, tiered passives at +1 and +2, Tidebreaker’s trident mechanics, Blitz chain changes, the animated ability roll, editable GUI/recipe systems, and the remaining potion-restriction review. The reroll book exists, but its acquisition and animated roll still need integration. Overclock’s glow is not yet aqua-colored.

Compilation and in-game behavior have not been verified.

Jhenga Smp

Make the lore work and make abilities becoming better and better like giving their version one like in +1 +2 like sprint for 15 seconds and for ability and lore in the /speedsmp info and when info open the gui with all abilities place to see their info and at one side speed+ and reroll book and add reroll book in /speedsmp give reroll or whatever and will reroll and add animation like whenever players ability for first time all abilities name just like spinning and stopping on one which will become their ability and in reroll and sound when got one and rerolling sound like fast spinning something till it stops and even sound when climbed the speed+ and /recipess which their will be recipe of reroll book and speed+ and recipe can be changed from /speedsmp recipe customize <reroll book,speed+ opens their recipe gui and can change the items from inventory where shows previous one and can save it for admin 3x3 and save option and which will be refreshed on /recipess and speed effect shall not work and can be enabled from console config.yml only and bypass not even lingering speed potion and custommodel data in rerollbook uses a normal book with 1001 modeldata and speed+ 1001 modeldata nautilus shell and the speed+ shall glow when dropped after a player dies or withdraw and throws on the ground and make the blitz chain shall be faster and grab and when got passive 3 to tidebreaker user they shall receive riptide 5 on trident if they have and if it's thrown remove it and just for the user have tidebreaker and at ultimate if a user has trident and use with riptide their shall be 80% less Cooldown in trident and when used overclock and become small in item ultimate with glow till the user is small and strength 1 when becomes small and speed 3 till Ultima lasts /controls passive off_hand and /controls ultimate shift+f or keybind /ability of ultimate and /fability for those abilities who have f abilities like blitz

Kodari AI
KodariWed at 1:26 pm 15
  1. Fix ability lore and progression, including the requested class changes.

  2. Add ability-roll animation, controls, and reroll-book administration.

  3. Add editable recipe displays, then tighten token drops and potion restrictions.

Updated the ability guide, reroll book, roll animation, controls, recipe-display editor, token glow, and Speed-potion restrictions. Overclock and Blitz now have tiered passive timings, and Overclock’s Ultimate applies Speed III, Strength I, and glow for its duration.

Still incomplete: tiered progression for the other abilities, Tidebreaker’s temporary Riptide V handling, and the full Blitz chain improvements. Recipe editing currently changes the display only, not crafting recipes. The changes haven’t been compiled or tested in-game.

Jhenga Smp

tiered progression for the other abilities, Tidebreaker’s temporary Riptide V handling, and the full Blitz chain improvements. Recipe editing currently changes the display only, not crafting recipes add these and lores in every ability With +1 abilities info +2 +3 and make players drop the speed+ by dying until -3 stop dropping when reached -3 upon dying or killed

Kodari AI
KodariFri at 11:10 am 15
  1. Add tiered passives and matching lore for every ability.

  2. Complete Tidebreaker’s temporary trident enchantment and Blitz’s chain.

  3. Make edited recipes craftable and update Speed +1 death drops.

Updated ability progression and added +1, +2, and +3 tier information to every ability’s lore. Edited recipes now register as crafting recipes, and each death above −3 drops a glowing Speed +1 token; deaths at −3 drop none.

Blitz’s block chain now travels faster, shows a connected particle tether, and cancels on world change. Tidebreaker’s expired chain charges are also cleared.

Still incomplete: Tidebreaker’s temporary Riptide V handling and the full Blitz chain improvements. The changes have not been compiled or tested in-game.

Kodari can make mistakes. Review important code before using.
Files
src
pom.xml
Code
16 3,113
src/main/java/com/kodari/speedsmp/SpeedSMPPlugin.java
package com.kodari.speedsmp;

import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.minimessage.MiniMessage;
import net.kyori.adventure.text.format.TextDecoration;
import org.bukkit.Bukkit;
import org.bukkit.NamespacedKey;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class SpeedSMPPlugin extends JavaPlugin {
    private final MiniMessage miniMessage = MiniMessage.miniMessage();
    private PlayerDataManager dataManager;
    private StateCleanupManager cleanupManager;
    private SpeedManager speedManager;
    private CustomItemManager itemManager;
    private AbilityManager abilityManager;
    private TrustManager trustManager;
    private RecipeMenu recipeMenu;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        dataManager = new PlayerDataManager(this);
        trustManager = new TrustManager(this);
        cleanupManager = new StateCleanupManager(this);
        speedManager = new SpeedManager(this);
        itemManager = new CustomItemManager(this);
        abilityManager = new AbilityManager(this);
        recipeMenu = new RecipeMenu(this);
        Bukkit.getPluginManager().registerEvents(cleanupManager, this);
        Bukkit.getPluginManager().registerEvents(speedManager, this);
        Bukkit.getPluginManager().registerEvents(itemManager, this);
        Bukkit.getPluginManager().registerEvents(new PotionRestrictionListener(this), this);
        Bukkit.getPluginManager().registerEvents(abilityManager, this);
        Bukkit.getPluginManager().registerEvents(new AbilityMenu.Listener(this), this);
        Bukkit.getPluginManager().registerEvents(recipeMenu, this);
        SpeedCommand command = new SpeedCommand(this);
        for (String name : new String[]{"speedsmp", "speed", "info", "ability", "withdraw", "trust", "trustlist", "untrust", "fability", "recipess", "controls"}) {
            PluginCommand registered = getCommand(name);
            if (registered != null) {
                registered.setExecutor(command);
                registered.setTabCompleter(command);
            }
        }
    }

    @Override
    public void onDisable() {
        if (abilityManager != null) abilityManager.stop();
        if (cleanupManager != null) cleanupManager.cleanupAll();
        if (dataManager != null) dataManager.saveAll();
    }

    public Component mini(String markup) { return miniMessage.deserialize(markup).decoration(TextDecoration.ITALIC, false); }
    public void message(org.bukkit.command.CommandSender sender, String markup) { sender.sendMessage(mini(markup)); }
    public NamespacedKey key(String value) { return new NamespacedKey(this, value); }
    public PlayerDataManager getDataManager() { return dataManager; }
    public StateCleanupManager getCleanupManager() { return cleanupManager; }
    public SpeedManager getSpeedManager() { return speedManager; }
    public CustomItemManager getItemManager() { return itemManager; }
    public AbilityManager getAbilityManager() { return abilityManager; }
    public TrustManager getTrustManager() { return trustManager; }
    public RecipeMenu getRecipeMenu() { return recipeMenu; }
}