BlockEffects (方块效果-激发特殊动作)
BlockEffects是一个轻量级插件,当玩家与方块交互或踩在方块上时激活特殊效果。拥有6种触发类型:左键点击(LEFT_CLICK)、右键点击(RIGHT_CLICK)、步行(WALK)、步行内部(WALK_INSIDE)、破坏(BREAK)、放置(PLACE)。触发时可发送消息、执行命令、增加药水效果等。插件具备内置冷却和每个方块的权限设置。该插件非常适合KitPVP、SkyPVP或其他类型的服务器。
权限:blockeffects.blocks - 允许用户查看所有注册的方块
配置
插件配置部分示例:
material: # message: # trigger: # permission: # effect:
type: # duration: # amplifier: # commands:
- \"\"# - \"\"# - \"\"blocks:
example-block: material: REDSTONE_BLOCK trigger: RIGHT_CLICK message: "&6[BlockEffects] &cRegenerating your health!" effect: type: REGENERATION duration: 25 amplifier: 2 permission: blockeffects.redstone_block coal-block: material: COAL_BLOCK trigger: WALK message: "&6[BlockEffects] &7You are now blind!" effect: type: BLINDNESS duration: 10 amplifier: 1 commands: - "say %player% has stepped on a coal_block," - "say he is now blind!"
安全和世界设置
安全部分和世界设置示例:
Security:enabled: true cooldown: 1 no-permission: send: true enabled-worlds: - "world"
联系与支持
作者欢迎大家共同改进插件,可以通过GitHub联系并提交新的想法。如果发现任何BUG,请在GitHub上报告。如果喜欢该插件并想支持作者的开发,可以在这里给作者买杯咖啡哦!
源代码和贡献请访问GitHub:
收录