Simple Lightning Plugin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LightningEvents/src/plugin.yml

83 lines
4.0 KiB

name: LightningEvent
main: net.mcbat.LightningEvent.LightningEvent
version: 1.01
website: http://mc-bat.net
author: Steven Mattera
description: Simple plugin that casts lightning on events.
commands:
cast:
aliases: [c]
description: Commands for casting lightning bolts.
usage: |
/<command> fake <world> <x> <y> <z> - Casts a fake lightning bolt in the specified world and location.
/<command> fake <x> <y> <z> - Casts a fake lightning bolt in the current world at the specified location.
/<command> fake <player> - Casts a fake lightning bolt on a player.
/<command> fake - Casts a fake lightning bolt where you are looking.
/<command> real <world> <x> <y> <z> - Casts a lightning bolt in the specified world and location.
/<command> real <x> <y> <z> - Casts a lightning bolt in the current world at the specified location.
/<command> real <player> - Casts a lightning bolt on a player.
/<command> real - Casts a lightning bolt where you are looking.
permissions:
lightningevent.*:
description: Allows use of all commands and lightning events.
children:
lightningevent.commands.*: true
lightningevent.events.*: true
lightningevent.commands.*:
default: op
description: Allows use of all commands.
children:
lightningevent.commands.cast.*: true
lightningevent.commands.cast.*:
description: Casts lightning bolts.
children:
lightningevent.commands.cast.fake: true
lightningevent.commands.cast.real: true
lightningevent.commands.cast.fake:
description: Casts fake lightning bolts.
lightningevent.commands.cast.real:
description: Casts real lightning bolts.
lightningevent.events.*:
description: Allows use of all lightning events.
children:
lightningevent.events.bed.*: true
lightningevent.events.chat: true
lightningevent.events.death: true
lightningevent.events.join: true
lightningevent.events.kick: true
lightningevent.events.quit: true
lightningevent.events.move: true
lightningevent.events.teleport.*: true
lightningevent.events.respawn: true
lightningevent.events.bed.*:
description: Allows use of all bed lightning events.
children:
lightningevent.events.bed.enter: true
lightningevent.events.bed.leave: true
lightningevent.events.bed.enter:
description: Allows for a lightning strike when a player enters a bed.
lightningevent.events.bed.leave:
description: Allows for a lightning strike when a player leaves a bed.
lightningevent.events.chat:
description: Allows for a lightning strike when a player talks in chat.
lightningevent.events.death:
description: Allows for a lightning strike when a player dies.
lightningevent.events.join:
description: Allows for a lightning strike when a player joins.
lightningevent.events.kick:
description: Allows for a lightning strike when a player is kicked.
lightningevent.events.quit:
description: Allows for a lightning strike when a player quits.
lightningevent.events.move:
description: Allows for a lightning strike when a player moves.
lightningevent.events.teleport.*:
description: Allows use of all teleport lightning events.
children:
lightningevent.events.teleport.from: true
lightningevent.events.teleport.to: true
lightningevent.events.teleport.from:
description: Allows for a lightning strike when a player teleports at the location that they are teleporting from.
lightningevent.events.teleport.to:
description: Allows for a lightning strike when a player teleports at the location that they are teleporting to.
lightningevent.events.respawn:
description: Allows for a lightning strike when a player respawns.