Lasers (Completely customizable!) 3.5.1

Ever wanted to have a powerful laser in Minecraft? Take a look at this configurable multi tool!

  1. ChaoZ
    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):
    Code (Text):

    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):
    Code (Text):

    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):
    Crafting_Ammo.png

    How to craft the laser (not shapeless):
    Crafting_Laser.png

    screenshot of the config window (you can break all blocks in the inventory with the laser):
    laser_config_window.png

    This is what it looks like when shooting (the red line is about 20 blocks long):
    laser_firing.png
    New zoom option:
    aimingandshooting.gif

    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 ;)

Recent Reviews

  1. bkoles
    bkoles
    5/5,
    Version: 3.5.1
    Awesome Plugin Can You Update It To 1.13.2 and Thanks Its Well Done Plugin Keep it up!
  2. DiscipleGizmo
    DiscipleGizmo
    4/5,
    Version: 3.5.1
    Great plugin and awesome reflection physics. Can you add full multi-laser support? I very much urge you to add this capability, and I would be willing to donate for this feature.
  3. BabyxSparklez.
    BabyxSparklez.
    5/5,
    Version: 3.5.1
    I doubt this will be added, but make it so I can have more than one laser type. I want players to be able to buy different lasers.
    1. ChaoZ
      Author's Response
      You can take a look at my "Advanced Lasers" plugin, but actually I am not sure if it still works. If not, I'll try to update it soon :)
  4. Sir_NomanV1
    Sir_NomanV1
    5/5,
    Version: 3.5.1
    Amazing plugin, been using it on my Fallout themed server! Just wondering what sound is used for firing the weapon, so that we can change it using a resource pack to match our theme! Thank you!
    1. ChaoZ
      Author's Response
      Thanks for the review. I.hope I could answer your question in the pm :)
  5. Reaper-XIII
    Reaper-XIII
    5/5,
    Version: 3.5.1
    Duuuuude that's awesome, 5stars deserved ! (1.11.2)
    I was looking for something like that, and is there a way to customize the particles ? i think there is a way to create a simple magic plugin with damage + particles ! (don't know if it already exist but all other magic plugin aren't this good and simple)
    For example i created a spell book shooting your laser with cooldown.
    So is it possible with other particle ? :0
    PS: set a negative colored value (i tested green) shoot a multicolored laser (don't remove that lol)
    PS2: Could be awesome to add effect on hit to the target, like slowness or set on fire, etc..
    1. ChaoZ
      Author's Response
      Nice to hear that you like the plugin - if I have time, I may add the features you suggested :).
  6. Shadow.
    Shadow.
    5/5,
    Version: 3.5.1
    Awesome Plugin Bro,
    its not laggy like other Guns/lasers plugins
    one of the best Plugins For Fun out there <3
    1. ChaoZ
      Author's Response
      Thanks for the nice review :)
  7. DifferentCraft
    DifferentCraft
    5/5,
    Version: 3.5
    Very awesome unique plugin, Logs CoreProtect data and doesn't bypass protected errors :) Perfect plugin for a server
    1. ChaoZ
      Author's Response
      Thanks for your review! Nice to hear that you like the plugin :)
  8. SlimeDog
    SlimeDog
    5/5,
    Version: 3.4.3
    Laser 3.4.3 brings it all back. Hurray! Lovely lasers again. Thanks Chaoz. Players happy, operator happy.
    1. ChaoZ
      Author's Response
      Nice to hear :)
  9. SlimeDog
    SlimeDog
    2/5,
    Version: 3.4.2
    Laser used to be a 5, but it doesn't work well in Spigot 1.9.4 (see conversion notes for details). Come on Chaoz, please update, so I can boost it to 5 again.
    1. ChaoZ
      Author's Response
      Oh I'm so sorry, I thought I would have uploaded the version already a long time ago!
      I wasn't able to recreate all of the bugs you mentioned, but I've tested the new version a lot and I haven't noticed any bugs. If you have any more bugs, simply send me a message :)
  10. Alpha101010101
    Alpha101010101
    5/5,
    Version: 3.4.2
    I love this Plugin A+....................................................................................