Lasers (Completely customizable!)
3.5.1Ever wanted to have a powerful laser in Minecraft? Take a look at this configurable multi tool!
Lasers
This plugin adds a powerful Laser to your arsenal. Additionally you can also use it as a mining tool to break blocks very efficiently!
Here is an awesome review from @Quadbamber which explains most parts of the plugin (Thank you for the video! :) ):

Features
- Laser and ammunition
- Completely customizable:
- Change the lore, name and material of the item
- Change all messages, so you can set your server prefix in front of the text
- Create your own crafting recipe for the laser
- Many options (See spoiler below)
- Permissions:
- "laser.get": Allows you to get the Laser (/laser)
- "laser.use": Without this permission, you aren't able to use the laser
- "laser.use.blocks": If activated, you can also break blocks by shooting
- "laser.config": Allows you to modify some parts of the Config ingame
- Many configurable options (this is the default config):
Spoiler
options:
#Length of the laser ray, default is 20 (Be careful - the bigger the length, the higher the chance to cause massive lags!)
length: 20
#Cooldown (in ticks -> 20 ticks = 1 second) - 0 to disable cooldown
cooldown: 0
#Should the laser hurt mobs?
damageEnabled: true
#Hurt players, too?
damagePlayers: false
#How much damage should the laser deal? (1 heart = 2)
damage: 5.5
#Do you want a mining laser?
destroyBlocks: false
#This is the list of materials you should be able to break (modify ingame!)
materials:
#Should the laser ray stop when hitting a wall?
stopWhenHittingBlock: true
#Do you need ammo to power the laser?
ammoNeeded: true
#should you be able to craft ammo?
craftableAmmo: true
#should you be able to craft the laser?
craftableLaser: true
#knockback when shooting?
knockback: false
#Should you be able to aim when left clicking?
aiming: true
#Shooting with left clicking? (May be useful to bypass NCP)
invertShooting: true
#name of the laser, color codes are allowed ($ + code + text)
name: $4$lLaser
#lore - if you don't want to have a lore, delete the lines
lore:
- $8Right click to $cshoot$8!
- $8Very powerful!
#id & subid - as a number (e.g. 1 and 0 is stone)
#yellow wool would be id: 35 and subid: 4
id: 356
subid: 0
#define the laser color with a red, green and blue value from 0 to 255
color:
#red - by default 255 -> full
red: 255
#green - 0 by default
green: 0
#blue - also 0 by default
blue: 0- Completely craftable if enabled (Scroll down for screenshots of the recipes)
- You can use it as a PvP weapon or as a mining tool, depending on what you need
- Define the blocks which will break when shooting on them
Commands
- /laser: Give yourself the laser and some ammunition
- /laserammo [Amount]: Give yourself only ammunition
- /laserconfig: Change every value ingame!
- /laserconfig materials: Open the GUI to define the blocks which will break
- /laserconfig <key> <value>: change values, e.g. /laserconfig color 255,100,0 or /laserconfig knockback false
- /laserconfig: Shows the whole list of configurable values
To Do
- Own crafting recipes?
- Language support?
- Glass as mirror reflecting the laser
- Tell me your ideas!
Additional Infos
- This plugin uses the Particle Effect Librabry by Darkblade12 (awesome work!) (PS: this isn't a plugin you have to download ;))
- Actually, there is a small API, because the event fires a "LaserBreakBlockEvent" when destroying a block with the laser. I think no one will need this, but who knows :)
- If you want to change the type of the sound, here's a list of possible names (1.8.3, copied from https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html):
Sound list
IMPORTANT: If you are using bukkit 1.9+, copy the names from the link above! (because every single one of them has changed)
AMBIENCE_CAVE
AMBIENCE_RAIN
AMBIENCE_THUNDER
ANVIL_BREAK
ANVIL_LAND
ANVIL_USE
ARROW_HIT
BAT_DEATH
BAT_HURT
BAT_IDLE
BAT_LOOP
BAT_TAKEOFF
BLAZE_BREATH
BLAZE_DEATH
BLAZE_HIT
BURP
CAT_HISS
CAT_HIT
CAT_MEOW
CAT_PURR
CAT_PURREOW
CHEST_CLOSE
CHEST_OPEN
CHICKEN_EGG_POP
CHICKEN_HURT
CHICKEN_IDLE
CHICKEN_WALK
CLICK
COW_HURT
COW_IDLE
COW_WALK
CREEPER_DEATH
CREEPER_HISS
DIG_GRASS
DIG_GRAVEL
DIG_SAND
DIG_SNOW
DIG_STONE
DIG_WOOD
DIG_WOOL
DONKEY_ANGRY
DONKEY_DEATH
DONKEY_HIT
DONKEY_IDLE
DOOR_CLOSE
DOOR_OPEN
DRINK
EAT
ENDERDRAGON_DEATH
ENDERDRAGON_GROWL
ENDERDRAGON_HIT
ENDERDRAGON_WINGS
ENDERMAN_DEATH
ENDERMAN_HIT
ENDERMAN_IDLE
ENDERMAN_SCREAM
ENDERMAN_STARE
ENDERMAN_TELEPORT
EXPLODE
FALL_BIG
FALL_SMALL
FIRE
FIRE_IGNITE
FIREWORK_BLAST
FIREWORK_BLAST2
FIREWORK_LARGE_BLAST
FIREWORK_LARGE_BLAST2
FIREWORK_LAUNCH
FIREWORK_TWINKLE
FIREWORK_TWINKLE2
FIZZ
FUSE
GHAST_CHARGE
GHAST_DEATH
GHAST_FIREBALL
GHAST_MOAN
GHAST_SCREAM
GHAST_SCREAM2
GLASS
HORSE_ANGRY
HORSE_ARMOR
HORSE_BREATHE
HORSE_DEATH
HORSE_GALLOP
HORSE_HIT
HORSE_IDLE
HORSE_JUMP
HORSE_LAND
HORSE_SADDLE
HORSE_SKELETON_DEATH
HORSE_SKELETON_HIT
HORSE_SKELETON_IDLE
HORSE_SOFT
HORSE_WOOD
HORSE_ZOMBIE_DEATH
HORSE_ZOMBIE_HIT
HORSE_ZOMBIE_IDLE
HURT_FLESH
IRONGOLEM_DEATH
IRONGOLEM_HIT
IRONGOLEM_THROW
IRONGOLEM_WALK
ITEM_BREAK
ITEM_PICKUP
LAVA
LAVA_POP
LEVEL_UP
MAGMACUBE_JUMP
MAGMACUBE_WALK
MAGMACUBE_WALK2
MINECART_BASE
MINECART_INSIDE
NOTE_BASS
NOTE_BASS_DRUM
NOTE_BASS_GUITAR
NOTE_PIANO
NOTE_PLING
NOTE_SNARE_DRUM
NOTE_STICKS
ORB_PICKUP
PIG_DEATH
PIG_IDLE
PIG_WALK
PISTON_EXTEND
PISTON_RETRACT
PORTAL
PORTAL_TRAVEL
PORTAL_TRIGGER
SHEEP_IDLE
SHEEP_SHEAR
SHEEP_WALK
SHOOT_ARROW
SILVERFISH_HIT
SILVERFISH_IDLE
SILVERFISH_KILL
SILVERFISH_WALK
SKELETON_DEATH
SKELETON_HURT
SKELETON_IDLE
SKELETON_WALK
SLIME_ATTACK
SLIME_WALK
SLIME_WALK2
SPIDER_DEATH
SPIDER_IDLE
SPIDER_WALK
SPLASH
SPLASH2
STEP_GRASS
STEP_GRAVEL
STEP_LADDER
STEP_SAND
STEP_SNOW
STEP_STONE
STEP_WOOD
STEP_WOOL
SUCCESSFUL_HIT
SWIM
VILLAGER_DEATH
VILLAGER_HAGGLE
VILLAGER_HIT
VILLAGER_IDLE
VILLAGER_NO
VILLAGER_YES
WATER
WITHER_DEATH
WITHER_HURT
WITHER_IDLE
WITHER_SHOOT
WITHER_SPAWN
WOLF_BARK
WOLF_DEATH
WOLF_GROWL
WOLF_HOWL
WOLF_HURT
WOLF_PANT
WOLF_SHAKE
WOLF_WALK
WOLF_WHINE
WOOD_CLICK
ZOMBIE_DEATH
ZOMBIE_HURT
ZOMBIE_IDLE
ZOMBIE_INFECT
ZOMBIE_METAL
ZOMBIE_PIG_ANGRY
ZOMBIE_PIG_DEATH
ZOMBIE_PIG_HURT
ZOMBIE_PIG_IDLE
ZOMBIE_REMEDY
ZOMBIE_UNFECT
ZOMBIE_WALK
ZOMBIE_WOOD
ZOMBIE_WOODBREAK
Any questions or problems? Feel free to ask!
Here are some screenshots:
How to craft ammunition (shapeless recipe, this is a example):
How to craft the laser (not shapeless):
screenshot of the config window (you can break all blocks in the inventory with the laser):
This is what it looks like when shooting (the red line is about 20 blocks long):
New zoom option:
Want to see your laser screenshots here? Send them to me and I'll add them :)
You want to support my work? Maybe consider buying some of my other resources!
Thanks for reading! I hope you will download this plugin ;)
Similar projects
Config →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta