图片由 Sooshio 绘制
简介:
QualityArmory 将枪械加入 Minecraft,且不会影响原版游戏。游戏中已添加超过 100 种物品。
[!] 我不会在评论部分回复关于修复漏洞的反馈。
如果您在使用 QA 时遇到问题,请在 Discussions(讨论) 标签页或 GitHub 页面 上报告此问题,并提供您收到的任何错误信息以及是否在 纯净服务器(未安装其他插件)上进行过测试。我 不会 在评论部分回复问题,因此请不要将其作为寻求更快响应的途径。
功能:
- 添加超过 80 种武器和 7 种弹药类型。
- 不会替换游戏中现有的物品。
- 内置资源包分发器;玩家无需更改服务器的资源包即可看到枪械。
- 包含 API,允许其他插件添加枪械。
- 1.8 版本部分支持- 由于此更新处理纹理的方式,目前仅有 15 种枪械。如果我能找到变通方法,可能会添加更多。
- 如果安装了 LightAPI,枪械将具有枪口火焰效果。
- 可选 启用的武器耐久度(在 config.yml 中启用 EnableWeaponDurability)
- 内置商店和合成台。
- 完全可配置。 (这是所有可配置选项的 wiki)
资源包包含在主插件中,如需可在配置中进行设置:
默认情况下,当玩家使用 /qa 命令或与自定义物品交互时,会发送资源包。这些值在配置文件中是可配置的;资源包可以禁用(useDefaultResourcepack),可以设置为在玩家加入时发送(sendOnJoin),甚至可以使用自定义资源包覆盖(将 DefaultResourcepackOverride 设置为 true(以便 QA 知道这是一个自定义 URL),并将 DefaultResourcepack 设置为资源包的 URL)。
Crackshot 支持/转换:
QualityArmory 现在支持 Crackshot 武器转换。将 Crackshot 的武器配置文件放入 /newguns/ 目录并重新加载,QA 便会转换这些武器。所有 Crackshot 武器现在都将有一个对应的 QA YAML 文件。
ViaVersion/1.8 支持:
由于 1.8 不允许每个物品有多个模型,对于此更新,每种枪械都需要替换一个物品。为了解决这个问题,如果检测到 1.8 版本或服务器运行 ViaVersion,则实施了一个新系统以与 1.8 配合工作。然而,这限制了可用武器的数量。
关于 ViaVersion,默认情况下,系统已就位,允许 1.9+ 用户看到所有枪械,但会限制 1.8 玩家使用的枪械。在某些情况下,1.8 玩家可能只能看到所有 1.9+ 枪械中的单一模型,或者它可能会将武器转换为 1.8 玩家可以查看/使用的物品。如果您希望 1.8 武器在所有版本中保持一致,请在配置中将 "ManuallyOverrideTo_1_8_systems" 设置为 true,并删除 /newguns/、/armor/、/ammo/、/misc/ 和 /attachments/ 目录。
命令:
- /QA give <Gun/Ammo>,如果玩家拥有 "qualityarmory.give" 权限,则给予该物品。
- /QA craft,如果玩家拥有 "qualityarmory.craft" 权限,则允许玩家制作枪械。
- /QA shop,如果玩家拥有 "qualityarmory.shop" 权限,则允许玩家打开枪械商店。
- /QA reload,重新加载插件的所有值。
创建/编辑枪械:
创建自定义枪械就像 Crackshot 一样简单。要了解如何创建新枪械,请访问 Wiki HERE。
另请注意,如果您想更改任何默认枪械的设置,您需要将 "allowUserModifications" 设置为 true。此设置让 QA 知道如果有任何更改,它不应尝试更新这些文件。
冲突
已知与 EssentialsX 存在冲突,因为它有一个值使玩家在传送后无敌。但是,它也阻止了被射击的玩家受到伤害。要解决此问题,请将 EssentialsX 配置中的 teleport_vulnerability 从 4 改为 0。
支持 QualityArmory 的插件:
QualityArmory 软依赖的插件:
权限:
qualityarmory.*
qualityarmory.admin
qualityarmory.give
qualityarmory.create
qualityarmory.reload
qualityarmory.createnewitem
qualityarmory.getmaterialused
qualityarmory.debugmessages
qualityarmory.getopengunslot
- 继承
qualityarmory.default
qualityarmory.default
qualityarmory.craft
qualityarmory.shop
qualityarmory.usegun
API:
您可以在此处查看 API 及其使用方法 here。
配置:
捐赠
如果您希望支持我维护此插件,可以通过 Ko-fi 进行捐赠。
安装方法
- 将此插件放入您的
plugins 文件夹中。
- 重启服务器。
Graphic by Sooshio
Introduction:
QualityArmory adds guns into Minecraft without affecting the base game. Over 100+ items have been added to the game.
[!] I will not respond to bug fixes in the review section.
If you are experiencing a problem with QA, please report this issue in the Discussions tab or the GitHub page, including any errors you receive and whether you tried it on a clean server (with no other plugins installed). I will not respond to issues in the review section, so don't use it as a way to try to get faster responses.
Features:
- Adds over 80+ Weapons, and 7+ Ammo Types.
- Does not replace existing items in the game.
- Built-in resource pack distributor; players will see the guns without you needing to change your server resource pack.
- Includes an API to allow other plugins to add guns
- 1.8 has partial support- Due to the way this update handled textures, there are currently only 15 guns. More may be added if I can find a workaround.
- If LightAPI is installed, guns will have muzzle flashes.
- Optional Enabled weapon durability (EnableWeaponDurability in the config.yml)
- Built-in shop and crafting table.
- Fully Configurable. (Here's the wiki for all the configurable options)
The resource pack is included in the core plugin, and can be configured in the config if needed:
By default, the resource pack is sent when the player uses a /qa command, or when they interact with a custom item. These values are configurable in the config; The resource pack can be disabled (useDefaultResourcepack), can be set to be sent when the player joins (sendOnJoin), or can even be overridden with a custom resource pack (setting DefaultResourcepackOverride to true(so that QA knows its a custom URL), and DefaultResourcepack to the URL of the resource pack)
Crackshot support/conversion:
QualityArmory now supports crackshot weapons conversions. Drop the weapon configs for crackshot in the /newguns/ directory and reload to have QA convert the weapons. All crackshot weapons will now have a corresponding YAML file for QA.
ViaVersion/1.8 support:
Since 1.8 does not allow multiple models per item, each gun needs to replace an item for this update. To get around this, if 1.8 is detected or if the server runs ViaVersion, a new system is implemented to work with 1.8. However, this limits the amount of weapons available.
When it comes to ViaVersion, by default, the system is in place which allows 1.9+ users to see all of the guns, but will limit the guns used by 1.8 players. In certain cases, 1.8 players will only see a single model for all of the 1.9+ guns, or it may have the weapon converted into an item that 1.8 players can see/use. If you wish for 1.8 weapons to be consistent across all versions, set "ManuallyOverrideTo_1_8_systems" to true in the config and delete the /newguns/, /armor/, /ammo/, /misc/ and /attachments/ directories.
Commands:
- /QA give <Gun/Ammo>, gives the player the item if they have permission "qualityarmory.give"
- /QA craft, allows players to be able to craft guns if they have permission "qualityarmory.craft"
- /QA shop, allows players to open up the gun shops if they have permission "qualityarmory.shop"
- /QA reload, reloads all of the values for the plugin.
Creating/editing guns:
Creating custom guns is as easy as Crackshot. To learn how to create new guns, visit the Wiki HERE.
Also note that if you want to change any of the settings for any of the default guns, you will need to set "allowUserModifications" to true. This setting lets QA know that it should not try to update these files if there are any changes.
Conflicts
There is a known conflict with EssentialsX, as it has a value to make players invulnerable after teleporting. However, it also stops damage for players who get shot at. To fix this, change teleport_vulnerability from 4 to 0 in the EssentialsX config.
Plugins that support QualityArmory:
Plugins that QualityArmory soft-depends on:
- LightAPI: Used for muzzle flashes when guns are used. Not required
- Parties: Used to disable friendly fire. Not required
- ProtocolLib: Used to smoothly change player's Yaw for recoil when guns are used Not required.
- Vault: Used for the weapon shop. Not required
- ViaVersion: QualityArmory has ViaVersion support that allows players from different Minecraft updates to see the same models. Not Required
- ItemBridge: This plugin allows other plugins to access QualityArmory items if they support that plugin.
Permissions:
qualityarmory.*
- Inherits
qualityarmory.admin
qualityarmory.admin
qualityarmory.give
qualityarmory.create
qualityarmory.reload
qualityarmory.createnewitem
qualityarmory.getmaterialused
qualityarmory.debugmessages
qualityarmory.getopengunslot
- Inherits
qualityarmory.default
qualityarmory.default
qualityarmory.craft
qualityarmory.shop
qualityarmory.usegun
API:
You can view the API and how to use it here.
Config:
Donations
If you want to support me in maintaining this plugin, you can do so through Ko-fi.
How to Install
- Drop this plugin into your plugins folder.
- Restart your server.
评论 0
登录后参与评分
还没有评论,来抢沙发吧