FireworkMe
FireworkMe is a plugin to create and edit fireworks. It was too complicated and took to long to create fireworks manually, so I created this plugin to help. Please feel free to comment on additions or changes I should do on this plugin. I did it in 1 day and might not have thought about everything.
Commands
You can either use /fireworkme or /fm as an alias if no other plugins registered it.
| Command | Explanation |
| /fireworkme | Lists the commands possible |
| /fireworkme add* | Allows to create a firework |
| /fireworkme addother** | Creates a firework for a specific player |
| /fireworkme clone | Clones a firework stack or any other item |
| /fireworkme setduration | Sets the duration of the firework |
| /fireworkme addeffect <effect> | Adds an effect to the firework |
| /fireworkme removeeffect <effect#> | Remove an effect from the firework |
| /fireworkme seteffect <effect> [effect#] | Changes the firework effect |
| /fireworkme settrail <true/false> [effect#] | Changes the trail |
| /fireworkme setflicker <true/false> [effect#] | Changes the flicker |
| /fireworkme setcolor <color/000000> [effect#] | Changes the colors, seperated by ; You can use color names or RGB HEX value. Example : /fireworkme setcolor green;ff5523;yellow |
| /fireworkme setfadecolor <color/000000> [effect#] | Changes the fade colors, seperated by ; You can use color names or RGB HEX value. Example : /fireworkme setfadecolor green;ff5523;yellow |
*Full arguments are :
/fireworkme add <quantity> [duration] [effect] [trail] [flicker] [color] [fadecolor]
**Full arguments are :
/fireworkme addother <player> <quantity> [duration] [effect] [trail] [flicker] [color] [fadecolor]
Permissions
| Permission | Command |
| fireworkme.add | add |
| fireworkme.addother | addother |
| fireworkme.clone | clone |
| fireworkme.addeffect | addeffect |
| fireworkme.removeeffect | removeeffect |
| fireworkme.use | seteffect settrail setflicker setcolor setfadecolor |
Example usage
First you could start off by creating a firework with :
/fireworkme add 5 2 ball_large true true red blue
This will create a stack of 5 large explosion 2 duration firework with a trail and flicker that will start off red and fade blue. Next you might want to add a creeper head inside with this :
/fireworkme addeffect creeper
This will just made a white creeper, let's spice it up.
/fireworkme setcolor green 2
/fireworkme setfadecolor yellow 2
This will make the 2nd effect (the creeper) green and fading to yellow.
Now I changed idea and I want the creeper to fade to the color Licorice. Licorice isn't in the premade list of colors, so I need to get it's RGB hex value. You can use this url for some examples. In this case, Licorice is 1A1110. I also want to put some yellow. So I will do it like this :
/fireworkme setfadecolor 1A1110;yellow 2
Effects
Non exaustive case-insensitive effect list (It's based of the org.bukkit.FireworkEffect.Type enum) |
| BALL |
| BALL_LARGE |
| BURST |
| CREEPER |
| STAR |
Colors
Color list for color and fadecolor (case-insensitive) For other colors, use their RGB HEX value, e.g. ff0033 |
| BLACK |
| BLUE |
| BROWN |
| CYAN |
| GRAY |
| GREEN |
| LIGHT_BLUE |
| LIME |
| MAGENTA |
| ORANGE |
| PINK |
| PURPLE |
| RED |
| SILVER |
| WHITE |
| YELLOW |