This plugin is here to prevent people using laggy fireworks on your server.
This does not remove all fireworks by default. (but you can do it by setting the
maxEffectNumber to
0 in the
config.yml).
By default it removes only fireworks with 10+ effects on it (these rockets cannot be crafted in game but it can be created with NBT tags).
You can change this number by changing the
maxEffectNumber in the
config.yml file.
You can also execute a custom command on the player who tryied to launch the malicious rocket.
This command can be set in the
config.yml with the parameter
commandToExecute. By default it's "
none" which means there is no command to execute. Replace this with your command but without the beginning "/" and replace the name of the player by
%PLAYER%.
Example if you want to ban the player :
commandToExecute: ban %PLAYER%
You can give the permission to a player to bypass this plugin with the permission "
firework.limitation.bypass".
Tested version :
- 1.16.5 on spigot
How to install ?
Go to the plugin folder in your server and drop the zip file into it, then start the server. A folder "FireworksBan" should appears with the config.yml to change your settings.