Command to turn off/on in console or Chat

Hello,
Can you create a command to activate and deactivate the configuration through a command in chat or console?
The complement would be great.
Thanks for this plugin

Updated

Fantastic, now I can turn fireworks on and off on the map.
I am very grateful for your response and even more so for the solution to my problem.
Very complete plug in.
Clap clap clap