ModernWeapons
ModernWeapons - The weapon revolution!
ModernWeapons adds weapons to your server such as guns, rocket launchers and grenades. You can fully customize the properties of each weapon in the config.yml! There are also permissions for each weapon, without that a player can't use a weapon. It's great fun to use and play around with it!
Features
- Doesn't require Spout!
- Weapon Types: Assault Rifle, Submachine Gun, Pistol, Sniper, Shotgun, Rocket Launcher, Grenade, Knife
- All weapons are fully customizable
- Weapons can play specific sound effects
- Weapons are able to play effects when firing
- You can reload your weapons manually (Shift + Right Click)
- You can scope with weapons (Left Click)
- Grenades can have potion effects
- Customizable weapon, death, headshot and other messages
- Optional headshot blood effects
- You can limit weapons for worlds
- Optional special effects when bullets hit something
- Disable weapons in non pvp areas (requires WorldGuard & WorldEdit)
- Different config files for grenades and guns which don't have to be reloaded
- You can stab other players with the knife from behind
Please note: All features are referring to the newest version, older versions may not have some of these
Tutorial
Take a look at this page for detailed informations about creating own weapons!
TODO-List
- Option for limiting weapon usage to specific worldguard regions
- Switch for fire modes
- Make sticky grenades able to stick to walls and ceilings
- Add weapon shops
- C4, Claymores and more
- Add config for own sound effects
- Make weapon display name label changable
- Let ammo/stats of the weapon being displayed on a scoreboard
- Flamethrowers
- Reload animation
- Additional potion effect on bullet hit
- Magazine objects
- More firearm actions
- Reload bullet by bullet option
- Night vision scope
- More visual effects
- Attachments: Silencer, Grenade launcher, Flamethrower, Laserpointer
- Infinite ammo option
- Sound effects fully customizable
XXX= Already worked on
Commands and Permissions
Commands + Description | Permissions |
/mw reload = Reloads the config.yml | ModernWeapons.reload |
/mw list = Shows a list of weapons | ModernWeapons.list |
/mw give <weapon> = Gets you a weapon | ModernWeapons.give |
/mw ammo <weapon> = Gets you the ammo of a weapon | ModernWeapons.ammo |
/mw info <weapon> = Shows informations about a weapon | ModernWeapons.info |
Use a specific weapon | ModernWeapons.use.WEAPON |
Use all weapons | ModernWeapons.use.all |
Bugs? Errors? Problems? New Ideas?
If you find any bug/error send me a message or post a comment, please! You can also send me any ideas you have for this plugin.
Config
Take a look at this page for more informations about the config.yml!
Changelog
Version 1.3.1:
+ Fixed explosion error
+ Added aliases "mwe", "mweapons" and "modernweapons"
Source
Click here for the source code of ModernWeapons!
@TommehRRR
Sounds good, I'll test that out and maybe add it as a default!
@yagoloco
Are you sure you didn't forgot the data of the item? You can also get weapons and ammo with "/mw give NAME" and "/mw ammo NAME"!
@superkid555
This plugin doesn't create new items, you can just use items as guns...
====== New features ======
@superkid555
yes try a texture pack
@Erozyx
yes it works
Shift + Right Click doesn't work...
Tip for flashbangs! Connecting Blindness and Night vision make you absolutaly blind! Try this: Ability: Effects: - Blindness,7 - Night_Vision,2 - Confusion,10
It gives two seconds of complete blindness, then you can see a little more, then you have some confusion!
I have the right weapon id, and the ammo, still, weapons won't work.
My guns are all normal items like sugar canes, redstone repeaters, paper, etc. Help?
Why are my guns sugar canes?
Future features ? c4 whit activation and pressure plate mines xD
@DarkBladee12 Turns out my classpath was still stuck running java 6 for some reason. I modified the .bat file that runs my bukkit server to set it to java 7 and now it works perfectly. Thanks so much.
Hey dark when you gonna make some new guns.yml for me i need a normla pistol, your plugin is critical to my server
Thanks , best plugin ever ;)
Oh yeah - how about making a "Mob damage" and a "player damage" option?
Say zombies are one shotted by shotguns, yet players take very little damage?
@dbang
You are using Java 6, but this plugin requires Java 7! Try updating your server, if that's not possible i'll upload a Java 6 version ;)
Bullet proof Armour as a feature!
Meaning setting a certain value Armour in a config, that receives, say, 10% of the damage?
can you make a normal pistol and send me the yml?
@DarkBladee12
with 35,1 or 35:1 it is also not working.
When I attempted to install this on my bukkit server I got this error.
17:18:05 [SEVERE] Could not load 'plugins\ModernWeapons_1.3.0 .jar' in folder 'p lugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError : com/DarkBlade12/ModernWeapons/ModernWeapons : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:230) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugins(CraftServer.ja va:239) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.<init>(CraftServer.java:21 7) at net.minecraft.server.v1_4_R1.PlayerList.<init>(PlayerList.java:55) at net.minecraft.server.v1_4_R1.DedicatedPlayerList.<init>(SourceFile:11 ) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.jav a:104) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java :399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:8 49) Caused by: java.lang.UnsupportedClassVersionError: com/DarkBlade12/ModernWeapons /ModernWeapons : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader .java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:173)
I googled the 'Unsupported major.minor version 51.0' error and found that it was caused because the file was compiled with a different version of Java than mine. So I downloaded the most recent version of java and tried again, still with no luck.
Any help would be most appreciated. This mod looks absolutely fantastic. Looking forward to a response.