kangarko / ChatControl-Red

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

/mail send to only users with permission #1362

Closed 0ofland closed 2 years ago

0ofland commented 3 years ago

I would like to send update notifications with chat controls mail system. Is there a way to only send a mail to users with a certain permission such as chatcontrol.newsfeed?

Minecraft Version: 1.17.1 MySQL: true BungeeCord: true

ElBananaa commented 2 years ago

Hey, Unfortunately, there is no such feature in the plugin right now. Please wait for Kangarko to review your suggestion ^^

kangarko commented 2 years ago

@0ofland what do you mean exactly? Do you want to limit users who will see "You have a new email" message to only players with "chatcontrol.newsfeed" permission?

0ofland commented 2 years ago

It should only be sent to a user if they have that permission, so only players who would be interested in receiving such a mail should get it.

ElBananaa commented 2 years ago

@0ofland what do you mean exactly? Do you want to limit users who will see "You have a new email" message to only players with "chatcontrol.newsfeed" permission?

I think what they'd like exactly would be a feature like /email send <permission> which will only send an email to players with the specified permission. ^^

0ofland commented 2 years ago

Yeah pretty much like that

kangarko commented 2 years ago

Thanks for the suggestion, I noted it! Right now my plate is pretty busy but we may return to this in the future.