Lightning
#1
Lightning
A Lightning Plugin for MCServer

Feature
Create Lightnings at the look position with a command.
But you can also use BlazeRods for lightnings Smile. Permission: lightning.click

Command|Permission
/lightning lightning.use
/lightning <PlayerName> lightning.forplayer

Download: https://github.com/daniel0916/Lightning/...master.zip
GitHub: https://github.com/daniel0916/Lightning
(the plugin use the GetBlockXYZFromTrace function from the WorldEdit Plugin)
Reply
Thanks given by:
#2
Nice one. Although as a control freak, I'd have preferred if it was possible to bind an item, so that right-clicking with, for example, a blaze rod, would make the lightning hit at the looked-upon block.
Reply
Thanks given by:
#3
(03-14-2014, 11:57 PM)xoft Wrote: Although as a control freak, I'd have preferred if it was possible to bind an item, so that right-clicking with, for example, a blaze rod, would make the lightning hit at the looked-upon block.

Okay, i will add this. I also have a other idea...
Reply
Thanks given by:
#4
Now you can lightning other players and you can rightclick with a BlazeRod for lightnings.
Reply
Thanks given by:
#5
nice plugin.Wink you have good ideas keep it upIdea ,you should go professional in this directionBlush
Reply
Thanks given by:
#6
Perhaps use a different permission for the commands - what if the server admin wants to give someone the permission to strike players, but not at sight / using the blaze rod?
Reply
Thanks given by:
#7
How can i use different permissions in one command?
PluginManager:BindCommand("/lightning", 	"lightning.use", 	HandleLightningCommand, 	 " - Create Lightnings");

/lightning and /lightning <PlayerName> is the same command...
Reply
Thanks given by:
#8
Use no permission for the binding, and then check the permission manually in the handler, using cPlayer:HasPermission().
Reply
Thanks given by:
#9
New Version released. I also updated the start post Smile
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)