LightningRod
LightningRods
New Version Here!
Ever wanted to have a Harry Potter styled duel in minecraft? Or maybe just wanted call down lightning on your foe? How about a special wand/rod that lets you do all those big jumps you could only dream of?
Well, now you can! Grab a Blaze rod, grab some ingredients, and craft yourself one of the many Rods. Then go use it however you feel like using it!
Basically, LightningRod adds magical wands/staffs to minecraft, in the simplest form possible!
How It Works
I've added a few new recipes to the game for all the Rods, all you need to do is craft a rod, and then right click to use its power (It will use up 1+ rod), not too hard, eh?
Rods
These are the Rods that this plugin currently has, I will be adding more, my goal is 50 Rods!
Lightning Rod
What else would the first one be?!?! This Rod, when right clicked, will call to the gods for help and they will send down a bolt of lightning, with a max range of 30 blocks (configurable). ID: lightning
Health Rod
This is a pretty simple Rod, all it does when you right click is ask the gods for a bit more time and they send down 5 extra hearts for your survival (configurable). ID: health
Companion Rod
This one is my favorite Rod so far, what you do is right click with it and...BAM, you get 1 tamed dog (configurable) to help you fight and/or protect you! ID: companion
Hunger Rod
Have you ever been in the middle of a duel and your hunger drops below 9 porkchops? You know you should eat so you can get your health regen back, but it takes FOREVER to eat when your in the middle of a battle! What this Rod does when you right click is instantly fill up 7.5 porkchops (configurable)! ID: hunger
Creeper Rod
This nifty little Rod lets you do something you've always wanted to do; Spawn a creeper on top of your enemy! All you do is aim and click, and POOF, 1 (configurable) creeper just spawns where you clicked, but be careful, these creepers will still attack you, so you better make sure they blow up your enemy before you!!! ID: creeper
Explosion Rod
I'm pretty sure you can guess what this Rod does! Your right, just aim 'n' click, and BOOM an explosion just a little bit smaller then TNT happens where ever you aimed, with a max range of 30 blocks (configurable). ID: explosion
Ender Rod
This one isn't too complicated, just right click and you throw an ender pearl! ID: ender
Parkour Rod
This one is really useful, after you click you get 15 seconds (configurable) of Speed III and Jump Boost II!!! ID: parkour
Fire Rod
This one was suggested by bobhull517, it is basically a fire charge, on a stick, that you can shoot! ID: fire
Arrow Rod
Ever wanted a rapid-fire bow? Well, this will kinda work :P just right click with it and it shoots 3 (configurable) arrows in rapid succession! ID: arrow
Weather Rod
Now I know you'll love this one! Just click with it and it will toggle the state of the weather, no more rainy days! Thanks for the idea Robbekes_ ID: weather
Recipes:
Basically, every rod needs 1 Blaze Rod (configurable, you could try a stick, or a golden pickaxe, anything you want :) ) and some ingredients that match its effect, whenever you put this together and in the right pattern you get 4 (configurable) of the rod you were crafting!
Hunger Rod
Companion Rod
Lightning Rod
Hunger Rod
Creeper Rod
Explosion Rod
Ender Rod
Parkour Rod
At first glance this recipe might seem a bit strange, its just some of the ingredients needed to make a speed potion.
Fire Rod
Arrow Rod
Weather Rod
Installation...
Download the latest LightningRod.jar and place it in your "plugins" folder, run the server once to generate the config file and your set!
Config.yml
The config.yml file has options for so that you can change the names you want for the rods, the item ID for the rod, the cost for each use, and customize the power/amount of each effect. If you wanna see the sample config its here.
Please note: this config is not going to be THE newest, but it should have all the major options :)
Commands:
- /lr, is used to access all of the commends.
- /lr reload, reloads the config.yml file.
- /lr help, redirects the user to this page for help
- /lr spawnrod [rod ID], call this commend with any rod ID (Get those from above) and it will give you 64 (configurable) of those rods.
Permissions:
These are for any permissions plugin for bukkit (I recommend PermissionsBukkit or PermissionsEx)
All the permissions for this plugin start with "lr" (LightningRod)
- lr.*: Gives all permissions for the plugin.
- lr.reload: Allows use of the /lr reload command.
- lr.help: Allows use of the /lr help command.
- lr.spawnrod: Allows use of the /lr spawnrod command.
- lr.use.*: Allows use of all Rods.
- lr.use.healthrod: Allows use of the Health Rod.
- lr.use.companionrod: Allows use of the Companion Rod.
- lr.use.lightningrod: Allows use of the Lightning Rod.
- lr.use.hungerrod: Allows use of the Hunger Rod.
- lr.use.creeperrod: Allows use of the Creeper Rod.
- lr.use.explosionrod: Allows use of the Explosion Rod.
- lr.use.enderrod: Allows use of the Ender Rod.
- lr.use.parkourrod: Allows use of the Parkour Rod.
- lr.use.firerod: Allows use of the Fire Rod.
- lr.use.arrowrod: Allows use of the Arrow Rod.
- lr.use.weatherrod: Allows use of the Weather Rod.
Effects:
lightning_rod: This sets the max distance of the Lightning Rod.
health_rod: This sets the amount of health you get from the health Rod, it can be anywhere from 0-20.
companion_rod: This sets how many companions (tamed dogs) will spawn when you use the Rod.
hunger_rod: This sets the amount of food you get from the Hunger Rod, it can be anywhere from 0-20.
creeper_rod: This sets how many creepers will spawn when you use the Rod.
explosion_rod: This sets the max distance of the Explosion Rod
ender_rod: This does nothing at the moment :(
parkour_rod: This sets how long the potion effects will last for.
fire_rod: This does nothing, yet :P
Arrow Rod: This sets how many arrows will fire when this Rod is used.
Weather Rod: No features here, maybe you guys could help?
Video Review
This was made by mmuziek, thanks! Youtube Video
Planed Rods
This is where I'm going to be putting all the rods I plan on making and ones that other people suggest!
- Posion Rod: Shot posion potions out of this Rod!
- Jail Rod: Encases/Entombs target in a certain block! Thanks 007godofwar!
- Ghast Rod: Shoots ghast sized fireballs! Thanks tatulda!
- Glow Rod: Places down a block of glowstone at whatever you were point at!
- Cake Rod: Spawns a cake right before your eyes (Not a lie, really!)
TO DO
- Add more rods.
- Could someone make a client mod that will look at the lore of a blaze rod and based off that change the texture?? Please? :)
- I need some more ideas! Leave a comment!
- A̶d̶d̶ ̶a̶ ̶b̶e̶t̶t̶e̶r̶ ̶w̶a̶y̶ ̶t̶o̶ ̶a̶c̶q̶u̶i̶r̶e̶/̶m̶a̶k̶e̶/̶c̶r̶a̶f̶t̶ ̶t̶h̶e̶ ̶r̶o̶d̶s̶,̶ ̶w̶h̶a̶t̶ ̶d̶o̶ ̶y̶o̶u̶ ̶g̶u̶y̶s̶ ̶s̶u̶g̶g̶e̶s̶t̶?̶
- A̶d̶d̶ ̶a̶ ̶c̶o̶n̶f̶i̶g̶ ̶o̶p̶t̶i̶o̶n̶ ̶t̶o̶ ̶t̶u̶r̶n̶ ̶o̶f̶f̶/̶d̶i̶s̶a̶b̶l̶e̶ ̶c̶e̶r̶t̶a̶i̶n̶ ̶r̶o̶d̶s̶.
- A̶d̶d̶ ̶c̶o̶m̶m̶a̶n̶d̶s̶ ̶t̶o̶ ̶s̶p̶a̶w̶n̶ ̶i̶n̶ ̶a̶ ̶s̶t̶a̶c̶k̶ ̶o̶f̶ ̶a̶n̶y̶ ̶r̶o̶d̶.̶
Could you add a localization file? :)
I have a Problem it doesnt appear ingame the console says:
16:25:02 [SCHWERWIEGEND] Could not load 'plugins\LightningRod-2.31.jar' in folde r 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError : com/kanoa/LightningRod/LightningRod : 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/kanoa/LightningRod/Lightn ingRod : 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) ... 9 more
The permissions barely works,everyone is able to use the rods without the use of permissions. Which is quite annoying.
To make matters worse,players can still craft the rods and I have to add a restriction permission for each rod individually and I have to add the permission to those I have to allow. This is quite troublesome really.
@12323op
there is no config really and can you please make it so that we can just assign an item to each rod so that the abilities can be easily put in pvp kits example all golden nuggets give you the parkor ability when right clicked I don't know but if you do that I can see this plugin becoming really popular for pvp and it would help me ALOT!
Maybe u could add kinda fly rods...
Also, my plan is to do a big update when minecraft 1.5 is released
@ummbobee98
The permissions don't need a plugin, they will work with op/non-op. Can you post your config?
I don't any permissions plugin on my server but i'm op and it seems although nothing in the plugin is working can't craft anything or use commands :/
is it up to date and working some stuff seemed to be a bit buggy o.O :L can you post a new set up config swell because other one is kinda messed
@CarrotNubbin
WeatherRod, done :) SwiftnessRod: check the parkour rod? Durability will be near impossible. The rest are probably pretty easy, and I will work on them!
Ideas (You may or may not want to use these.):
WeatherRod: make it rain experience for a limited time, or arrows on an enemy (Maybe separate rods?) VoiceRod: Make it say "%PLAYER% (Replace with player's name) (Message defined in Config) BreathRod: Make you be able to breath underwater for an extra amount of time. DamageRod: Do a predefined amount of damage, knockback, and set fire to the player you attack with this rod. GoldRod: Conjure up some gold to fall from the sky (Configurable amount). ZombieRod: Spawn zombies where you are looking (Configurable amount o' zombies.) TreeRod: Grow a tree where you're looking! BlazeRod: (LOL) Spawn a configurable amount of blazes where you're looking. PumkinRod: Grow a pumpkin patch where you're looking (Alternative: MelonRod) SwiftnessRod: Make yourself go fast for a configurable amount of time. ProtectionRod: Make yourself invincible for a configurable amount of time. Durability for rods, configurable. (Or you can keep insta-break.)
EDIT: "Seconds" is not spelled "Secounds", as it is when you try to use rods to fast.
@CarrotNubbin
Everytime a player uses a Rod, the rod gets destroyed/deleted/used... I think thats what you were worried about, correct?
This looks like an extremely awesome plugin, and I would get it and usenit for my server, however... I find that, not unlike the plugin "CreeperBow", once the player has created one of these blaze rods, has it until eternity, with unlimited uses. Perhaps a cooldown, or something like energy that you have to wait to regenerate, and in turn, you need this energy to perform some blaze rod effect/spell. Thank you!
EDIT: Ok thanks!
No, i hit target with drowing effect, very useful for Magicians of Water as primary weapon :)
Can you do it?
@equiment
So a rod like the parkour Rod but it gives you water breathing?
I want to tell about an effect when player is drowing under water, because I an RP-server and i wanna to create Water Magicians guild (now i have Fire Magicians with fireRod :))
@equiment
1) My code already basically does this, just gonna have to change 1 line lol, expect it in the next update :) 2) I might sound stupid here...but what do you mean by "sink effect"? 3) Can't sorry :( Yes...it is possible, but would take SO much more work that its not worth it, the code basically tells the game to launch a SmallFireball, I can't change te damage it does without quite a bit more code :(
Nice plugin, well done :)
1) Can you create a cooldown timer for every road? For example: 5 sec for arrows and 1 sec for explosion?
2) WaterRod - hurt a target (player/mob) with a sink effect
3) Configuration to an amont of HP which are put by a fireball
@datamann10
Thank you :) If you have a server you run this plugin on, let me know, I wanna add a section dedicated to letting people know what servers are awesome :P
Let me just tell you, This plugin is absolutely amazing! Nice job!