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!
@rogerin0
Umm I don't really know what's your problem, as I've said in the post below I didn't copy anything from it! I put my own ideas into this plugin and made it easy to configure. It does nearly the same as crackshot yeah, but you are allowed to decide which one you'd like to use!
@crore
Well, I didn't rip anything from it... I started this project a long time ago, rewrote it completely and put it on ;)
@leonolo
I've also tried it, but I found that configuring weapons and stuff is pretty complicated :/
@nipper4369
You don't have Java 7! Install it and it'll work fine ;)
looks like shitty rip off of crackshot to me....
i will love you forever ! no homo
crack shot is better
I am using spigot bukkit mod. Which uses the beta builds of craftbukkit. I get this error on load.
2013-03-04 09:30:49 [SEVERE] Could not load 'plugins/ModernWeapons_1.1.0.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:307)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:231)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugins(CraftServer.java:261)
at org.bukkit.craftbukkit.v1_4_R1.CraftServer.<init>(CraftServer.java:239)
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.java:108)
at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:405)
at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
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.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:87)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173)
... 9 more
To everybody who cant get guns to work for normal player: give them the permission ModernWeapons.<weapon> where <weapon> is the name of the weapon, or ModernWeapons.all
Does it add new guns, or use just normal items?
Wow, amazing Plugin. I am thinking on how I can incorporate this into my server. I don't even know what I am planning now with this. I'll probably do like a Zombie Survival server with this Plugin and a custom texturepack. BTW, if I record like a plugin spotlight for this will you put it up? ;D
A really nice plugin, downloaded it and tryed it! I loved it! I just had to make myself an AK 47 :D . Thank you for making this. Btw idk if it works for normal players, but if not try to make it so it does.
Hey, I just downloaded this plugin. Tried using it, it's working perfectly fine, I then got a player to try but it didnt work for him. I signed on my test account and tried it it didnt work either, I opped myself on it and it started to work, I have been looking everywhere for the config for players to use weapons but it doesn't work. I love this plugin please can you help me!
Come look at my server people! Server Ip: mc.projectmc.co.uk!
WOW nice update MORE MORE XD put more weapons i suck in create weapons
Your plugin sounds awesome but it won't load on my server. Any ideas on how to fix it?
@jhs232
Nope, you can define specific items that can be used as a weapon, all properties are customziable (tutorial in config.yml)! ;)
Does this require Spout?
@ritipinheiro
New version is out now, with many features!
@destruyer1
Excuse me, but I don't speak Portoguese :/
quais são os items q são armas