ECFlameThrower
ECFlameThrower
Brief Overview
Ever wanted a living, breathing flamethrower for your players to wreak havoc with? Or perhaps you wanted to literally fight fire with fire? In any case, if you're looking for a flame-spitting monster to toy around with, then you're in luck! ECFlameThrower allows you to designate any single item as a flamethrower that will spit out sound and visual effects, ignite blocks and players, and even consume ammo that is configured by you!
Features
- Able to designate any one item as a 'FlameThrower'
- FlameThrower consumes ammo, and has plenty of visual effects to make the experience exhilerating
- Full permissions support
- Full configuration support
- Message that displays whenever a player switches to the FlameThrower item, displaying the ammunition requirements
- Ability to silence the aforementioned message via a simple-to-use command
Installation
Simply download the latest .jar file, drop it in your plugins folder, and then load the server. After it's first load, you can edit the config file to your delight!
How to Use
Provided you have the proper permissions and ammo, all you have to do is right-click with the FlameThrower item in your hand and you'll shoot out a stream of dangerous flames (up to the maximum range defined in the config)
Permissions
- 'flamethrower.use' - Allows a player to use the flamethrower
- 'flamethrower.unlimited' - Allows a player to bypass ammo requirements
- 'flamethrower.*' - Gives the player both of the previous permissions
Commands
- /flamethrower - Gives basic help regarding the plugin
- /flamethrower verbose - Toggles whether or not the player will see the notification message when switching to the FlameThrower item in their inventory
Configuration
- FlameThrower item ID (defaults to Blaze Rod)
- FlameThrower-ID: 369
- Max Range that the FlameThrower can shoot
- Max-Range: 10
- Ammo Settings
- Ammo:
- Item ID for Ammo
- Ammo-ID: 263
- Amount of ammo consumed per second
- Amount: 2
- Damage dealt directly whenever a player or mob is targeted by the FlameThrower
- Direct-Damage-In-Half-Hearts: 1
Credits
This plugin was requested and conceptualized by EliteCraft, and they were generous enough to allow me to make a public release! If you want to check out their server, feel free to at this IP (minecraft.elitecraft.org) !
Reporting Bugs
Having an issue with the plugin? I'll just need a few minor things:
- Bukkit Build #
- Error Log (if any)
- Description of error, what breaks, and whether or not you can reproduce the error (if yes, list how) Please report this in the Ticket Tracker.
Demonstration Video
(Skip to 1:20 for the actual demonstration)
Outdated... :/ Gives errors on 1.6.4. The author is inactive, so yea, adios plugin!
Could it not set fire to land, just enemies?
Looks great, testing out.
Just verified that the code works for 1.5 and uploaded a new version with minor clean-up that is officially 1.5 friendly.
Sorry for the huge gap in updates. Life and whatnot.
Does this still work?
Simple but awesome plugin
<<reply 654928="">>
I'm going to reply on here as I have on my other projects, but I just want to let everyone know that updates for these will be starting up in roughly 2 weeks. I apologize about the inactivity, but I've been busy with the final month of my senior year in high school. Between struggling to keep my grades up for various scholarships, and the new position I have at work leading to more hours, I have been under a great deal of stress and haven't had time to work on anything.
I promise I'll work on the tickets and suggestions by the end of this month. Thanks for your patience.
As a huge fan I hope you continue developing this plugin!
Nice plugin! I'll use this for PvParena.
And I have an idea to shoot flame like Blaze using Fire Charge.
If you can, I would like you to make the plugin so :D
@rebel24
It's been fixed in the latest build.
@DrBoweNur
No idea, just a minute or two after boot when users login.
@rebel24
When does this error get thrown, out of curiosity?
Error with 1.2 : 23:53:23 [SEVERE] Could not pass event PlayerItemHeldEvent to ECFlameThrower org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:736) at net.minecraft.server.Packet16BlockItemSwitch.handle(SourceFile:24) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:549) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:447) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) Caused by: java.lang.NullPointerException at net.crossroadsgaming.ecflamethrower.FlameListener.onPlayerItemHeld(FlameListener.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ... 10 more 23:53:23 [SEVERE] Could not pass event PlayerItemHeldEvent to ECFlameThrower org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:736) at net.minecraft.server.Packet16BlockItemSwitch.handle(SourceFile:24) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:549) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:447) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) Caused by: java.lang.NullPointerException at net.crossroadsgaming.ecflamethrower.FlameListener.onPlayerItemHeld(FlameListener.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ... 10 more
@DrBoweNur
Awesome, love you :P
@rebel24
It should actually work fairly well on R5, as I don't use any of the outdated code in this
@Stuxrt
Somehow missed your post all this time, but I'll add damage value support when I get some time to sit down and work on it :)
Can you please update for R5 please!
Can we get damage value support? ie: 12:2 or something
Awesome :D
Really nice plugin man, you do some awesome special effects for what's given.
@ludo0777
Duly noted. I'm going to be making a demonstration video tonight, haven't had the time to do it yet.
EDIT:
There you are, uploaded for your viewing pleasure. :P