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 Jul 2, 2013Can you please make a texturepack with the guns please!!! like if u want it too it can help
-
View User Profile
-
Send Message
Posted Jul 2, 2013@DarkBladee
Due to the 1.6 bug, adding a negitive effect to zoom in doesn't wear off, even once the effect is gone.
To fix this you have to apply a positive speed boost, even for a split second - enough so that the client has a fast 'zoom out', it is as if you need to negate the effect.
My recommendation is that disabling zooming adds a speed boost for a second, could be easy to code in, i think.
-
View User Profile
-
Send Message
Posted Jun 30, 2013@eduardo878
It's because you've don't the permission !
-
View User Profile
-
Send Message
Posted Jun 29, 2013:c What i do? "You are not allowed to use Weapons here!"
-
View User Profile
-
Send Message
Posted Jun 18, 2013@darkness1999
It is easily possible to achieve this, you do know, right?
Chests have nothing to do with compatibility, just make sure you set the correct data values.
Say you have a gun that has an id of 268:1, or 268,1 in the config. You probably set your chest to restock only to 268, use data values!
-
View User Profile
-
Send Message
Posted Jun 16, 2013I really need compatibility with the Loots plugin!
Make it possible to use the Weapons from the Chests!
-
View User Profile
-
Send Message
Posted Jun 8, 2013Development of this plugin is currently inactive, cause of time issues! Will be continued as soon as I have time for it.
-
View User Profile
-
Send Message
Posted May 21, 2013@DarthClark
Also I made one texturepack. Sorry for advertising, but this plugin looks cool with it. http://www.planetminecraft.com/texture_pack/guns-in-craft-texturepack/
-
View User Profile
-
Send Message
Posted May 20, 2013@hunajameloni
The command has a few aliases like "/mwe" or "/modernweapons" that you can use instead!
-
View User Profile
-
Send Message
Posted May 20, 2013@DarthClark
There is one: Link Removed: http://www.mediafire.com/?e1ele54o7bxr9y4 (based on Faithful)
-
View User Profile
-
Send Message
Posted May 17, 2013Is there a texture pack for this plugin? It is a bit awkward for players to run around with sugar canes....
-
View User Profile
-
Send Message
Posted May 17, 2013I have multiworld installed and now cannot use this plugin because of /mw
-
View User Profile
-
Send Message
Posted May 15, 2013@Project11
You can already do that by setting the value of the mag size to 100 and the reload time high :P
-
View User Profile
-
Send Message
Posted May 11, 2013Well you could make something like a LMG 50-100 Mag Capacity but very-very slow reload.
-
View User Profile
-
Send Message
Posted May 10, 2013please add the option to switch in config.yml if you have to be op to use and reload weapons
-
View User Profile
-
Send Message
Posted May 7, 2013TODO-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!
-
View User Profile
-
Send Message
Posted May 6, 2013@DarkBladee12
I have not edited the original configuration of grenade: as you can see nodes are all presents
http://pastebin.com/0L4ANWf7
-
View User Profile
-
Send Message
Posted May 5, 2013@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!
-
View User Profile
-
Send Message
Posted May 4, 2013Update 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
-
View User Profile
-
Send Message
Posted May 4, 2013Sugguestion