LongerPotionDuration
LongerPotionDuration 是一款轻量级插件,允许服务器管理员通过游戏内 GUI 编辑器完全控制 Minecraft 中所有 一级和二级药水 的持续时间。
功能特性
- 游戏内 GUI 编辑器 (
/lpd): 点击即可即时更改药水持续时间。无需重新加载配置文件或重启服务器。
- GUI 导航: 一键在一级和二级药水页面之间切换。
- 完整的药水支持:
兼容所有基础效果和延伸效果,包括较新的 1.21 版本药水(充能风暴、编织、黏稠、被寄生)。
- 全场景适用: 适用于普通药水、喷溅药水、滞留药水以及带有更新后提示信息的自定义酿造物品。
- 与 Lifesteal SMP 兼容: 已与 LifestealWorld 等插件配合测试,确保自定义计时器和持续时间不会引发任何问题。
- 轻量高效: 在活跃服务器上测试过,性能零损耗。
GUI 控件
查看编辑器时(使用 /lpd 或 /lpd 1 / /lpd 2):
| 操作 |
控制方式 |
| +10 秒 |
左键点击 |
| -10 秒 |
右键点击 |
| +30 秒 |
Shift + 左键点击 |
| -30 秒 |
Shift + 右键点击 |
| 重置为原版默认值 |
中键点击 |
| 切换启用/禁用状态 |
丢弃键 (Q) |
| 切换页面(一级 ⬌ 二级) |
点击角落的箭头 |
| 重置当前页所有设置 |
点击红石块 |
命令
/potionduration
/lpd 或 /lpd 2 — 打开二级持续时间编辑器。
/lpd 1 — 打开一级持续时间编辑器。
/lpd set <potion> <seconds> — 设置特定药水的持续时间(秒)。
/lpd reset <potion|all> [1|2] — 重置特定药水或整个等级至原版默认值。
/lpd reload — 重新加载 config.yml 配置文件。
/lpd help — 显示游戏内命令帮助菜单。
权限
longerpotions.* — 授予所有插件权限(默认:op)。
longerpotions.admin — 访问 /lpd set、/lpd reset 和 /lpd reload(默认:op)。
longerpotions.gui — 访问并打开持续时间编辑器 GUI(默认:op)。
longerpotions.reload — 重新加载配置的权限(默认:op)。
安装方法
- 下载
LongerPotionDuration-1.0.0.jar。
- 将其放入服务器的
plugins/ 目录中。
- 重启或重载您的服务器。
- 在游戏中输入
/lpd 并开始自定义您的药水!
需要帮助或发现 Bug?
如果您发现任何错误,欢迎加入我们的 Discord —— 我们修复 Bug 的速度非常快!
如果链接无法使用,请点击我的其他项目之一,应该可以正常工作。
许可证
本项目属于专有软件。
许可证:
禁止未经授权的使用、复制或分发。请参阅上述链接中的完整许可证文本。
LongerPotionDuration
LongerPotionDuration is a lightweight, plugin that gives server owners complete control over the durations of all Level 1 and Level 2 potions in Minecraft through an in-game GUI editor.
Features
- In-Game GUI Editor (
/lpd): Click to change potion durations on the fly. No config reloads or server restarts needed.
- GUI Navigation: flip between Level 1 and Level 2 potion pages with one click.
- Full Potion Support:
Works with all base and extended effects, including newer 1.21 potions (Wind Charged, Weaving, Oozing, Infested).
- Applies Everywhere: Works for regular pots, splash potions, lingering potions, and custom brewed items with updated tooltips.
- Lifesteal SMP Friendly: Tested along side plugins like LifestealWorld to ensure custom timers and custom durations never cause any problems.
- Lightweight: Tested on active servers with zero performance drops.
GUI Controls
When viewing the editor (/lpd or /lpd 1 / /lpd 2):
| Action |
Control |
| +10 Seconds |
Left Click |
| -10 Seconds |
Right Click |
| +30 Seconds |
Shift + Left Click |
| -30 Seconds |
Shift + Right Click |
| Reset to Vanilla Default |
Middle Click |
| Toggle Enabled / Disabled |
Drop Key (Q) |
| Switch Page (Level 1 ⬌ Level 2) |
Click Arrow in corner |
| Reset All on Current Page |
Click Redstone Block |
Commands
/potionduration
/lpd or /lpd 2 — Opens the Level 2 duration editor.
/lpd 1 — Opens the Level 1 duration editor.
/lpd set <potion> <seconds> — Sets a specific potion's duration in seconds.
/lpd reset <potion|all> [1|2] — Resets a specific potion or an entire level to vanilla defaults.
/lpd reload — Reloads the config.yml configuration.
/lpd help — Displays the in-game command help menu.
Permissions
longerpotions.* — Grants all plugin permissions (default: op).
longerpotions.admin — Access to /lpd set, /lpd reset, and /lpd reload (default: op).
longerpotions.gui — Access to open and use the duration editor GUI (default: op).
longerpotions.reload — Permission to reload the configuration (default: op).
Installation
- Download
LongerPotionDuration-1.0.0.jar.
- Drop it into your server's
plugins/ directory.
- Restart or reload your server.
- Type
/lpd in-game and start customizing your potions!
Need Help or Found a Bug?
Feel free to join our Discord if you find any bugs — WE fix bugs FAST!
If link doesnt work click on one of my other projects thos should work
License
This project is proprietary.
License:
Unauthorized use, copying, or distribution is prohibited. See the full license text at the link above.
评论 0
登录后参与评分
还没有评论,来抢沙发吧