We coded it so that lighting randomly strikes in 3 random forms:
-It strikes all players
-It strikes randomly around a player
-It strikes a random entity around the player (e.g exploding creeper)
Once you place the jar file in the plugins folder the plugin will begin to run