A simple plugin that adds custom fireworks to your server.
Implements support for vote rewards using NuVotifier and loot table customization to acquire firework items.
There are a couple default fireworks available that can be used out of the box.
Batteries,
Fountains,
and a Bang Snap
The batteries and fountains come in different colors (blue, green, orange, pink, purple, red, yellow) and other varieties like pride and rainbow.
(An example of three types of fountains)
There are multiple ways players can acquire fireworks.
One way would be to use the firework spawn feature of this plugin.
This will spawn fireworks on players. Once a firework explodes, it drops a random item from all available firework items.
The fireworks will only spawn if the player has no blocks above, blocking the sky.
This spawn feature can be enabled and configured in the config.
enabled: false # Toggle the spawn feature
spawnrate: 100 # The spawn rate of the fireworks. The higher the number, the less likely it will spawn.
Another way would be to use NuVotifier, which will draw a random custom firework as a vote reward.
Can be toggled in the config.
votereward: false # Toggle vote reward feature
You can also enable them inside all chest or chest minecart loot tables.
This feature can be configured in the config.
loottable:
enabled: false # Toggle the loot table feature
chance: 0.5 # The chance of the item spawning. (e.g. 0.5 = 50%)
The fireworks can be activated with Redstone if it is active in the config.
redstonemode: false # Toggle Redstone Mode
Fireworks can be lit on the head of players.
litplayer: true # Toggle if players can lit.
Main command: /fancyfirework or alias /ff
Permission: fancyfirework.admin
Enables or Disables the spawning of fireworks on players.
See Spawn Random Fireworks above.
Permission: fancyfirework.admin
Sets the spawn rate of the random firework spawning.
The higher the number, the less likely they will spawn.
See Spawn Random Fireworks above.
Permission: fancyfirework.mod
Gives you the specified firework item of the specified quantity.
(This plugin was created in a matter of two days! Documentation and possible future features will be added later on!)