FabioZumbi12/RedProtect

[BUG] cant negate Perms for Server Exit and join command flags

Closed this issue · 3 comments

I setted up a region with some servercommands
That get executed on join and leave of the region

Currently our admins bypass this flag.

I tried some negations but none of them worked..

    - * - works - command is bypassed
    - Redprotect.* - command is bypssed
    - redprotect.flag.admin.server-exit-command.bypass - failed - command is not bypassed
    - redprotect.flag.admin.server-enter-command.bypass - failed - command is not bypassed
    - redprotect.flag.server-exit-command.bypass - failed - command is not bypassed
    - redprotect.flag.server-enter-command.bypass - failed - command is not bypassed
    - redprotect.flag.bypass.server-enter-command - failed - command is not bypassed
    - redprotect.flag.bypass.server-exit-command - failed - command is not bypassed
    - redprotect.flag.admin.bypass.server-enter-command - failed - command is not bypassed
    - redprotect.flag.admin.bypass.server-exit-command - failed - command is not bypassed

What worked was negating Redprotect.* so it must be one of the permissions from redprotect itself :3
But this is negating a bit to much..
The Wiki dont Mention other permissions...
So i apsect at the moment that this might be a issue of the current Redprotect Version.

I Hope you can take a look at it and fix it. Or
Tell me what the right permissions are for these flags so that i can negate them.

Redprotect 7.7.3 Build 413
Server: Papermc 1.19 Build 17

please help here or give us a hint how we can negate these flag bypasses for our staff so they will NOT bypass server-enter-command and server-exit-command flags

I will redo the test today with the latest Build 421 and see if it may can be manged now 🥉

Well it still would help me to tell the permission i need to negate so i can get the server-enter-command and server-exit-command triggered for me.

If i turn myself into a player it works fine.
just as admin i bypass it.. so it must be a permission...

could be solved with the help odf fabriozombie on discord.
thanks for helping pointing out what permission need to be negated <3