kangarko / ChatControl-Red

Issue tracker and documentation for the next generation ChatControl Red, the most advanced chat management plugin.
44 stars 22 forks source link

1.20.4: Rule isn't working #2587

Closed 10Meisterbaelle closed 4 months ago

10Meisterbaelle commented 4 months ago

"/version ChatControlRed" - plugin version

10.23.9

Are you using MySQL?

Yes

Are you using BungeeCord?

Yes

Error log (if applicable)

No response

"/chc debug" output (strongly recommended)

I can't seem to find the file anywhere after doing /chc debug

Information about the issue/bug

This rule isn't working:

# Prevent /op command but ignore other commands by ending the message with \b.
# This makes the filter match /op but not /open. The \b means basically a space after the word.
match ^\/op\b
#ignore perm chatcontrol.bypass.rules
#name /op
then warn {prefix_warn}This command is disabled on this server.
#then notify chatcontrol.notify.rulesalert &8[&7ID {rule_name}&8] &7{player}: &f{original_message}
then deny

# Prevent /deop command
match ^\/deop\b
#ignore perm chatcontrol.bypass.rules
#name /deop
then warn {prefix_warn}This command is disabled on this server.
#then notify chatcontrol.notify.rulesalert &8[&7ID {rule_name}&8] &7{player}: &f{original_message}
then deny

Additional information: I am using LuckPerms with disable-ops set to true

10Meisterbaelle commented 4 months ago

This issue also occurs after updating to the latest version (v10.24.5)

10Meisterbaelle commented 4 months ago

As I thought, this seems to have something to do with LuckPerms disable-ops