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!
-
View User Profile
-
Send Message
Posted Mar 13, 2013@Erozyx
yes it works
-
View User Profile
-
Send Message
Posted Mar 13, 2013Shift + Right Click doesn't work...
-
View User Profile
-
Send Message
Posted Mar 13, 2013Tip 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!
-
View User Profile
-
Send Message
Posted Mar 12, 2013I have the right weapon id, and the ammo, still, weapons won't work.
-
View User Profile
-
Send Message
Posted Mar 12, 2013My guns are all normal items like sugar canes, redstone repeaters, paper, etc. Help?
-
View User Profile
-
Send Message
Posted Mar 12, 2013Why are my guns sugar canes?
-
View User Profile
-
Send Message
Posted Mar 12, 2013Future features ? c4 whit activation and pressure plate mines xD
-
View User Profile
-
Send Message
Posted Mar 12, 2013@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.
-
View User Profile
-
Send Message
Posted Mar 12, 2013Hey 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 ;)
-
View User Profile
-
Send Message
Posted Mar 12, 2013Oh 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?
-
View User Profile
-
Send Message
Posted Mar 12, 2013@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 ;)
-
View User Profile
-
Send Message
Posted Mar 12, 2013Bullet proof Armour as a feature!
Meaning setting a certain value Armour in a config, that receives, say, 10% of the damage?
-
View User Profile
-
Send Message
Posted Mar 12, 2013can you make a normal pistol and send me the yml?
-
View User Profile
-
Send Message
Posted Mar 11, 2013@DarkBladee12
with 35,1 or 35:1 it is also not working.
-
View User Profile
-
Send Message
Posted Mar 11, 2013When 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.
-
View User Profile
-
Send Message
Posted Mar 11, 2013@TanveerGT5
Umm you mean that you can't hurt someone who is in the same faction as you?
-
View User Profile
-
Send Message
Posted Mar 11, 2013@RCEKH
Did you mention the data of the items? Like "Item: 35,1" is the item 35:1 and not just item 35!
-
View User Profile
-
Send Message
Posted Mar 11, 2013@RCEKH
Thanks for reporting this, I've fixed it so this won't occur in the next version!
-
View User Profile
-
Send Message
Posted Mar 11, 2013@ritipinheiro
I'll make a page with more weapon examples that you can copy into your guns.yml!
-
View User Profile
-
Send Message
Posted Mar 11, 2013Thanks for this is working all fine,
Can you make more weapons in next version i suck making weapons