Happy Ghast Speed 插件
一个适用于 Paper 26.1.2 版本的 Minecraft 插件,允许服务器管理员动态控制整个服务器上“Happy Ghast”生物的移动速度。
功能
- 全局速度控制: 立即更新所有世界中所有现有 Happy Ghast 的移动/飞行速度。
- 自动执行: 自动将配置的速度应用于任何新刷新的 Happy Ghast。
- 游戏内命令: 提供易于使用的命令,以动态设置、增加或降低速度倍率。
- 持久化配置: 将所选速度保存至
config.yml,使其在服务器重启后依然保留。
命令
[!WARNING]
Minecraft 属性速度非常敏感!大多数飞行生物的基础默认速度约为 0.3。
- 请勿通过较大的整数增加速度(例如,增加
4.0 会导致它们像傻子一样不受控制地高速飞行!)。
- 使用较小的十进制增量来安全地调整速度(例如,增加
0.05 或 0.1)。
/happyghastspeed <number> - 为所有快乐恶魂设置特定速度(例如,/happyghastspeed 0.4)。
/happyghastspeed increase <number> - 增加当前速度(例如,/happyghastspeed increase 0.1)。
/happyghastspeed decrease <number> - 降低当前速度(例如,/happyghastspeed decrease 0.05)。
别名: /hgspeed
权限
happyghast.speed - 使用 /happyghastspeed 命令所需的权限。
外部数据收集
本插件使用 bStats(插件 ID 32235)来收集匿名使用统计数据,如服务器版本、Java 版本、操作系统和玩家数量。这些数据会发送至 https://bStats.org/,用于跟踪插件的使用情况。不会收集任何个人或可识别玩家身份的数据。服务器所有者可以在 plugins/bStats/config.yml 文件中禁用 bStats。
设置与编译
本插件使用 Gradle。要在本地构建插件:
- 克隆或下载仓库。
- 在项目根目录运行
./gradlew build。(请确保使用 Java 21+,并且 Paper 26.1.2 API 已存在于你的本地/远程 Maven 仓库中)。
- 编译后的
.jar 文件将生成在 build/libs/ 中。
- 将
.jar 文件放入服务器的 plugins/ 目录并重启服务器。
Happy Ghast Speed Plugin
A Minecraft Paper plugin for version 26.1.2 that allows server administrators to dynamically control the movement speed of the "Happy Ghast" mob across the entire server.
Features
- Global Speed Control: Instantly updates the movement/flying speed of all existing Happy Ghasts in all worlds.
- Automatic Enforcement: Automatically applies the configured speed to any newly spawned Happy Ghasts.
- In-Game Commands: Easy-to-use commands to set, increase, or decrease the speed multiplier dynamically.
- Persistent Configuration: Saves the chosen speed to
config.yml so it persists across server restarts.
Commands
[!WARNING]
Minecraft attribute speeds are very sensitive! The default base speed for most flying mobs is around 0.3.
- Do NOT increase the speed by large whole numbers (e.g., adding
4.0 will cause them to fly uncontrollably fast like idiots!).
- Use small decimal increments to adjust the speed safely (e.g., increase by
0.05 or 0.1).
/happyghastspeed <number> - Sets a specific speed for all Happy Ghasts (e.g., /happyghastspeed 0.4).
/happyghastspeed increase <number> - Increases the current speed (e.g., /happyghastspeed increase 0.1).
/happyghastspeed decrease <number> - Decreases the current speed (e.g., /happyghastspeed decrease 0.05).
Aliases: /hgspeed
Permissions
happyghast.speed - Required to use the /happyghastspeed command.
External Data Collection
This plugin uses bStats (plugin ID 32235) to collect anonymous usage statistics such as server version, Java version, OS, and player count. This data is sent to https://bStats.org/ and is used to track plugin adoption. No personal or player-identifying data is collected. Server owners can disable bStats in the plugins/bStats/config.yml file.
Setup & Compilation
This plugin uses Gradle. To build the plugin locally:
- Clone or download the repository.
- Run
./gradlew build in the project root. (Ensure you are using Java 21+ and have the Paper 26.1.2 API available in your Maven local/remote repositories).
- The compiled
.jar file will be generated in build/libs/.
- Place the
.jar file into your server's plugins/ directory and restart the server.
评论 0
登录后参与评分
还没有评论,来抢沙发吧