-
New Feature
-
Resolution: Fixed
-
Minor
-
None
-
None
-
(latest, somewhere since 1.7.10)
-
Yes
The permission node
bukkit.broadcast.scradmin
used to work back in the 1.7 days as far as I remember, but I haven't been able to get the permission node working in the recent years.
I decided to take a look at the source code today, and I found the relevant code at around line 194 of nms `CommandListenerWrapper`. If I read it correctly, it checks if the receiver is the sending player then if the receiver is opped:
if (entityplayer != this.base && this.i.getPlayerList().isOp(entityplayer.getProfile()))
but I could not trace it back to any usable permission node. Would it be possible to add another condition in place of operator checking? Maybe something like "sender is not receier && (receiver is operator || receiver has permission node"? My aim is to give some staff users successful command run notifications, and doing it via the default vanilla way would be the best method if possible.
A workaround would be nice, but I don't think there's any efficient way as there is no event for receiving messages.
Thanks,
~Simon