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!
TODO-List has been updated, you can still send me some ideas for the next version, which I will stark working on in a few days!
@DarkBladee12
I have not edited the original configuration of grenade: as you can see nodes are all presents
http://pastebin.com/0L4ANWf7
@xion87
This will also work on 1.5.2, but it seems that you forgot the "Item" node for a grenade so it throws that error!
Update to 1.5.2 please! It work but it spam a lot of errors. 05.05 01:05:10 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 05.05 01:05:10 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 05.05 01:05:10 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 05.05 01:05:10 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 05.05 01:05:10 [Server] INFO org.bukkit.event.EventException 05.05 01:05:10 [Server] SEVERE Could not pass event PlayerInteractEvent to ModernWeapons v1.3.1 05.05 01:05:10 [Server] INFO ... 16 more 05.05 01:05:10 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 05.05 01:05:10 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) 05.05 01:05:10 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 05.05 01:05:10 [Server] INFO at sun.reflect.GeneratedMethodAccessor203.invoke(Unknown Source) 05.05 01:05:10 [Server] INFO at com.DarkBlade12.ModernWeapons.Listener.WeaponListener.onPlayerInteract(WeaponListener.java:104) 05.05 01:05:10 [Server] INFO at com.DarkBlade12.ModernWeapons.Weapons.Grenade.<init>(Grenade.java:50) 05.05 01:05:10 [Server] INFO at com.DarkBlade12.ModernWeapons.Weapons.Grenade.initialize(Grenade.java:55) 05.05 01:05:10 [Server] INFO at com.DarkBlade12.ModernWeapons.Weapons.Grenade.getItem(Grenade.java:247) 05.05 01:05:10 [Server] INFO Caused by: java.lang.NullPointerException 05.05 01:05:10 [Server] INFO at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) 05.05 01:05:10 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) 05.05 01:05:10 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) 05.05 01:05:10 [Server] INFO at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226) 05.05 01:05:10 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:581) 05.05 01:05:10 [Server] INFO at net.minecraft.server.v1_5_R3.DedicatedServerConnection.b(SourceFile:30) 05.05 01:05:10 [Server] INFO at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35) 05.05 01:05:10 [Server] INFO at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:109) 05.05 01:05:10 [Server] INFO at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292) 05.05 01:05:10 [Server] INFO at net.minecraft.server.v1_5_R3.Packet15Place.handle(SourceFile:58) 05.05 01:05:10 [Server] INFO at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:611) 05.05 01:05:10 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:156) 05.05 01:05:10 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:186) 05.05 01:05:10 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 05.05 01:05:10 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 05.05 01:05:10 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 05.05 01:05:10 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) 05.05 01:05:10 [Server] INFO org.bukkit.event.EventException 05.05 01:05:10 [Server] SEVERE Could not pass event PlayerInteractEvent to ModernWeapons v1.3.1
Sugguestion
Help! I get this error when I load the plugin
19:19:26 [SEVERE] Could not load 'plugins\ModernWeapons_1.3.1.jar' in folder 'plugins' 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.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_5_R2.PlayerList.<init>(PlayerList.java:55) at net.minecraft.server.v1_5_R2.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:381) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) 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.java:173) ... 9 more
Also, how about effects for whoever was hit?
Awesome and simple plugin
Awesome plugin. Please add knockback option!
How about allowing multiple configs?
I need this for me, what i tried was allowing the gun only in the world, made a copy of the plugin and changed its name in the plugin.yml and tried making a new folder for the name i placed... but this didn't work!
Could there be a way for this?
Update: This is what i got as an error code:
I know it says its on version 1.2.0, but its actually 1.3.0, i tried using 1.3, 1.3.1 etc etc. Same error code! I tried changing the auther name (no hard feelings ;] ) And i tried changing the plugin name (obviosly)
Nothing worked!
I fails to give players the right to use weapons that is why I want you to do a tutorial on configuring permissions with Essential, more i would like to know more about the stores of weapons. thanks advance
Great plugin but you should add the option to disable explosions in the region "Safezone" in the plugin Factions!! :)
Also add some C4,landmines and maybe airstrikes!
Thanks
Idea!
Give people data they are wearing pumpkins for sniper skins! reskin the vignette and you've got sniper skin!
@TommehRRR
I think next week, I'm also pretty busy this week :/
@ECRONCraft
No, you can aquire the knife via "/mw give knife", by default it's a bone!
Hey, i feel bad you never got to see a good usage of the plugin with a well made texture pack. If you want you can visit, a great thanks to you by the way!
walkingdeadmc.servegame.com
Saddly, Yes it is you can use a texture pack though. what i did wa si went into the plugins folder in the ftp file accsess and then opened up modernweapons and then i went to all teh guns and changed the idem id to 104 it is a silver pumpkin stem.
Kevin
well..... my gun KH2002 is a scissors Is that normal?? Maybe you can change the guns skin
Any estimate on when the update will be posted?
or is it already in the 48 hour wait?
I cant get myself a gun in the commands, why cant I?