using command /dn toggle:
```
```
using command /dn toggle:
```
Great timing on this, because I'm about to cut a new release. I like this idea! I made a few tweaks; however, to simplify it so you just need to type /dn to toggle it on and off. Thanks for the idea!
Can we have a permission to prevent users from even using this new command at all? Seems to be missing from what I can see.
We're a vanilla server and we're using this plugin purely for logging purposes and don't want any functionality or messages to be visible to players at all.
Right now they can assign or revoke themselves the deathnotes.cantsee permission using this command, even if it doesn't do anything because of deathnotes.cansee being required.
It would be perfect if this new command can be disabled and if people try to use it, they should get a "permission denied" in the chat or something like that. Thank you.
If you set "Require Permission (deathnotes.cansee): true" in the bottom of the config file, and if you revoke everyone's deathnotes.cansee permissions, they won't be able to see any death notes regardless of their use of the /dn command. /dn only toggles deathnotes.cantsee; however, that permission never is used if cansee is false when require permissions is enabled. As an aside, messages will still go to console regardless, if you have this enabled. Hopefully this alleviates your concerns.
I just wanted to add that in the upcoming release, 6.5.5, there is a new config item, "Can Player Use /dn Command", that allows you to toggle whether players can use the /dn commands or not.