Laser
Laser
Laser is a plugin that brings new weapons to Minecraft. According to plugin's name it implements a laser weapon. But you can create a lot of specific kind of guns that support specific actions and ammo.
This plugin requires a PlayEffect v0.2.2 (or newer) installed to draw a laser beam.
Features
- A lot of visual and sound effects (provided by plugin PlayEffect)
- Highly configurable weapons allows you to implement an unlimited number of new weapon types;
- Weapons support actions: block-breaking, damaging mobs and players, transforming blocks and mobs, knockbacks and kickbacks.
- You can even create a jetpack using this plugin!
Video demonstration
How to use Laser
- You need to configure guns (there are some created by default)
- Grant players permissions to use
- Give gun-item and [rightclick] to shoot
Laser gun abilities
- Deal damage to mob or player
- Ignite mobs, players, or broken blocks
- Grant mobs or players potions effects
- Explode blocks
- Transform mobs (for example pig to zombie).
- Transform blocks (for example diamond_block to glass)
- Knockback mobs and players (negative values will pull mobs to shooter)
- Kickback shooter (you can use this effect to create jetpack, or negative value - to create "jumpgun")
- Laser could fire without ammo or requires ammo to shoot. You can define as ammo: money (required Vault and economy plugin), experience and item.
- Visual and sound effects (provided by plugin PlayEffect) could be used to draw beam, shoot effect, entity damage effect and reload effect.
How to configure custom laser gun?
There are six laser gun types provided by default. But you can easily edit it or create your own type of laser. Laser settings are stored in file arsenal.yml
Commands
- /laser help - Hmm....
- /laser list - List available types of laser guns
- /laser reload - Reloads configuration from files
- /laser give <pageNum> - open inventory that contains Laser guns and ammos.
- /laser give <laserGun> <playerName> - gives laser to player
- /laser give <laserGun> <playerName> ammo [amount] - gives ammo to player
Permissions
- laser.config — reload command
- laser.give — give command
- laser.give.other — allows to give lasers and ammo to another player
- laser.list — list command
- laser.gun.all — allows to use any type of lasers
- laser.gun.<laser gun type> — allows to use defined type of laser
Dependencies
- This plugin is requires Vault plugin to bring custom drops to transformed mobs and money-ammo. This features will be not accessible if Vault is not installed.
- PlayEffect requires to draw visual effects and play sounds. If you did not install PlayEffect plugin all effects will replaces with "mobspawner flame" effect.
Metrics and update checker
Laser includes two features that use your server internet connection. First one is Metrics, using to collect information about the plugin (versions of plugin, of Java.. etc.) and second is update checker (required to find newer version of Laser at dev.bukkit.org). If you don't like this features you can easy disable it. To disable update checker you need to set parameter "version-check" to "false" in config.yml. Obtain more information about Metrics and learn how to switch off it, you can read here.
@xion87
Ok! I'll add it this command soon.
Hey Fromgate i am plaining to use this plugin for create quake arena... is all ok but you need to add the command give /laser give <laser gun> <playername> for use this in arenas...
@chouageha
Specific mob damage.... Hmmm... I think I con do something... )
@LanceTheGamer
All lasers are defined in arsenal.yml file located in plugins/Laser folder of your server
@Shnitzalcraft
1. Yeah! I think it's time to separate lasers to differen files. Specially if number of parameters will grow.
2. Source code of plugin is located here: https://github.com/fromgate/Laser
3. Check item: '&4Laser hunting rifle$BLAZE_ROD:1' the line in arsenal.yml. This line contains item description. You can use any item or block as laser gun.
@PrometeoPrime
You just need to configure your anticheat plugin. I think in next version I will add anticheat comptibility (if I find it possible)
This is a great plugin, im definently going to use it for my server! :D Here are some suggestions though 1) make all the laser guns edit in different files, this way we can delete some that we don't want (the mining gun for example) 2) can you make the java file uncompressed (so i can try to learn some java? :3) 3) add a config file that lets us change the gun id (so we can have multiple guns look different)
Thanks!
I love this plugin! I want you to add function which addtion of damage to specific mob for this plugin.
Hey, This is a very nice plugin! I was just wondering though, how do I edit my lasers? I didn't have a folder loaded for my lasers.
Thanks
@Kyurem55
cause "/laser" isn't a command. "/laser help" is try that instead :)
Whenever I type /laser it says "Something wrong (check command, permissions). But I am opped properly and everything. Why is this?
@PrometeoPrime
The plugin is fine, stop bitching, he puts a lot of work into these plugins. All you had to do is ask for NoCheatPlus support.
There a lot's of bugs normal players can't use the lasers but i make the permission and no cheat plus tell me Fast Block (player name) Wrong Block (player name) omg... fix the plugin my server is 1.6.4 R 2.0. normal players can't use lasers when there the plugin nocheatplus in the server
@ChengZi368
about /laser = /laser help...
I will think about it. I'm sure that it's a good idea for all my plugins :)
@ChengZi368
Thanks :) If you have any suggestions I will try to add it (and update project). Now it works fine with 1.7.2 (don't forget to use updated version of PlayEffect)
How about let /laser do the same thing as /laser help?
Nice project.Hope this plugin will keep updating. xD
@CommodoreAlpha
I'm not sure from which version. I think it will work at 1.5.2. But.. there's not possible to select colors. It's a redstone dust effect that could be red or random color.
Since what Minecraft version was different-coloured smoke particles possible? I've never seen this before! Simply intriguing, this plugin is! :O
@Forcellrus
File is uploaded, waiting for approval.