自定义命中指令:在命中时释放动态操作!
❓ CHC 是什么?
Custom Hit Command 允许你在用选定的物品组和/或之前通过 /chc sethititem 标记的特定物品,或在配置文件中通过 external-nbt-tags 配置的条件下,每次击中另一名玩家时触发特定的命令。这款轻量级且高度可定制的插件专为 Paper 26.1 构建,提供卓越的性能、无缝集成和高稳定性。
? 主要功能:
? 可配置的命中物品:定义哪些物品组、单个物品或外部 NBT 标签会触发该动作(例如所有铁剑、标记的烈焰棒,或通过 key=value 方式引用的插件物品如 DeluxeHub)
? 动态命令执行:设置任何服务器命令以在成功命中后运行。你可以选择由攻击者玩家还是控制台执行该命令。使用 %hitted_player% 占位符自动插入被击中玩家的名称(例如 /duel %hitted_player%)
✨ 视觉命中粒子:配置在被击中玩家位置出现的粒子效果,为你的命令增添视觉上的动态元素
? 自定义消息:调整几乎所有插件消息以匹配你服务器的风格。你可以同时使用现代 MiniMessage 标签和旧版颜色代码!
? 增强日志记录:可以启用可选的增强日志系统,以提供详细的调试信息用于故障排除
? 更新通知:可以配置自动更新检查器,当有新版本可用时,在控制台或游戏内(或两者兼有)通知你。它可以轻松地在配置中开启/关闭
你还在等什么?立即获取 Custom Hit Command,为你的服务器带来全新的刺激体验!
️**?️ 指令与权限:**
/chc reload | customhitcommand.reload
/chc sethititem | customhitcommand.sethititem
customhitcommand.use (允许使用命中物品,默认为 true)
customhitcommand.update (用于游戏内的更新通知)
customhitcommand.admin (所有权限的父级权限)
? 计划中的功能:
- 配置文件更新器
- 多个命令
- 命令延迟
- 多个命中物品组
- 为每个物品组设置不同的命令执行者和命令
- 成功命中时播放声音选项
- Folia 支持
❓ 常见问题解答:
为什么编译后的插件(JAR 文件)比 GitHub 上的源代码大?
我们的插件包含了像 bStats 这样的依赖项,用于收集匿名使用统计数据。当插件被编译成单个 JAR 文件时,bStats 库(连同其自身的所有依赖项)会被打包到最终的插件文件中。这个过程称为“着色”(shading),它使插件成为自包含的,这自然会导致整体文件大小相对于原始源代码增加。
? 需要帮助?
如果你遇到任何问题、错误或对插件有任何疑问,请随时直接联系我。我很乐意查看并提供支持!你的良好体验是我们的首要任务。
Custom Hit Command: Unleash Dynamic Actions on Impact!
❓ What is CHC?
Custom Hit Command let's you trigger specific commands every time you hit another player with a chosen item group and/or specific item(s) you marked before with /chc sethititem and/or configured through external-nbt-tags in the config! This lightweight and highly customizable plugin is built for Paper 26.1, offering excellent performance, seamless integration and high stability.
? Key Features:
? Configurable Hit Item: Define which item group, single item, or external NBT tag triggers the action (e.g., all Iron Swords, marked Blaze Rods, or even plugins like DeluxeHub items via key=value)
? Dynamic Command Execution: Set any server command to run upon a successful hit. You can choose whether the command is executed by the attacking player or the console. Use the %hitted_player% placeholder to automatically insert the name of the player you hit (e.g., /duel %hitted_player%)
✨ Visual Hit Particles: Configure particle effects to appear at the location of the hitted player, adding a visually dynamic element to your commands
? Customizable Messages: Tailor nearly all plugin messages to match your server's style. You can use both modern MiniMessage tags and legacy color codes at the same time!
? Enhanced Logging: An optional, enhanced logging system can be enabled to provide detailed debug information for troubleshooting
? Update Notifications: An automatic update checker can be configured to notify you in the console or directly in-game (or both) when a new version is available. It can be easily toggled on/off in the configuration
So what are you waiting for? Get Custom Hit Command now and bring a new layer of excitement to your server!
️**?️ Commands & Permissions:**
/chc reload | customhitcommand.reload
/chc sethititem | customhitcommand.sethititem
customhitcommand.use (allows the use of the hit item (default true))
customhitcommand.update (for in-game update notifications)
customhitcommand.admin (parent permission for all permissions)
? Planned features:
- config updater
- multiple commands
- command delay
- multiple hit item groups
- set for every item group a different command executor and command
- sound option to play at a successful hit
- folia support
❓ Q&A:
Why is the compiled plugin (JAR file) larger than the source code on GitHub?
Our plugin includes dependencies like bStats to gather anonymous usage statistics. When the plugin is compiled into a single JAR file, the bStats library (along with all its own dependencies) is packaged directly into the final plugin file. This process, called 'shading', makes the plugin self-contained which naturally increases the overall file size compared to just the raw source code.
? Need Help?
If you encounter any problems, bugs, or have questions about the plugin, please don't hesitate to contact me directly. I'll be happy to take a look and provide support! Your positive experience is our priority.
下载 CHC | 自定义命中命令
下载 CHC | 自定义命中命令
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CHC | 自定义命中命令
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CHC | 自定义命中命令
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CHC | 自定义命中命令
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CHC | 自定义命中命令
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CHC | 自定义命中命令
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CHC | 自定义命中命令
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CHC | 自定义命中命令
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CHC | 自定义命中命令
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
2.1.2 版本更新了什么?
- 对更新检查器进行了多项修复,使其更加稳健
- 错误信息现在能够正确显示
- Alpha 或 Beta 构建不再被标记为新版本
- latestVersion 字段由异步任务写入,但在玩家加入时在主线线程读取,因此该字段现设为 volatile
- 更新了 check-material-group 的描述
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧