Item Actions

插件

· 作者 BitByLogic

为你的物品赋予独一无二的特效!

0 本站下载 0 关注 更新于 1 年前

最新 2025.11 · 26.2 · Bukkit / Paper

一键开服(送7天)

物品动作

✨ 使用独特的效果和自定义行为,打造强大的专属物品!✨

Item Actions 让你能够设计在使用或穿戴时触发特定动作的自定义物品。无论是发送消息的木棍,还是提供速度效果并抵消摔落伤害的靴子——这款插件让这一切变得简单而强大。


? 功能

  • 通过 YAML 定义物品行为
  • 触发指令、药水效果、音效等
  • 设置冷却时间、权限和自定义元数据
  • 装备或卸下护甲时触发效果
  • 配置简洁,支持重新加载
  • 提供完整的 wiki 文档

? 命令

命令 描述 权限
/itemactions 查看命令帮助信息 itemactions.help
/itemactions reload 重新加载配置和物品数据 itemactions.reload
/itemactions give <player> <item> 给予玩家一个已配置的物品 itemactions.give

? 配置示例

点击展开配置
# 消息配置
Messages:
  Cooldown-Message: "&c你尚未冷却完毕,无法再次使用该操作!"

常规配置

物品: SpeedPickaxe: 类型: "INTERACT" 冷却时间: 60 绕过权限: "itemactions.speedpickaxe.bypass" 版本: 1 物品: 材质: "DIAMOND_PICKAXE" 名称: "&eSpeed Pickaxe" 描述: - "&cI am &oSpeed." 数据键: "itemactions:speed_pickaxe" 数据类型: "STRING" 数据值: "1" 要求: 动作类型: - "RIGHT_CLICK_AIR" 权限: "itemactions.speedpickaxe" 动作: - "PLAY_SOUND:BLOCK_ANVIL_HIT" - "RUN_COMMAND:say Must go FAST." - "ADD_POTION_EFFECT:speed|3|true|true"

ZoomyBoots: Type: "ARMOR" Version: 1 Item: Material: "LEATHER_BOOTS" Name: "&eZoomy Boots" Dye-Color: "#FF0000" Data-Key: "itemactions:zoomy_boots" Data-Type: "STRING" Data-Value: "1" Actions: - "ADD_POTION_EFFECT:speed|3|true|true" - "RUN_COMMAND:say Zoomy Boots Equipped." - "NEGATE_FALL_DAMAGE" Unequip-Actions: - "REMOVE_POTION_EFFECT:speed" - "RUN_COMMAND:say Zoomy Boots Removed."

────────────

Bit's Colors

────────────

Colors: Separator: '#3B322C' Primary: '#1E90FF' Secondary: '#20B2AA' Highlight: '#FAFAD2' Error-Primary: '#DB162F' Error-Secondary: '#E5383B' Error-Highlight: '#621708' Success-Primary: '#1DAB45' Success-Secondary: '#1BC44B' Success-Highlight: '#71EA93'

────────────────

Bit's Formatting

────────────────

Formatting: Patterns: Format: <([a-zA-Z0-9 _]+)>(.?)</\1>|<([a-zA-Z0-9 _]+)#(.?)>(.*?)</\3> Spigot-Hex: §x(§[a-fA-F0-9]){6}§r Hex: '#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})' Placeholder: '%.+?%' Success: <c#success_primary>&l%prefix%</c> &8%dot% <c#success_secondary>%message%</c> Paged: Footer: '⤷ &7(Page: %current-page%/%pages%)' Item: <c#separator>| » </c><c#highlight>%text%</c> Invalid-Page: Invalid page! Rich-Command: Hover: <c#secondary>%description%</c> Text: ' <c#primary>/%command%</c>' List: Header: <c#primary>&l%prefix%</c> &8%dot% <c#secondary>%info%</c> Item: '&8| &8» <c#success_primary>%prefix%</c> &8%dot% <c#success_secondary>%message%</c>' Dotted-Message: <c#success_primary>%prefix%</c> &8%dot% <c#success_secondary>%message%</c> Symbols: Dot: • Right-Arrow: » Main: <c#primary>&l%prefix%</c> &8%dot% <c#secondary>%message%</c> Center-Pixels: 154 Command: ' <c#primary>/%command%</c> &8─ <c#secondary>%description%</c>' Error: <c#error_primary>&l%prefix%</c> &8%dot% <c#error_secondary>%message%</c>


</details>

---

## ? Documentation

Still not sure how to use it?

> ? **[Read the Wiki](https://bitbylogic.gitbook.io/bitbylogics-resources/resources/item-actions)**  
> ? **Contact Me On Discord: @BitByLogic** for help, support, and feature requests!

---

## ⚠️ Notes

- 请务必使用唯一的 `Data-Key`(命名空间)以避免物品冲突。
- 始终精确匹配 `Data-Type` 和 `Data-Value` 的格式。
- 护甲动作仅在正确装备到护甲槽位时才会触发。

---

## ⭐ 评价与支持

如果你喜欢这个插件,**请留下好评!**  
如果你有任何问题或疑问:

> ❗ **请不要留下差评。**  
> 相反,请直接在 Discord 上私信我 (@BitByLogic),以便我能快速帮你解决问题。

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源