.rappture

es soll 3 min an durchgehendes laufen (max. 30 sec unterbrechung) gebrauchen um zu 100% zu kommen

📎 1 file 1,755 chars
📄
pasted-code-1791139188672.txt
txt 33 lines
▶
Momentum Speed

The longer you keep moving forward, the faster you get, up to speeds vanilla Minecraft was never meant to hit. Inspired by Manepear's speed glitch video, this brings that same momentum-based movement to your Paper server.

How it works

Sprint forward without stopping and your momentum builds, shown as a meter in your action bar. It's harder to gain the higher it climbs: quick at first, then noticeably slower, crawling in the last stretch, so hitting max speed takes real commitment (a few minutes of nonstop running).

Strafing or moving backward won't kill your momentum outright, but it barely builds it, running dead forward is what actually ramps you up. Stop moving entirely and it drains fast.

As your momentum climbs, so does your speed, gradually at first, then dramatically in the final stretch, capping out at wildly inhuman speeds. Two perks kick in along the way: past a set threshold you'll auto-step up blocks like they're stairs instead of needing to jump, and once you're fast enough you'll skim across the surface of water instead of sinking.

Want to bail out of your momentum on command? Crouch and swap to your offhand item at the same time, or just run /momentumstop, either instantly drops you back to zero.

Commands

/momentumspeed grant  and /momentumspeed revoke , admin-only, controls exactly who has access to the ability (nobody gets it by default)

/momentumspeed reload, admin-only, reloads the config

/momentumstop, anyone, instantly zeroes their own momentum

Config

A config.yml in the plugin's folder lets you turn the action bar meter off if you don't want the GUI.

Requirements

Paper 1.21.x

Credit

Mechanic concept from Manepear's YouTube video on Minecraft's fastest speed.
Kodari AI
KodariOct 4 at 6:45 pm 1
MomentumSpeed
A Paper plugin that grants players momentum-based speed building. Sprinting forward continuously increases speed up to inhuman velocities, with a configurable action bar meter displaying progress. Momentum builds slowly at higher tiers, requiring roughly three minutes of sustained movement (max 30-second interruptions) to reach 100%. Strafing or backward movement barely builds momentum, while stopping drains it quickly. Features auto-step over blocks and water-skimming at higher thresholds. Includes admin commands to grant/revoke access, reload config, and a player command to instantly reset momentum.
  1. Lege Paper-1.21-Projektdateien, Plugin-Einstiegspunkt und Standardkonfiguration an.

  2. Implementiere Momentum-Aufbau auf genau 180 Sekunden Vorwärtslauf, 30 Sekunden Unterbrechungspuffer, Geschwindigkeitsstufen und Wasser-/Stufen-Perks.

  3. Ergänze Freischaltbefehle, persistent gespeicherte Berechtigungen und /momentumstop.

Das Momentum-Speed-Plugin ist angelegt. Bei durchgehendem Vorwärtslaufen erreicht es nach 180 Sekunden 100 %. Unterbrechungen bis 30 Sekunden pausieren den Fortschritt; danach baut er sich innerhalb von standardmäßig 8 Sekunden ab.

Admin-Befehle: /momentumspeed grant <Spieler>, /momentumspeed revoke <Spieler> und /momentumspeed reload. /momentumstop setzt das eigene Momentum zurück; Schleichen und Offhand-Taste tun dasselbe. Actionbar-Anzeige, Stufenautomatik und Wasser-Skimming sind enthalten.

.rappture

und mache das auto step raus

Kodari AI
KodariOct 6 at 6:53 pm 1

Auto-Step ist entfernt: Spieler springen nun selbst über Blöcke. Wasser-Skimming und die übrigen Momentum-Funktionen bleiben unverändert.

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

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

public final class MomentumSpeedPlugin extends JavaPlugin {
    private MomentumManager momentumManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        momentumManager = new MomentumManager(this);

        Bukkit.getPluginManager().registerEvents(new MomentumListener(momentumManager), this);
        MomentumCommand commandHandler = new MomentumCommand(this, momentumManager);
        getCommand("momentumspeed").setExecutor(commandHandler);
        getCommand("momentumspeed").setTabCompleter(commandHandler);
        getCommand("momentumstop").setExecutor(commandHandler);
    }

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