
这是由 @emericask8ur 制作的插件 "WarningSign" 的延续版本
版本 3.x.x
你是否曾经想要保护某个区域,却找不到合适的工具?那么这就是你的解决方案!在任意位置放置一个告示牌并在第一行输入 "[Caution]",即可使处于自定义方块半径范围内的任何人受到可定制事件的击杀!
功能特性
1) 支持自定义打击半径。
2) 支持权限系统。
3) 管理员(Ops)拥有完全权限。
4) 不区分大小写。
5) 不会针对生物(mobs)。
6) 可定制的打击选项
- 闪电 (Lightning):用闪电攻击玩家
- 爆炸 (Explode):通过爆炸杀死玩家
- 点燃 (Ignite):将玩家点燃
- 箭雨 (Volley):向玩家发射箭矢
- 傀儡 (Golem):在玩家身上生成敌对的铁傀儡
- 狼群 (Wolves):在玩家身上生成敌对的狼
- 熔岩陷阱 (LavaTrap):将玩家困在基岩/熔岩陷阱中
- 水陷阱 (WaterTrap):将玩家困在基岩/水陷阱中
- 高空坠落 (SkyDive):将玩家传送到高空然后让其坠落到地面
- 随机 (Random):随机选择一种打击方式发起攻击
使用说明
1) 在告示牌的第一行输入 "[Caution]"。
2) 在告示牌的第二行输入数字,作为打击半径。
3) 在此告示牌的第三行输入你想要使用的打击类型。(详见功能列表)
如果操作正确,玩家的名字将显示在告示牌的最后一行,并且玩家会收到一条确认消息。
权限节点
cautionsigns.* - 允许创建、忽略和销毁 cautionsigns。
cautionsigns.create - 允许创建告示牌。
cautionsigns.ignore - 告示牌直接忽略进入半径范围的玩家。
cautionsigns.destroy - 允许销毁已创建的告示牌。
待办事项
1) 使半径可自定义。[已完成]
2) 可能让告示牌执行更多功能,而不仅仅是召唤闪电。[已完成]
3) 使告示牌的创建者被告示牌忽略。[已完成]
4) 为告示牌添加打击半径上限(限制在 1-25 之间)。[已完成]
5) 当玩家接近 CautionSign 时添加自定义消息。
6) 添加规则,防止在另一名玩家处于打击范围内时创建告示牌。
始终欢迎提供建议。
更新日志
版本 1.0.0
版本 2.0.0
版本 3.1.0
- 修复了所有已知的主要和次要错误
- 在第 2 行添加了可自定义的半径输入
版本 3.1.1
- 实现了新的打击选项(即 StrikePackage)
- 实现了告示牌所有权系统(可在底部写入所有者名称)
- 修复了一些较小的编码问题
已知问题
- 如果将警告标志放置在另一个警告标志上方,只会注册一个事件。

This was a Continued Plugin by @emericask8ur called "WarningSign"
Version 3.x.x
Have you ever wanted to protect an area and nothing does the trick? Well here is your solution! Placing a sign down and writing "[Caution]" on the top line will cause anyone within a customized block radius to be kill by a customizable event!
Features
1) Allows for custom strike radius.
2) Permissions Support.
3) Ops have full permission.
4) Not case sensitive.
5) Will not target mobs.
6) Customizable striking options
- Lightning (Strikes player with lightning)
- Explode (Kill player with an explosion)
- Ignite (Lights player on fire)
- Volley (Fires arrows apon the player)
- Golem (Spawns a hostile iron golem on the player)
- Wolves (Spawns hostile wolves on the player)
- LavaTrap (Encases the player in a bedrock/lava trap)
- WaterTrap (Encases the player in a bedrock/water trap)
- SkyDive (Teleports the player way up into the sky and drops them to the ground)
- Random (Picks a random strike to attack with)
Instructions
1) Write "[Caution]" on line one of the sign.
2) Enter a number that will be the strike radius on line two of the sign.
3) Type the type of strike you wish to use on this sign. (refer to features for list)
If done properly, the players name will appear on the last line of the sign and the player will receive a message of confirmation.
Permission Nodes
cautionsigns.* - Grants the ability to create, ignore, and destroy cautionsigns.
cautionsigns.create - Grants the ability to create the signs.
cautionsigns.ignore - Sign simply ignores the player entering the radius.
cautionsigns.destroy - Grants the ability to destroy created signs.
Todo
1) Make the radius customizable. [DONE]
2) Possibly make the sign do more than strike lightning. [DONE]
3) Make the creator of the sign ignored by the sign. [DONE]
4) Add a strike radius cap to the sign (caps between 1-25) [DONE]
5) Add custom messages when a player approaches a CautionSign.
6) Add a rule so that the sign cannot be created when another player is within the strike range.
Suggestions are always recommended.
Changelog
Version 1.0.0
Version 2.0.0
- Fixed compatibility issues.
- Cleaned up code a bit for faster speed.
Version 3.1.0
- Fixed all major and minor bugs known
- Added customizable radius input on line 2
Version 3.1.1
- Implemented new striking options (aka StrikePackage)
- Implemented sign ownership system (Can write owner name on bottom)
- Fixed some lesser coding issues
Known Issues
1) If you place a CautionSign on top of another CautionSign, only one event will register.
评论 0
登录后参与评分
还没有评论,来抢沙发吧