Twentysix26 / x26-Cogs

General purpose cogs for Red V3
GNU General Public License v3.0
41 stars 29 forks source link

[Feature request] Warden: Rule Activation/Deactivation #29

Open EternalllZM opened 3 years ago

EternalllZM commented 3 years ago

Cog

Describe the feature you'd like to see Warden rules could be enabled/disabled. By default, every rule should be enabled, but if you specified the following, it would disable it and place it under a disabled category:

rank: 1
name: rule_example
event: [disabled]

Why this would be useful Sometimes rapid-deployed rules are required such as the case of the namescraper h0nde a few months ago. These rules can be reused later on without needing a rewrite or searching through uploads, etc.