Item Actions

用独一无二的效果提升你的物品!

资源图片
# 项目动作 ✨ 使用独特效果和行为创建强大的自定义物品! ✨ **项目动作** 允许您设计在物品使用或佩戴时触发动作的自定义物品。 无论是发送消息的棒子,还是提供速度并抵消坠落伤害的靴子——此插件使其简单且强大。 --- ## 🔧 功能 - 使用 YAML 定义物品行为 - 触发命令、药水效果、声音等 - 设置冷却时间、权限和自定义元数据 - 装备或卸下的盔甲相关效果 - 清洁的配置和重新加载支持 - 完整的 [wiki 文档](https://bitbylogic.gitbook.io/bitbylogics-resources/resources/item-actions) 可用 --- ## 📦 命令 | 命令 | 描述 | 权限 | |--------|-------------|------------| | `/itemactions` | 查看命令帮助 | `itemactions.help` | | `/itemactions reload` | 重新加载配置和物品数据 | `itemactions.reload` | | `/itemactions give ` | 向玩家赠送配置的物品 | `itemactions.give` | --- ## 📂 配置示例
点击展开配置 ```yaml # 消息配置 Messages: Cooldown-Message: "&cYou cannot use that action again yet!" # 通用配置 Items: SpeedPickaxe: Type: "INTERACT" Cooldown: 60 Bypass-Permission: "itemactions.speedpickaxe.bypass" Version: 1 Item: Material: "DIAMOND_PICKAXE" Name: "&eSpeed Pickaxe" Lore: - "&cI am &oSpeed." Data-Key: "itemactions:speed_pickaxe" Data-Type: "STRING" Data-Value: "1" Requirements: Action-Types: - "RIGHT_CLICK_AIR" Permission: "itemactions.speedpickaxe" Actions: - "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 _]+)>(.*?)|<([a-zA-Z0-9 _]+)#(.*?)>(.*?) Spigot-Hex: §x(§[a-fA-F0-9]){6}§r Hex: '#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})' Placeholder: '%.+?%' Success: &l%prefix% &8%dot% %message% Paged: Footer: '⤷ &7(Page: %current-page%/%pages%)' Item: | » %text% Invalid-Page: Invalid page! Rich-Command: Hover: %description% Text: ' /%command%' List: Header: &l%prefix% &8%dot% %info% Item: '&8| &8» %prefix% &8%dot% %message%' Dotted-Message: %prefix% &8%dot% %message% Symbols: Dot: • Right-Arrow: » Main: &l%prefix% &8%dot% %message% Center-Pixels: 154 Command: ' /%command% &8─ %description%' Error: &l%prefix% &8%dot% %message% ```
--- ## 📚 文档 仍然不确定如何使用它吗? > 📝 **[阅读维基百科](https://bitbylogic.gitbook.io/bitbylogics-resources/resources/item-actions)** > 💬 **在 Discord 上联系我:@BitByLogic** 以获取帮助、支持和功能请求! --- ## ⚠️ 注意事项 - 确保使用唯一的 `Data-Key`(命名空间)以避免物品冲突。 - 始终精确匹配 `Data-Type` 和 `Data-Value` 格式。 - 盔甲动作仅在正确盔甲插槽中装备时触发。 --- ## ⭐ 评论和支持 如果你喜欢这个插件,**请留下积极的评论!** 如果你有任何问题或疑问: > ❗ **不要留下负面评论。** > 而是,**直接在 Discord 上私信我 (@BitByLogic)**,这样我就可以快速修复你的问题。