DynamicArrows
在发现 MoArrows 已有一段时间未更新,而 MagicArrows 则完全停止更新后,我决定尝试将两者合并到一个简洁的插件中(注意:我没有使用它们的任何代码,只是受到它们理念的启发)。隆重介绍 DynamicArrows,这是一个为每位玩家提供特殊箭矢和附魔箭筒的插件。
功能
- 每位玩家都会获得一个“箭筒”,用于存放特殊箭矢和箭矢附魔
- 箭筒可以设置最大箭矢数量(为了增强真实感)
- 每种箭矢/附魔类型都可以启用或禁用、设置冷却时间、设为无限使用(这样玩家无需购买即可使用),并设定每个玩家的最大持有量。
- 切换箭矢非常简单,只需手持弓进行攻击,或手持箭矢进行攻击(以切换附魔)。
- 如果玩家没有某种箭矢/附魔、无法使用它,或者它正处于冷却状态,则在切换时不会显示,从而避免浪费时间尝试发射你拥有或使用不了的箭矢。
- (目前)包含 8 种箭矢类型和 7 种附魔类型。
- 使用极其简单,玩家只有一个可选命令来查看自己的箭筒,管理员只需正确格式化告示牌即可设置商店。
- 快速直观的 config.yml 配置文件,便于轻松设置。
- 附魔和箭矢拥有独立的权限节点(适合职业和等级系统)。
类型
箭矢
- Stinger - 使敌人在几秒内中毒。
- Bolt - 在箭矢落地点召唤闪电。
- Blast - 在箭矢落地点产生爆炸。
- Piercing - 如果玩家穿着盔甲,此箭矢造成双倍伤害。
- Barbed - 如果玩家未穿盔甲,此箭矢造成双倍伤害。
- Blaze - 发射燃烧的箭矢,击中敌人时将其点燃。
- Slowing - 使敌人在几秒内减速。
- Heavy - 击中敌人时使其眩晕(失明和混乱)
- Trap - 在箭矢落地点生成一张小型蛛网,几秒后消失。
附魔
- Healing - 击中时恢复 5 颗心生命值。
- Harming - 造成持续数秒的伤害效果。
- Freeze - 将敌人困在(可破坏的)冰块中,几秒后冰块消失。
- Pull - 将敌人传送至你身边。
- Transfusion - 造成伤害并吸取两颗心的生命值。
- Splash - 在落地点生成水,几秒后消失。
- Barrage - 在落地点周围从天而降 30 支箭矢。
权限
1.1 版本之前
- DA.arrows - 使用特殊箭矢。
- DA.magic - 使用附魔。
- DA.admin - 建造/破坏商店告示牌。
1.1 及更高版本
- DA.arrows.use - 使用特殊箭矢。
- DA.arrows.[type] - 使用特定的特殊箭矢。可以使用 DA.arrows.* (例如: DA.arrows.Stinger)
- DA.magic.use - 使用附魔。
- DA.magic.[type] - 使用特定的附魔。可以使用 DA.magic.* (例如: DA.magic.Healing)
- DA.admin - 建造/破坏商店告示牌。
配置
常规
- Default Quiver Size: Integer - 新箭筒默认容纳的箭矢数量(0 表示无限空间)。
类型
- Enabled: True/False - 是否启用该类型/附魔供使用。
- Infinite: True/False - 玩家是否可以无限次使用该类型(如果为 false,玩家必须购买该类型才能使用)。
- Max Held: Integer - 玩家同时持有的该类型箭矢的最大数量(0 表示无限多)。
- Cool-Down: Integer - 该箭矢再次使用前所需的冷却秒数。
命令
- /quiv - 显示当前选中的箭矢和附魔在箭筒中的数量。
- /quiv arrows - 显示箭筒中所有箭矢类型的数量。
- /quiv enchants - 显示箭筒中所有附魔类型的数量。
- /quiv space - 显示箭筒在满员前还能容纳多少箭矢。
商店创建
- 第 1 行: [DynArrows]
- 第 2 行: (类型)
- 第 3 行: (价格):(数量)
- 第 4 行: (任意文本)
示例:
- [DynArrows]
- Blaze
- 50:4
- Fire!
依赖项
特别感谢
感谢 @TheFlannelBeard 的灵感和资助!可以在他令人惊叹的 PvP 服务器 Fellcraft (184.171.251.179) 上观看其实际运行效果。
作为 Fellmember 游玩,以使用 DynamicArrows 以及我的其他插件 SpringStep 和 DynamicFight!同时也感谢 MoArrows 和 MagicArrows 的原作者提供的灵感!
DynamicArrows
After seeing that MoArrows hadn't updated in a while and MagicArrows had stopped updating all together, I decided to take a stab at replacing them both in one, neat package (NOTE: I didn't use ANY of their code, I was simply inspired by their ideas). Introducing DynamicArrows, a plugin that gives every player a quiver of special arrows and enchantments to use.
Features
- Each player is given a "quiver" that holds special arrows and arrow enchantments
- Quivers can have a maximum amount of arrows (for realism's sake)
- Each arrow/enchantment type can be enabled/disabled, given a cool-down, made infinite (so players don't have to purchase them to use them), and given a maximum amount that each player can have.
- Cycling through arrows is as simple as punching with a bow in hand or punching with an arrow in hand (to cycle through enchantments).
- Arrows/enchantments that a player doesn't have, that a player can't use, or that are cooling down won't show up when cycling, so you won't spend time trying to fire arrows you don't have or can't use.
- (Currently) 8 arrow types and 7 enchantment types.
- Use is extremely simple, players only have one optional command to check their quivers and admins set up shops simply by formatting a sign correctly.
- Quick and straight-forward config.yml for easy setup.
- Separate permissions nodes for enchantments and arrows (good for classes and ranks).
Types
Arrow
- Stinger - Poison your enemy for a few seconds.
- Bolt - Strikes a lightning bolt where the arrow lands.
- Blast - Creates an explosion where the arrow lands.
- Piercing - If a player is wearing armor, this arrow deals double damage.
- Barbed - If a player is not wearing armor, this arrow deals double damage.
- Blaze - Fires a flaming arrow that lights enemies on hit.
- Slowing - Slow your enemy for a few seconds.
- Heavy - Stun your enemy on hit (blindness and confusion)
- Trap - Generate a small net of webs where the arrow lands that disappears after a few seconds.
Enchantments
- Healing - Heals 5 hearts on hit.
- Harming - Inflicts harming for a few seconds.
- Freeze - Traps an enemy in (breakable) ice blocks, which disappear after a few seconds.
- Pull - Teleports your enemy to you.
- Transfusion - Deals and steals two hearts of damage.
- Splash - Creates water at the landing point that disappears after a few seconds.
- Barrage - Drops 30 arrows from the sky surrounding the landing point.
Permissions
Before 1.1
- DA.arrows - Use special arrows.
- DA.magic - Use enchantments.
- DA.admin - Build/break shop signs.
1.1 and later
- DA.arrows.use - Use special arrows.
- DA.arrows.[type] - Use particular special arrow. Can be DA.arrows.* (Example: DA.arrows.Stinger)
- DA.magic.use - Use enchantments.
- DA.magic.[type] - Use particular enchantment. Can be DA.magic.* (Example: DA.magic.Healing)
- DA.admin - Build/break shop signs.
Config
General
- Default Quiver Size: Integer - The default amount of arrows a new quiver should hold (0 for infinite space).
Type
- Enabled: True/False - Whether or not this type/enchantment is enabled for use.
- Infinite: True/False - Whether or not a player can infinitely use this type (if false, player must purchase type to use).
- Max Held: Integer - The max amount of this arrow a player can have at one time (0 for infinitely many).
- Cool-Down: Integer - The time in seconds it takes this arrow to cool before it can be used again.
Commands
- /quiv - Display the amount of the currently selected arrow and enchantment your quiver contains.
- /quiv arrows - Display the amounts of all arrow types in your quiver.
- /quiv enchants - Display the amounts of all enchantment types in your quiver.
- /quiv space - Display the amount of arrows your quiver can still hold before being full.
Shop Creation
- Line 1: [DynArrows]
- Line 2: (Type)
- Line 3: (Cost):(Amount)
- Line 4: (Anything)
Example:
- [DynArrows]
- Blaze
- 50:4
- Fire!
Dependencies
- Vault
- Some Permissions Plugin
Special Thanks
Thanks to @TheFlannelBeard for inspiring and funding this plugin! See it in action on his amazing PvP server, Fellcraft (184.171.251.179).
Play as a Fellmember to make use of DynamicArrows and my other plugins SpringStep and DynamicFight! Also thanks to the original authors of MoArrows and MagicArrows for inspiration!
评论 0
登录后参与评分
还没有评论,来抢沙发吧