FancyFirework
A simple Minecraft plugin that enhances festive decoration by adding unique fireworks to your server. Integration with the NuVotifier voting system and loot table customization for obtaining fireworks is implemented.
Standard Fireworks
The package includes ready-to-use fireworks of various types: batteries, fountains, and various crackers. Batteries and fountains are available in blue, green, orange, pink, purple, red, and yellow colors, as well as thematic variants for holidays: rainbow, valentines, birthdays, and Halloween.
(Three different types of fountains)
Ways to Obtain Fireworks
Automatic Spawning
The plugin can automatically create fireworks above players. When a firework explodes, it drops a random item from the available fireworks. For the function to trigger, there must be no obstacles blocking the sky above the player. Activation settings are adjusted in the configuration.
enabled: false # Enable the spawning function
spawnrate: 100 # Spawn frequency. The higher the number, the less frequently fireworks appear
Voting Rewards
When using NuVotifier, the system can award random fireworks as voting rewards. The function is activated in the settings.
votereward: false # Enable voting rewards
Chest Loot
Fireworks can be configured to appear in any chests and minecart chests through loot tables.
loottable:
enabled: false # Enable chest loot
chance: 0.5 # Probability of item appearance (0.5 = 50%)
Redstone Mode
Fireworks can be activated using redstone with appropriate configuration.
redstonemode: false # Enable redstone activation
Launching on Players
Fireworks can be placed on players' heads.
litplayer: true # Allow launching on players
Commands
Main command: /fancyfirework or abbreviation /ff
/ff enable or /ff disable
Permission: fancyfirework.admin Enables or disables automatic fireworks spawning above players.
/ff setspawnrate
Permission: fancyfirework.admin Sets the spawn frequency of random fireworks. The higher the value, the less frequently they appear.
/ff give [key]
Permission: fancyfirework.mod Gives the specified firework in the given quantity.