Smoke Bombs
Smoke bombs are a fun addition to your server. Whenever you hit a player with a smoke bomb, it gives them nausea and blindness for a few seconds. The default is 60 ticks which is 3 seconds. This can be changed in the configuration file (20 ticks = 1 second). The strength of the effects is III but you can also change that in the configuration file too. This plugin is useful for PvP servers or KitPvP servers where you can use the bombs to make a quick escape! However, players within 3 blocks (even you) are also affected so make sure to throw them from afar! The code is lightweight so it won't lag your sever at all! There are also no commands you need to worry about. When configuring your options, make sure to save the options and then reload your server for the changes to take effect. The default config file will appear if you leave the current one incomplete or missing.
Recipe:
You need to craft the smoke bombs first. It's a shapeless recipe including 4 of the projectile, 4 coal, and 1 TnT. Right now, the only projectiles that can be crafted into smoke bombs are eggs, snowballs, and enderpearls. (Enderpearls can't be used in crafting right away because you have to enable it in the permissions!)
Here is the egg recipe:
Here is the snowball recipe:
Configuration:
Effect:
Nausea:
Length: 60
Amplitude: 3
Blindness:
Length: 60
Amplitude: 3
EnabledTypes:
Egg: true
Snowballs: true
Enderpearls: false
Change the values as much as you want but remember that the length of the effects needs to be in ticks (20 ticks = 1 second). Also, these values need to be integers for the plugin to work. For the enabled types that can be made into smokebombs, you can change the values to true or false if you want them enabled or not. The config values for the enabled types only allows the recipes for the smoke bombs to be created. In order for players to use them, the permission nodes also have to allow it. Remember that the config file appears after you run your server with this plugin for the first time.
Permission Nodes:
smokebombs.useeggbombs - Allows you to use eggs as smokebombs. (On by default)
smokebombs.usesnowbombs - Allows you to use snowballs as smokebombs. (On by default)
smokebombs.useenderbombs - Allows you to use enderpearls as smokebombs. (Off by default)
Commands:
None
Versions:
6/23/14 - Smoke bombs 1.4 - Improved the system and fixed the potion effect length.
6/21/14 - Smoke Bombs 1.3 - There is a recipe now for the smoke bombs. You can also use snowballs to make smoke bombs.
8/22/13 - Smoke Bombs 1.2 - Added because of a request. Permission to use smoke bombs is off by default. Use the other 1.2 version if you don't specifically want this.
8/20/13 - Smoke Bombs 1.2 - 1.6.2 CB Beta (Made it so that smoke bombs also activate when they hit blocks as well as players.)
8/10/13 - Smoke Bombs 1.1 - 1.6.2 CB Beta
8/10/13 - Smoke Bombs 1.0 - 1.6.2 CB Beta
I think you should add it so that there is a huge smoke effect where it hides the user, leaving the target blinded, nauseated, and stuck in smoke, like the cloud particle, not cobwebs, but cloud of smoke so that the smoke bomb is more realistic, and also the cloud can be configurable
@lolipop369mcgamer
How do you want to implement it? Do you want to spawn it in like regular items? Or do you want to give a player smoke bombs using a command? If you can describe your request more then I can probably do it.
I want to use Smokebombs in a kit, is there an Item Meta Data that can be used?
@highfaller Hi, I updated the plugin so it would include that. Now there's a shapeless recipe that you can use to create smoke bombs which are eggs. All the details are in the description now.
Thanks!
PS The new file might not be up yet since they're still in the process of approving it.
If you have intentions of updating this, could you possibly add an option to change it from an egg? This is perfect for what I want it for except I need it to be a snowball.
Sorry for the late reply. I'll add that shapeless recipe soon since it seems like a good edition. Colored particles are impossible. And smoke blocks are actually part of a project I gave up on. I'll include them if I ever work it out.
Thanks!
Could I suggest possibly making it so that there was a shapeless recipe to craft the smoke bombs, such as an egg and a coal producing 1 Smoke Bomb? Or potentially making it so that you place down eggs in a similar pattern to a chest with coal (or any other smoke inducing item) in the center? Maybe it would also be possible to add coloured particle effects for those outside the range of the Smoke bomb, similar to the particles induced on the character by potions. Wow, sorry if I just got really elaborate, I understand that it's a lot of work, I just thought that those would be neat to have. Overall I think it's a really neat plugin, works well. Nice work.
@Codepear
Cool thanks. I'll include this plugin in my next video and will direct people to this page if they want to download it. I'll let you know when the video is finished.
Cheers.
@Lukethenuke:
I uploaded another version where the permission is off by default. It's being approved right now. If you need help with it or it's not what you're looking for, then by all means let me know!
Thanks!
@Codepear
Cool idea. Is there a way you can make a config so that it isn't on by default? I'd like to be able to grant the permission after someone has gained enough in a skill to use it. The skills plugin I'm talking about is in my signature for reference.
I look forward to your response.
Make sure to comment!
Thanks!
Awesome plugin