如何使用激光枪
- 你需要配置枪械(默认已创建了一些)
- 授予玩家使用权限
- 给予枪械物品并[右键点击]以射击
激光枪的能力
- 对生物或玩家造成伤害
- 点燃生物、玩家或破碎的方块
- 给予生物或玩家药水效果
- 炸毁方块
- 转换生物形态(例如将猪变为僵尸)。
- 转换方块形态(例如将钻石块变为玻璃)
- 击退生物和玩家(负值会将生物拉向射击者)
- 后坐力反冲射击者(你可以利用此效果制作喷气背包,或使用负值来制作“跳跃枪”)
- 激光可以在无弹药的情况下发射,也可以要求消耗弹药才能射击。你可以定义弹药为:金钱(需要 Vault 和经济插件)、经验值和物品。
- 视觉和声音效果(由 PlayEffect 插件提供)可用于绘制光束、射击特效、实体伤害特效和换弹特效。
如何配置自定义激光枪?
默认提供了六种激光枪类型。但你可以轻松编辑它们或创建自己的激光类型。激光设置存储在文件 arsenal.yml 中。
命令
- /laser help - 嗯....
- /laser list - 列出可用的激光枪类型
- /laser reload - 从文件中重新加载配置
- /laser give <pageNum> - 打开包含激光枪和弹药的库存界面。
- /laser give <laserGun> <playerName> - 给玩家发放激光枪
- /laser give <laserGun> <playerName> ammo [amount] - 给玩家发放弹药
权限
- laser.config — 重载命令
- laser.give — 发放命令
- laser.give.other — 允许向其他玩家发放激光枪和弹药
- laser.list — 列表命令
- laser.gun.all — 允许使用任何类型的激光枪
- laser.gun.<laser gun type> — 允许使用指定的激光枪类型
依赖项
- 本插件需要 Vault 插件来为转化后的生物提供自定义掉落物和金钱弹药。如果未安装 Vault,这些功能将无法使用。
- PlayEffect 用于绘制视觉效果和播放声音。如果你未安装 PlayEffect 插件,所有效果将被替换为“刷怪笼火焰”效果。
指标统计与更新检查器
Laser 包含两个会使用你服务器互联网连接的功能。第一个是 Metrics,用于收集 关于该插件的信息(插件版本、Java 版本等),第二个是更新检查器(用于在 dev.bukkit.org 上查找 Laser 的新版本)。如果你不喜欢这些功能,可以轻松禁用它们。要禁用更新检查器,你需要在 config.yml 中将参数 “version-check” 设置为 “false”。有关 Metrics 的更多信息以及如何关闭它,请阅读 此处。
How to use Laser
- You need to configure guns (there are some created by default)
- Grant players permissions to use
- Give gun-item and [rightclick] to shoot
Laser gun abilities
- Deal damage to mob or player
- Ignite mobs, players, or broken blocks
- Grant mobs or players potions effects
- Explode blocks
- Transform mobs (for example pig to zombie).
- Transform blocks (for example diamond_block to glass)
- Knockback mobs and players (negative values will pull mobs to shooter)
- Kickback shooter (you can use this effect to create jetpack, or negative value - to create "jumpgun")
- Laser could fire without ammo or requires ammo to shoot. You can define as ammo: money (required Vault and economy plugin), experience and item.
- Visual and sound effects (provided by plugin PlayEffect) could be used to draw beam, shoot effect, entity damage effect and reload effect.
How to configure custom laser gun?
There are six laser gun types provided by default. But you can easily edit it or create your own type of laser. Laser settings are stored in file arsenal.yml
Commands
- /laser help - Hmm....
- /laser list - List available types of laser guns
- /laser reload - Reloads configuration from files
- /laser give <pageNum> - open inventory that contains Laser guns and ammos.
- /laser give <laserGun> <playerName> - gives laser to player
- /laser give <laserGun> <playerName> ammo [amount] - gives ammo to player
Permissions
- laser.config — reload command
- laser.give — give command
- laser.give.other — allows to give lasers and ammo to another player
- laser.list — list command
- laser.gun.all — allows to use any type of lasers
- laser.gun.<laser gun type> — allows to use defined type of laser
Dependencies
- This plugin is requires Vault plugin to bring custom drops to transformed mobs and money-ammo. This features will be not accessible if Vault is not installed.
- PlayEffect requires to draw visual effects and play sounds. If you did not install PlayEffect plugin all effects will replaces with "mobspawner flame" effect.
Metrics and update checker
Laser includes two features that use your server internet connection. First one is Metrics, using to collect information about the plugin (versions of plugin, of Java.. etc.) and second is update checker (required to find newer version of Laser at dev.bukkit.org). If you don't like this features you can easy disable it. To disable update checker you need to set parameter "version-check" to "false" in config.yml. Obtain more information about Metrics and learn how to switch off it, you can read here.
评论 0
登录后参与评分
还没有评论,来抢沙发吧