GemPlugin - Minecraft SMP 宝石能力插件
GemPlugin 是一个适用于 Minecraft 1.21.x 的插件,添加了宝石及其对应的装置(gadgets),旨在扩展 SMP 中的 PVP 体验。
功能
16 种独特宝石
每种宝石拥有三种核心能力,通过点击组合激活,冷却时间随宝石等级缩放。
可用的宝石类型:
- Fire
- Ice
- Lava
- Sand
- Iron
- Lightning
- Strength
- Healing
- Air
- Water
- Shadow
- Speed
- Pain
- Mining
- Ender
- Gluttony
专属装置(Per-Gem Gadgets)
每种宝石类型都配有匹配的装置,拥有其独有的第 4 种能力。
装置系统亮点:
- 每种宝石类型对应一个装置
- 使用带有 Gadget Core 居中位置的装置配方合成
- 正常右键点击打开装置绑定菜单
- Shift + 右键点击激活装置能力
- 装置可以通过持久化物品元数据绑定到任意宝石
- 可以使用
/gem unbind 移除并重新分配绑定
宝石升级
宝石支持从 1 级到 5 级 的等级进阶。
更高等级的宝石会使用配置的 gem.gemlevelsteppercent 值减少能力冷却时间。
其他包含物品
- Gem Core:用于合成宝石
- Gadget Core:用于合成装置
命令
/gem gemrecipes
- 权限:
gemplugin.use
- 描述: 打开宝石、装置和核心的配方 GUI
/gem unbind
- 权限:
gemplugin.use
- 描述: 移除主手中宝石绑定的装置
/gem givegem <player> <gemtype> [level]
- 权限:
gemplugin.givegem
- 描述: 给予玩家一枚宝石
- 示例:
/gem givegem Steve fire 3
/gem givegadget <type> 或 /gem givegadget <player> <type>
- 权限:
gemplugin.givegadget
- 类型:
fire, ice, lava, sand, iron, lightning, strength, healing, air, water, shadow, speed, pain, mining, ender, gluttony, shadowcore
/gem reload
旧版命令 /givegem、/givegadget、/gemrecipes 和 /gemplugin reload 仍保留以兼容旧版本。
权限
gemplugin.givegem (默认: op)
gemplugin.givegadget (默认: op)
gemplugin.admin (默认: op)
gemplugin.use (默认: true)
安装
- 下载最新版本
- 将
.jar 文件放入服务器的 plugins 文件夹
- 重启服务器
- 根据需要配置权限
配置
src/main/resources/config.yml 中的关键选项:
dropgemondeath (bool): 是否在死亡时掉落宝石
dogadgets (bool): 启用装置合成、绑定和装置能力
dogemupgrading (bool): 启用宝石升级配方
nodoublegemuser (bool): 限制同时使用相同类型的宝石
debug (bool): 可选的调试日志记录
gem.gemlevelsteppercent (double): 每高于 1 级的宝石等级所减少的冷却百分比
兼容性
- Minecraft 版本: 1.21.x
- 支持平台: Paper, Purpur, Spigot
- 构建目标:
spigot-api
- Java 版本: 21
如有问题、建议或关于该插件的疑问,请在仓库中创建 Issue。
许可
依据 MIT License 授权。详见 LICENSE 文件。
GemPlugin - Minecraft SMP Gem Abilities Plugin
GemPlugin is a Minecraft 1.21.x plugin that adds gems and coresponding gadgets for them, looking to expand PVP for SMPs
Features
16 Unique Gems
Each gem has three core abilities activated by click combinations, with cooldown scaling based on gem level.
Available gem types:
- Fire
- Ice
- Lava
- Sand
- Iron
- Lightning
- Strength
- Healing
- Air
- Water
- Shadow
- Speed
- Pain
- Mining
- Ender
- Gluttony
Per-Gem Gadgets
Every gem type has a matching gadget with its own 4th ability.
Gadget system highlights:
- One gadget per gem type
- Crafted from the matching gadget recipe layout with a Gadget Core in the center
- Normal right-click opens the gadget binding menu
- Shift + right-click activates the gadget ability
- Gadgets can bind to any gem using persistent item metadata
- Bindings can be removed and reassigned with
/gem unbind
Gem Upgrading
Gems support level progression from 1 to 5.
Each higher level reduces ability cooldowns using the configured gem.gemlevelsteppercent value.
Other Included Items
- Gem Core for gem crafting
- Gadget Core for gadget crafting
Commands
/gem gemrecipes
- Permission:
gemplugin.use
- Description: Open the recipe GUI for gems, gadgets, and cores
/gem unbind
- Permission:
gemplugin.use
- Description: Remove the bound gadget from the gem in your main hand
/gem givegem <player> <gemtype> [level]
- Permission:
gemplugin.givegem
- Description: Give a gem to a player
- Example:
/gem givegem Steve fire 3
/gem givegadget <type> or /gem givegadget <player> <type>
- Permission:
gemplugin.givegadget
- Types:
fire, ice, lava, sand, iron, lightning, strength, healing, air, water, shadow, speed, pain, mining, ender, gluttony, shadowcore
/gem reload
- Permission:
gemplugin.admin
Legacy commands /givegem, /givegadget, /gemrecipes, and /gemplugin reload are still available for backward compatibility.
Permissions
gemplugin.givegem (default: op)
gemplugin.givegadget (default: op)
gemplugin.admin (default: op)
gemplugin.use (default: true)
Installation
- Download the latest release
- Place the
.jar file in your server's plugins folder
- Restart your server
- Configure permissions as needed
Configuration
Key flags in src/main/resources/config.yml:
dropgemondeath (bool): whether gems drop on death
dogadgets (bool): enables gadget crafting, binding, and gadget abilities
dogemupgrading (bool): enables gem upgrading recipes
nodoublegemuser (bool): limits concurrent use of the same gem type
debug (bool): optional debug logging
gem.gemlevelsteppercent (double): cooldown reduction per gem level above 1
Compatibility
- Minecraft Version: 1.21.x
- Supported Platforms: Paper, Purpur, Spigot
- Build Target:
spigot-api
- Java Version: 21
For issues, suggestions, or questions about the plugin, please create an issue in the repository.
License
Licensed under the MIT License. See the LICENSE file for details.
评论 0
登录后参与评分
还没有评论,来抢沙发吧