QuickDash
QuickDash 是一个 Paper 服务器插件,为每位玩家提供方向性空中冲刺能力。当玩家在空气中再次按下跳跃键时,插件会根据其当前按住的移动键方向将其水平发射出去。如果没有按住任何键,则冲刺方向为玩家面朝的方向。
用途
该插件旨在向服务器添加一个独立、自包含的移动能力,而不修改任何原版机制。它不会修改方块、物品、世界生成、聊天、权限或玩家数据。其对游戏玩法的唯一影响是冲刺本身以及随之而来的视觉和听觉反馈。
工作原理
- 插件为非创造模式和非旁观者模式的每位玩家启用
allow flight(允许飞行)。这是为了检测空中的跳跃动作,且并不会让玩家真正获得飞行能力。
- 当玩家在空气中切换飞行状态时,插件会取消飞行状态,并根据玩家当前的移动输入方向施加水平速度。
- 方向读取自客户端的逻辑移动输入,因此无论使用何种键盘布局或自定义按键绑定均可正常工作。
- 可配置的冷却时间防止技能被滥用。Boss 栏显示冷却进度,并在冲刺就绪后自动隐藏。
- 在冲刺仍在生效期间,可选择性地取消摔落伤害,使玩家可以安全地从高处边缘冲刺离开。
功能
- 基于双击跳跃瞬间所按住的移动键进行方向性冲刺
- 可配置冷却时间、水平强度和垂直升力
- 可选的冷却 Boss 栏
- 冲刺期间可选的摔落伤害取消
- 可选的声音和粒子反馈
- 自动处理创造模式和旁观者模式,在这些模式中该能力会被禁用
配置
所有值均可在 config.yml 中编辑。文件中的每个选项都有文档说明,包括推荐范围和保持在稳定原版移动限制内的最大值。该文件会在插件首次启动时自动生成。
要求
- Paper 1.21 或更高版本,因为插件使用了
Player#getCurrentInput API
- Java 25
权限与命令
QuickDash 不添加任何命令或权限节点。安装后,冲刺能力会自动对所有非创造模式和非旁观者模式的玩家开放。
兼容性
该插件仅响应飞行切换事件,且仅写入玩家的速度属性。它与世界保护插件、经济插件或标准 PvP 插件没有冲突。不建议与其他也为生存玩家启用 allow flight 的插件一起使用,因为多个插件会同时尝试控制相同的状态。
QuickDash
QuickDash is a Paper server plugin that gives every player a directional air dash. When a player presses jump a second time while in the air, the plugin launches them horizontally in the direction of the movement keys they are holding. If no keys are held, the dash goes in the direction the player is looking.
Purpose
The plugin exists to add a single, self contained movement ability to a server without altering any vanilla mechanic. It does not modify blocks, items, world generation, chat, permissions, or player data. Its only effect on gameplay is the dash itself and the visual and audio feedback that accompanies it.
How it works
- The plugin enables allow flight for every player who is not in Creative or Spectator mode. This is required so the server can detect the mid air jump, and it does not let players actually fly.
- When a player toggles flight in the air, the plugin cancels the flight state and instead applies a horizontal velocity in the direction determined by the player's current movement input.
- The direction is read from the client's logical movement input, so it works correctly with any keyboard layout or custom key binding.
- A configurable cooldown prevents the ability from being spammed. A boss bar shows the cooldown progress and hides itself when the dash is ready.
- Fall damage is optionally cancelled while a dash is still active, so players can dash off ledges safely.
Features
- Directional dashing based on the movement keys held at the moment of the double jump
- Configurable cooldown, horizontal strength, and vertical lift
- Optional cooldown boss bar
- Optional fall damage cancellation during the dash
- Optional sound and particle feedback
- Automatic handling of Creative and Spectator modes, where the ability is disabled
Configuration
All values can be edited in config.yml. Every option is documented in the file, including the recommended range and the maximum value that stays within stable vanilla movement limits. The file is generated automatically the first time the plugin starts.
Requirements
- Paper 1.21 or newer, because the plugin uses the
Player#getCurrentInput API
- Java 25
Permissions and commands
QuickDash does not add any commands or permission nodes. Once installed, the dash is available to every non Creative and non Spectator player automatically.
Compatibility
The plugin only reacts to the flight toggle event and only writes to player velocity. It does not conflict with world protection plugins, economy plugins, or standard PvP plugins. It should not be combined with other plugins that also enable allow flight for survival players, since both plugins would try to control the same state.
评论 0
登录后参与评分
还没有评论,来抢沙发吧