essentials.chat.spy.exempt Does not hide messages sent to that user
TomLewis opened this issue ยท 11 comments
The purpose of having essentials.chat.spy.exempt for my OP's is to allow mods to monitor all chat apart from what my OP's send/receive, now this half works, it stops social spy showing what these people send back, but it does not stop the reply messages being sent to them in the first place, so they can easily figure out the conversation by having one half oh it open to read!
I want players to be able to talk to my admins and trust their information stay private, especially if we have to ask for personal information like emails etc when there is a payment issue.
This would introduce quiet alot of code, as the chatspy would have to figure out who the actual recipient is. Afaik the chatspy and the message module in Essentials are pretty much sperated, so they would have to make calls to each other. Currently the implementation is just very lightweight and not supposed to block what players write to OPs.
That's a shame I imagined it was done at chat level, so when the message was being sent it could run a quick check.
It's done at the command level since we do it for multiple commands and allow you to add / remove any to the list.
Why not? It's pretty self explanatory. I could go a step further and make ranking be inherited so you can remove the 'default'
from mod+
because mod
already has it.
What would you consider more intuitive?
Why not just add && !recipient.isAuthorized("essentials.chat.spy.exempt"))
to here?
I'll do that for now, but I wanted to fix #516 at the same time.