FancyFirework
一款简单的插件,为你的服务器添加自定义烟花。
支持使用 NuVotifier 进行投票奖励,并通过战利品表自定义来获取烟花物品。
我们推荐使用 Paper!
默认烟花
有几个开箱即用的默认烟花可用。
电池型、
喷泉型,
以及不同类型的礼花弹。
电池型和喷泉型有多种颜色(蓝色、绿色、橙色、粉色、紫色、红色、黄色)以及其他变体,如骄傲色、彩虹色、情人节、生日和万圣节主题。

(三种喷泉型烟花的示例)
获取烟花
玩家有多种方式可以获取烟花。
随机生成烟花
一种方式是使用本插件的烟花生成功能。
这会在玩家身上生成烟花。当烟花爆炸时,它会掉落所有可用烟花物品中的随机一个。
只有在玩家头顶上方没有方块遮挡天空时,才会生成烟花。
此生成功能可以在配置文件中启用和配置。
enabled: false # 切换生成功能
spawnrate: 100 # 烟花的生成频率。数字越大,生成的可能性越低。
投票奖励
另一种方式是使用 NuVotifier,它将随机抽取一个自定义烟花作为投票奖励。
可以在配置文件中切换。
votereward: false # 切换投票奖励功能
战利品表
你也可以在所有箱子或矿车箱子的战利品表中启用它们。
此功能可以在配置文件中配置。
loottable:
enabled: false # 切换战利品表功能
chance: 0.5 # 物品生成的几率。(例如 0.5 = 50%)
红石模式
如果配置中启用,可以通过红石信号激活烟花。
redstonemode: false # 切换红石模式
点燃玩家
可以将烟花安装在玩家的头上并点燃。
litplayer: true # 切换是否允许点燃玩家
命令
主命令:/fancyfirework 或别名 /ff
/ff enable 或 /ff disable
权限:fancyfirework.admin
启用或禁用在玩家身上生成烟花。
参见上方的“随机生成烟花”。
/ff setspawnrate
权限:fancyfirework.admin
设置随机烟花生成的频率。
数字越大,生成的可能性越低。
参见上方的“随机生成烟花”。
/ff give [key] <amount>
权限:fancyfirework.mod
给予你指定数量的指定烟花物品。
(本插件是在两天内完成的!文档和可能的未来功能将稍后添加!)
FancyFirework
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.
We recommend to use paper!
Default Fireworks
There are a couple default fireworks available that can be used out of the box.
Batteries,
Fountains,
and different kinds of crackers.
The batteries and fountains come in different colors (blue, green, orange, pink, purple, red, yellow) and other varieties like pride, rainbow, valentine, birthday and halloween.

(An example of three types of fountains)
Acquire Fireworks
There are multiple ways players can acquire fireworks.
Spawn Random 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.
Vote Rewards
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
Loottables
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%)
Redstone Mode
The fireworks can be activated with Redstone if it is active in the config.
redstonemode: false # Toggle Redstone Mode
Lit Player
Fireworks can be lit on the head of players.
litplayer: true # Toggle if players can lit.
Commands
Main command: /fancyfirework or alias /ff
/ff enable or /ff disable
Permission: fancyfirework.admin
Enables or Disables the spawning of fireworks on players.
See Spawn Random Fireworks above.
/ff setspawnrate
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.
/ff give [key] <amount>
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!)
评论 0
登录后参与评分
还没有评论,来抢沙发吧