FireworkShow
FireworkShow v0.2
Completely automated stunning firework shows!
This plugin lets you type in a command and start a completely random firework show. All fireworks will have 3 random colours, be a random type, might flicker, and might have a trail. (For developers: I made this plugin in just 29 lines, source code can be found here XD.)
Usage
Simply place the FireworkShow.jar file into your /plugins directory and start/reload your server. Then make yourself OP or give yourself the permission FireworkShow.use and use the command!
Example
This is one firework show with frequency of 500 milliseconds and distance of 5 metres. You can of course have more than 1 firework show at a time!
Link to firework show example
Commands and Permissions
Completely automated stunning firework shows!
This plugin lets you type in a command and start a completely random firework show. All fireworks will have 3 random colours, be a random type, might flicker, and might have a trail. (For developers: I made this plugin in just 29 lines, source code can be found here XD.)
Usage
Simply place the FireworkShow.jar file into your /plugins directory and start/reload your server. Then make yourself OP or give yourself the permission FireworkShow.use and use the command!Example
This is one firework show with frequency of 500 milliseconds and distance of 5 metres. You can of course have more than 1 firework show at a time!Link to firework show example
Commands and Permissions
Command |
Permission Node |
Default |
/FireworkShow <length> <frequency> <distance> - Start a firework show! | FireworkShow.use | OP |
/FS - Alias of the /FireworkShow command! | FireworkShow.use | OP |
- Length is how long the firework show should last in seconds.
- Frequency is the time between every firework in milliseconds.
- Distance is the distance between the 5 firework spawn points in metres.
Please look at my plugin request and see if you could fill it <3
https://forums.bukkit.org/threads/firework-plugin.253955/#post-2392498
My Server Is Crashing Because Of This And I Restart Server And It Won't Stop!
When i start a firework show in one world, it starts at the same location in every world
@ShootToMaim
Did you even try? Because it's already like that.
Make the commands lowercase as well please. /fireworkshow /fs
Nice plugin! Now that you have completed the under 50 line challenge, please add in a custom X, Y, Z Coordinate for the spawning of the Fireworks, rather than where the player is.
Keep up the Good Work!
@YoFuzzy3
You've just got to work on this again and go past the 50 line challenge; this is one of the easiest yet most effective fireworks plugins there is!
The two things that I'd love to see are the ability to make the firework line either N/S or E/W facing, and the ability to set the center position in the command line instead of having to be standing at the spot. That way all sorts of automation could be done using other plugins!
Looks amazing, thank you for making this.
@benneht
I would, but this plugin was made as a challenge to be under 50 lines. :P
Maybe when I have spare time I'll recode it with new features. :)
Can you add messages for errors etc. Like 'Starting show with <parameters>' or 'Improper Syntax'
Was glad to finally get a plugin like this, I got it to work. Thanks!
Does not work with even the latest build. console errors like crazy when you use this. Doesn't even do what it says it does. It might be clashing with one of my other plugins?? I dunno. good idea though I guess.
@DekuHero
You obviously didn't read that you need CB #2565 or later.
Also please refrain from posting stack traces in comments, instead paste the error on another site like pastebin.com and leave a link.
@YoFuzzy3
alright thanks for the info. ill try this on my test server tmrw.
@DekuHero
Well there's no real way to make it go for ever, but I think it will let you set it to something rediculously high like a few hundred trillion. However the firework shows stop on a server restart.
can i make the firework show never end if I wanted? if so how?