GithubHelp home page GithubHelp logo

randallarms / gunsmith Goto Github PK

View Code? Open in Web Editor NEW
8.0 5.0 6.0 28.7 MB

Minecraft guns plugin w/ GUI. Snipers, RPGs, orbital strikes, shotguns, pistols & more. ENGLISH/ESPAÑOL/中文

Java 100.00%
gun bukkit minecraft firearms gaming game spigot server mod plugin

gunsmith's Introduction

#GunSmith

by Randall Arms

Simple custom gun plugin for Bukkit on Minecraft 1.12, 1.11, 1.10, & 1.9!

Simply hold the item corresponding to the gun, and right click to fire. You will need the proper ammunition to fire a weapon, as well!

GunSmith works best with a custom resource pack that displays the base item (a diamond hoe) as the corresponding firearm. A specialty resource pack is included in our GitHub project repository, and can be directly downloaded here: https://github.com/randallarms/gunsmith/raw/master/resources/GunSmith%20%5BResources%5D.zip

Type "/guns" to use the gun selection menu.

Type "/giveGun " to get a gun. Type "/giveAmmo " to get the corresponding ammunition for that gun (crossbows use bolts). Add a player's name after that to send the item to that player.

Gun Names:

"sniper" for a Sniper Rifle
"br" for a Battle Rifle
"lmg" for a Light Machine Gun
"pistol" for a Pistol
"bow" for a Crossbow
"shotgun" for a Shotgun
"ar" for an Assault Rifle
"hmg" for a Heavy Machine Gun
"orbital" for an Orbital Strike marker (experimental & dangerous!)

Guides & plugin to be updated consistently! This plugin is far from complete, and represents an open-source, work-in-progress project.

GunSmith on GitHub: https://github.com/randallarms/gunsmith

Do you want to help us improve this plugin? You can! Everyone welcome to contribute on GitHub by utilizing the Flow to branch their own version, make changes (commits), and submit their changes as a "pull request" to be considered for merging with the master file.

Please feel free to voice criticism to better the project, as well. Got a problem? Bug, glitch, complaint? Visit the Issues page and let me know, please: https://github.com/randallarms/gunsmith/issues

gunsmith's People

Contributors

andyyu168 avatar carmoreno avatar randallarms avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gunsmith's Issues

block.setData

The block.setData is not there in mincraft 1.15 what to do?

Grenades do not register in inventory

GunSmith v0.9.3 bug
Trying to use a frag grenade by right-clicking always returns the "ammo not found" error. Likely a result of not properly detecting grenades in inventory.

Shooting yourself to death when moving and steadily firing

GunSmith v0.1 bug
Shooting yourself to death occasionally when moving and steadily firing: "PLAYER1 was pummeled by PLAYER1 using [GUN-NAME]".

Indicates that the Snowball entity used for the shot is hitting the player who shot it. Can only replicate with Light Machine Guns (in-dev gun) so far.

Might be resolved by starting the Snowball shot slightly ahead of the player, but this will likely have unintended side-effects as well.

Could be left as a feature -- don't run and use machine guns, perhaps?

ResoucePack block error !

It is seems that the lava block is blank .
i am running bukkit 1.11.2 and use "GunSmithPackV3" resouce pack

Error loading Gunsmith

[09:36:09] [Server thread/ERROR]: Could not load 'plugins/GunSmith.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_12_R1/inventory/CraftItemStack
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.loadPlugins(CraftServer.java:301) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:204) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:544) [spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_12_R1/inventory/CraftItemStack
at com.kraken.gunsmith.GunSmithGUI.(GunSmithGUI.java:12) ~[?:?]
at com.kraken.gunsmith.GunSmith.(GunSmith.java:36) ~[?:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_131]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_131]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_131]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_131]
at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_131]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:76) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
... 6 more
Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_12_R1.inventory.CraftItemStack
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_131]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_131]
at com.kraken.gunsmith.GunSmithGUI.(GunSmithGUI.java:12) ~[?:?]
at com.kraken.gunsmith.GunSmith.(GunSmith.java:36) ~[?:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_131]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_131]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_131]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_131]
at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_131]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:76) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-6e3cec8]
... 6 more

Not sure whats wrong.

README has several grammar errors, could use more info

"GunSmith allows players to use certain in-game items as guns, firing them with the right-click button when the gun item is in your hand." -> "GunSmith allows players to use certain in-game items as guns, firing them with the right-click button when the gun item is held in the main hand."

"Currently features a Sniper Rifle (item: feather), Battle Rifle (item: wooden_hoe), and Pistol (golden_axe)." -> "Currently features the Sniper Rifle (item: feather), Battle Rifle (item: wooden_hoe), and Pistol (item: golden_axe)."

"GunSmith works best with a custom resource pack that displays the base items as their corresponding firearm." -> "GunSmith works best with a custom resource pack that displays the base items as the corresponding firearm."

Add links:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.