nicemeowkofaras kofi

Act as an expert Minecraft server plugin developer (Paper / Spigot / Purpur API). I need a lightweight server-side plugin that refines and enhances the Vanilla "Soul Speed" mechanics without requiring players to install any mods or custom resource packs.

CRITICAL REQUIREMENT: Do NOT add any custom items, blocks, commands, permissions, or custom lore/NBT. The plugin must work exclusively with existing, pure Vanilla mechanics (Soul Sand, Soul Speed III boots, standard player movement) and feel like a seamless Vanilla gameplay update.

Core Mechanics & Plugin Behavior:

  1. Seamless Soul Speed Momentum Retention:
  • When a player activates Soul Speed (e.g., Soul Speed III boots on Soul Sand/Soil), track their velocity and movement state.
  • If the player runs off Soul Sand onto regular blocks, retain their boosted speed/momentum as long as they maintain CONTINUOUS movement (sprinting without stopping, jumping into walls, or breaking momentum).
  • Gradually/naturally decay the extra velocity over distance/time if the player stops or makes sharp halts, rather than instantly wiping the speed attribute.
  1. 45-Degree Angle Strafe Tech (Silverisme Tech):
  • Detect when a player is moving diagonally / strafing at a 45-degree angle relative to their camera orientation while holding momentum.
  • Reward skilled movement by reducing velocity decay rate during 45-degree strafes, allowing players to control and sustain high speeds smoothly.
  1. Performance & Clean Code:
  • Handle movement checks efficiently (using PlayerMoveEvent or asynchronous movement tasks/Attribute Modifiers) to avoid server lag or tick drops.
  • Ensure compatibility with Paper/Spigot server physics and standard anti-cheat checks.
  • Provide clean, well-commented Java code ready for compilation with Maven/Gradle.
Kodari AI
KodariOct 23 at 10:57 pm 1
SoulSpeedMomentum
Enhances Vanilla Soul Speed mechanics by retaining player momentum when running off Soul Sand onto regular blocks. Tracks velocity and movement state, gradually decaying extra speed when momentum breaks. Detects 45-degree diagonal strafing to reduce decay rate, rewarding skilled movement. Works purely with Vanilla items and mechanics, no custom content. Uses efficient PlayerMoveEvent handling with velocity calculations for Paper/Spigot compatibility. Clean, commented Java code with Maven build support.
  1. Create the Gradle/Paper plugin scaffold with no commands, permissions, or custom assets.

  2. Add a server-side momentum tracker gated by vanilla Soul Speed boots and Soul Sand/Soul Soil.

  3. Apply bounded momentum retention, faster decay on stops/sharp turns, and a reduced decay rate for diagonal strafing.

Created a lightweight Paper plugin that retains horizontal momentum after leaving Soul Sand or Soul Soil when Soul Speed boots are equipped. Stops, loss of sprint, and sharp turns increase decay; diagonal movement near 45° to the player’s facing direction decays more slowly.

It uses only vanilla blocks and enchantments—no commands, permissions, custom items, or lore. The tracker runs synchronously for players with active momentum and never sets speed above the observed Soul Speed momentum. Diagonal strafe detection is inferred from movement direction and yaw, since Bukkit does not expose movement-key input directly.

nicemeowkofaras kofi

Act as an expert Minecraft server plugin developer (Paper / Spigot / Purpur API). I need a lightweight, highly optimized server-side plugin that overhauls movement physics to implement a custom "Progressive Momentum & Speed Accumulation" system.

CRITICAL REQUIREMENT:

  • Do NOT add any custom items, blocks, commands, or UI elements.
  • Works entirely server-side using pure Vanilla mechanics (Soul Speed III boots on Soul Sand / normal blocks) so players on Feather, Dawn, or Vanilla clients don't need any mods.

Core Plugin Logic (Progressive Speed & Momentum):

  1. Progressive Speed Accumulation (The Longer You Run, The Faster You Go):
  • Track the duration of a player's uninterrupted sprint / movement.
  • As long as the player continues moving without stopping, progressively increase their movement speed multiplier over time (e.g., gaining +5% to +10% velocity per second of continuous sprint, up to a configurable max speed cap).
  • Activating Soul Speed (running on Soul Sand with Soul Speed boots) grants an immediate initial boost and acts as a high-speed starter, but the momentum continues to stack as they run onto normal blocks.
  1. Strict Momentum Reset / Decay:
  • If the player stops moving, crouches, collides with a wall, or breaks their continuous movement streak, their accumulated momentum immediately resets back to default Vanilla speed.
  • Sharp turns decay momentum slightly, encouraging smooth directional control.
  1. 45-Degree Angle Strafe Tech (Silverisme Tech):
  • Detect when a player is strafing/moving at a 45-degree angle relative to their facing direction.
  • Moving at a 45-degree angle should help stabilize accumulated high speeds and reduce momentum decay when making wide curves/turns.
  1. Technical Details:
  • Implement movement tick listeners efficiently using PlayerMoveEvent or Scheduled Tasks to handle velocity vectors without causing TPS drops or server lag on Multiplayer.
  • Provide clean, fully commented Java source code ready to compile into a .jar file.
Kodari AI
KodariOct 23 at 11:19 pm 2
  1. Replace the current Soul Speed-only decay logic with a continuous sprint streak that accumulates speed up to a configurable multiplier.

  2. Reset boosted velocity on stops, crouching, lost sprint, and blocked movement; apply mild turn decay with 45° strafe stabilization.

  3. Add defaults in config.yml and load them when the plugin starts.

Implemented progressive momentum for continuous sprinting after activating Soul Speed III on Soul Sand or Soul Soil. Speed gains 7.5% per second by default, starts with a 10% boost, and caps at 2× the observed Soul Speed baseline.

Stops, crouching, lost sprint, and detected blocked movement reset the plugin-added speed. Sharp turns decay momentum slightly; inferred 45° strafes reduce that decay. The values are configurable in config.yml. No custom items, commands, permissions, or UI were added.

Strafe detection uses player yaw and observed movement because Bukkit does not expose movement-key input directly.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
5 333
src/main/java/com/kodari/soulspeedmomentum/SoulSpeedMomentumPlugin.java
package com.kodari.soulspeedmomentum;

import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class SoulSpeedMomentumPlugin extends JavaPlugin {
    private MomentumManager momentumManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        momentumManager = new MomentumManager(this);
        Bukkit.getPluginManager().registerEvents(momentumManager, this);
        momentumManager.start();
    }

    @Override
    public void onDisable() {
        if (momentumManager != null) {
            momentumManager.stop();
        }
    }
}