Quality Armory 2.0.6

A quality gun plugin similar to CrackShot.

  1. Lorenzo0111
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17
    • 1.18
    Source Code:
    https://github.com/ZombieStriker/QualityArmory
    Contributors:
    ZombieStriker: Original Author
    [​IMG]
    ~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 recieve 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:
    1. Adds over 80+ Weapons, and 7+ Ammo Types.
    2. Does not replace existing items in the game.
    3. Built-in resoucepack distributor; players will see the guns without you needing to change your server resoucepack.
    4. Includes an API to allow other plugins to add guns
    5. Supports 1.9 - 1.16
    6. 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 work around.
    7. If LightAPI is installed, guns will have muzzle flashes.
    8. [Optional] Enabled weapon durability (EnableWeaponDurability in the config.yml)
    9. Built in shop and crafting table.
    10. Fully Configurable. (Here's the wiki for all the configurable options:
      https://www.spigotmc.org/wiki/qualityarmory-config-options-and-settings/)

    The resourcepack is included in the core plugin, and can be configured in the config if needed:
    By default, the resourcepack 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 resourcepack can be disabled (useDefaultResourcepack), can be set to be sent when the player joins (sendOnJoin), or can even be overriden with a custom resourcepack (setting DefaultResourcepackOverride to true(so that QA knows its a custom url), and DefaultResourcepack to the URL of the resourcepack)

    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 yml 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.

    The complete wiki will be here:
    CLICK HERE

    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 flashses 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: QuialityArmory 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 quailityarmory.default
    • qualityarmory.default
      • qualityarmory.craft
      • qualityarmory.shop
      • qualityarmory.usegun
    API:
    You can view the API and how to use it here:

    https://github.com/ZombieStriker/QualityArmory/wiki/QualityArmroy---API

    Config:
    Donations.
    If you want to support me in maintaining this plugin, you can do so through Ko-fi:
    [​IMG]

    How to Install
    • Drop this plugin into you plugins folder
    • Find/Create a plugin that will allow you get to your world
    • Restart your server
    [​IMG]

    Images

    1. QualityGunsBannar.png

Recent Reviews

  1. TheTarasus_01
    TheTarasus_01
    3/5,
    Version: 2.0.6
    Your plugin idea is great, but implementation is nonsense. My server literally goes down in tps(It has 24 gigs of RAM and beefy CPU) when i shoot from my custom Maxim gun. And only I shoot from this gun, no one else.

    I read the sources from your plugin, and i have no idea how to optimize this. Your code is literally unreadable and mind-melting. You learnt java before optimizing, but i learn optimizing before java. I think, you have no idea how to use return function and if-statements. You even don't know about usage of switch(){}.

    Wipe your trash-code, learn how other good programmers optimize their plugins, and rewrite that in human language. DO NOT BUILD LADDERS FROM IF-STATMENTS! DO NOT USE MATH.RANDOM() INSTEAD OF BASIC RANDOM.NEXTINT()! DO NOT DIVIDE ON CONSTANT! USE THE QUICKEST BINARY SHIFTS INSTEAD OF SLOW INTEGER DIVIDING!

    Rate only 3 stars from 5. Due to absense of optimization.
    1. Lorenzo0111
      Author's Response
      Hey, the code has been created from another dev who is the owner of the plugin. I’m already planning to do a complete rewrite of the code but not at the moment since it will require a lot of time. If you are interested in helping me, just contact me Lorenzo0111#1910
  2. Xyprz
    Xyprz
    5/5,
    Version: 2.0.5.1
    Its the best plugin tho!
    But is it possible to stop the rename after reloading. I want to name guns with like a code on the back. For example Remington #001, but when i reload the name returns to original.
  3. sccccc
    sccccc
    4/5,
    Version: 2.0.5.1
    Plugin's great, guns are really fun! Only issue I have faced is the inability to remove some of the guns from the shop/menu, any way to remove them?
  4. GeRmAnAnToNiO124
    GeRmAnAnToNiO124
    4/5,
    Version: 2.0.5.1
    It has several bugs the add-on in 1.17 and QA worldguard that hopefully can be fixed in future versions, (all these already reported in GITHUB), hopefully you can fix it soon :)
    1. Lorenzo0111
      Author's Response
      Hey, if you find a bug you have to report it on GitHub. If you already reported it I’ll fix it asap. Also please don’t use reviews to report bugs.
  5. YupenBob
    YupenBob
    5/5,
    Version: 2.0.5.1
    This plugin is really great and fun! The players on the server love it, can I move him to www.mcbbs.net? Thanks!
    1. Lorenzo0111
      Author's Response
      Thanks for your review. If you want you can create a thread there but you can’t upload the file. The o download link should redirect to this spigot page
  6. Andrey_12071
    Andrey_12071
    5/5,
    Version: 2.0.5.1
    best gun plugin! but you should optimize it.
    now tps can be low when you are shooting, fix it please
  7. RadicalGAME
    RadicalGAME
    5/5,
    Version: 2.0.5.1
    This plugin is really incredible! I like the models a lot, and it works quite well for the purpose I am using it for currently (A Call of Duty: Zombies inspired minigame) The sounds aren't too loud by default, my only complaint is the lack of knives (correct me if I am wrong, it isn't a big deal either way).

    Out of genuine curiosity: Is there a way that I can check (using a chain of command blocks) if the player has a specific level or amount of XP, and if they have that amount, and they press a button, to give them the weapon specified in the command? Apologies if the wording is confusing, and thanks in advance.
    1. Lorenzo0111
      Author's Response
      Hey, thanks for your review <3.
      I’ll add soon your suggestion.

      Regarding the command blocks I don’t really know if it’s possible because I never used them
  8. SyntaxGenesis
    SyntaxGenesis
    5/5,
    Version: 2.0.5.1
    I will say, I love the plugin the customizability is exactly what I was looking for for my server. My only complaint is that even after editing the weapon sounds volume in the configs the guns are still insanely loud.
    1. Lorenzo0111
      Author's Response
      Hey, thanks for your review <3.
      Regarding the issue about the sound volume, please report it on github.
  9. HidingSpace
    HidingSpace
    5/5,
    Version: 2.0.5.1
    Great plugin! I've just got one question, is there any way to completely disable the auto fire feature?
    1. Lorenzo0111
      Author's Response
      Hey, thanks for your review <3
      You can disable that feature by setting 'enableIronSights' to false in your guns configuration
  10. Ronal99
    Ronal99
    5/5,
    Version: 2.0.2
    good plugin, I like it, but I would like to know if you can change the way to shoot, aim, recharge, etc, like de buttons, if I want to shoot with right-click or aim with left or stuff like that, but the overall really good plugin
    1. Lorenzo0111
      Author's Response
      Thanks for your suggestion, I’ll add it soon