QualityArmory
QualityArmory is meant to be a replacement for Crackshot, as it's last released update was for 1.8. What this plugin aims to do is add guns into minecraft without affecting the base game. All 3D gun models are loaded onto select items and data values in such a way as to make sure you should never see those textures unless you are given a gun.
Features:
- Adds new guns, such as P30, M16, M40, MP5, AK-47, Remmington, HeneryRifle, an RPG, and many more.
- Does not replace existing items in the game.
- Built-in resoucepack distributor; players will see the guns without you needing to change your server resoucepack.
- Built-in auto-updater, allowing for improvements and new guns to be synched with the server on reloads.
- Includes an API to allow other plugins to add guns
- Supports 1.9 - 1.15
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.
Commands:
- /QA give <Gun>, gives the player a gun if they have permission "qualityarmory.give"
- /QA listItemIds, prints the materials and data for all guns.
- /QA giveAmmo <Ammo>, gives the player a stack of ammo if they have permission "qualityarmory.give"
- /QA craft, gives the player a gun if they have permission "qualityarmory.craft"
Creating custom guns:
Creating custom guns is as easy as Crackshot. To learn how to create new guns, visit the Wiki HERE.
Plans for the future:
- Include features that CrackShot and CSP already has such as:
- --Grenades,
- --Landmines,
- --and some gun attachments.
- Include turrets.
- Include throw-able objects (such as axes)
- Include more guns and ammo.
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
This plugin does update automatically:
This plugin checks for updates and will download updates. If you do not want this plugin to automatically update, all you need to do is edit one line in the "config.yml" file. Just change the one variable in there to false (or, if you run into any problems, copy the code below)
AUTO-UPDATE: false
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
This plugin uses bStats:
bStats is a metrics service that allows me to to see how many servers use my plugins, how many players they have, and which countries use my plugin the most. All information is anonymized, so no information can be directly linked to you, and instead is added to the average of all severs that use the plugin.
Support
For an easier management, I don't review comments on CurseForge or DevBukkit. For support please join my discord server.
In reply to Bomber152:
Volume control will be added in the next update.
it makes my worldguard down dated somehow
I have looked all over for this, and I'm trying to implement it into my server with a roleplayable aspect; no players can damage eachother unless PVP is enabled, which is disabled by default.
I am trying to find a infinite dispenser kind of plugin that works with this and 1.13.2, which doesn't exist without causing issues. I was wondering if there is a specific command that I can use to just use a command block under a dispenser w/button and use a "/qa give *gun name* @p" command to do the job? I can't seem to make the command work. How do I do that, standalone with QA or with another plugin? I've been searching for days.
Edit: It is seem to be taking @p as a actual player. Can you do a quick update and make it so it acts as the closest player, not a actual player?
In reply to arashi_faustes:
https://www.spigotmc.org/resources/psudocommands-add-the-function-to-plugin-commands.56738/
In reply to Zombie_Striker_bukkit:
Okay, thanks! I have figured it out.
Also, I noticed that all the guns are the same model..? No idea how this happened, but I'm trying to fix it myself on my end. If I fix it, I might be speaking too soon. So we'll see how this goes.
In reply to arashi_faustes:
Okay.. so I fixxed it yet again. Took some effort, I just updated (Don't think it was that old..?) and manually installed the texture pack.
uhh,here is the error massage,i use for vesion 1.14.3
--------------------------------------------------------------------------------------
[Server thread/WARN]: [QualityArmory] Task #4 for QualityArmory v1.1.138 generated an exception [Server thread/WARN]: [QualityArmory] Task #4 for QualityArmory v1.1.138 generated an exceptionjava.lang.NoClassDefFoundError: me/zombie_striker/qg/api/QualityArmory at me.zombie_striker.qg.handlers.AimManager$1.run(AimManager.java:35) ~[?:?] at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:77) ~[craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:393) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:956) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:370) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:911) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:765) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at java.lang.Thread.run(Unknown Source) [?:1.8.0_201][17:58:06] [Server thread/ERROR]: Could not pass event InventoryMoveItemEvent to QualityArmory v1.1.138org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:312) ~[craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:519) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:504) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at net.minecraft.server.v1_14_R1.TileEntityHopper.t(TileEntityHopper.java:215) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at net.minecraft.server.v1_14_R1.TileEntityHopper.a(TileEntityHopper.java:130) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at net.minecraft.server.v1_14_R1.TileEntityHopper.tick(TileEntityHopper.java:116) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at net.minecraft.server.v1_14_R1.World.tickBlockEntities(World.java:634) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at net.minecraft.server.v1_14_R1.WorldServer.doTick(WorldServer.java:355) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:994) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:370) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:911) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:765) [craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]Caused by: java.lang.NoClassDefFoundError: me/zombie_striker/qg/api/QualityArmory at me.zombie_striker.qg.listener.QAListener.onHopper(QAListener.java:88) ~[?:?] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[craftbukkit-1.14.3-SNAPSHOT.jar:git-Bukkit-f1f3355] ... 13 more
Just asking whenever i try using the plugin its not working for me and i'm using it on 1.12 and it says
Could not pass event PlayerInteractEvent to QualityArmory v1.1.138
org.bukkit.event.EventException: null
In reply to genesis6703:
Could you post the full error that is in the console?
i am using mcmmo and use axes. whenever i use my diamond axe to attack it turns into a gun and then disappears. i changed it to a iron axe in the config but that only does it for the iron sights and i dont see any way to change the item completely.
In reply to SpleenRipper:
To change the material used for a weapon, you will need to edit the gun's yml file. You can find the guns in the /newGuns/ folder. Set allowUserModifications to true and change the material entry to change it to the axe.
BTW: If you are on 1.9-1.14, you will need to make some changes to the resourcepack in order for the correct models to appear. This will require you changing the file name so it knows that the ironaxe should be used instead of the diamond axe, and also you will need to change the Damage values for all of the guns since diamond axes have 1562 durability while axes only have 251.
Hey plugins great feels better than a mod. My only issue is guns are keeping full ammo even when deopped. (as in guns have unlimited ammo) is there a fix?
In reply to Forge_User_41724182:
If you are in creative mode, this is done for convenience and since the player could duplicate the itemstacks anyways.
If guns have unlimited ammo while in survival/adventure mode, are there any errors in the console?
In reply to Zombie_Striker_bukkit:
I found the problem. The plugin was not working with ProtocolLib. Thanks regardless.
That Plugin is awesome thank u!
This Plgin has been really fun for my Admins but it seems that my players(like theis01 has said) need their permission enabled but we cant find a way to enable it for them. we depesrately need a way to enable this permission in game or a recomendation to a permission Plugin for 1.14 as we have a planned event later in this week that they have been grinding for. If you are able to Help it would be imensly Appreciated.
In reply to buddacon_:
I would recommend using PeX for permissions. Its easy to use, and you just need to use the following command to add the permission to all players:
In reply to Zombie_Striker_bukkit:
It is saying I dont have perrmission for the command despite being oped and the server owner.
In reply to buddacon_:
Are there any errors in the console when using weapons? Do you have permission to use the commands?