-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spam features #102
Comments
An option to block/mute a player from sending mail would also be good. |
I would recommend integrating beerchat mute for this when beerchat is installed and only add custom implementation if beerchat isn't available (if adding at all in that case). |
The mail setting should be synced to the beerchat one (for example is beerchat from a server). In the settings page, fields should modify also beerchat. That's pretty simple but I wanted to explain how I'm going to proceed. Clicking on mute field (don't know yet what it's going to be) should invoke a mail own function, and inside this function, it should check for beerchat then edit the setting. Same for getting the muting state, it should first check if beerchat is installed then sync muting settings. EDIT: settings mega-table should receive a new parameter kind of |
With beerchat pretty much only actual interface is I think significant thing here is that beerchat mute is not implemented at single definite location and already has multiple producers (mute implementations / data sources) and consumers (mute lookups). For example, jailed players are automatically muted unless recipient has deliberately joined jail discussion. Thing is, there's no single definite setting you could ever sync for muting in beerchat. To create producer (control beerchat muting through mail mod) you'd have to go with |
Yes I've already looked a bit at the code of |
Not sure what you exactly mean by sync or transmit. If you could elaborate a bit how'd you like it work from player/user perspective I might be able to suggest some possible ways to implement it. Or could maybe just talk about this a bit at mt-mods modding chat, might help understanding a bit better how you'd like it and what functionality you'd exactly want for this on mail mod side (and possibly on beerchat's side). |
What do I mean by those terms (only proposal names) :
Because both should have different way to exchanges settings. But this is simple as that. May be in a |
What would be the exact things you'd like to |
This is kind of simple for beerchat, however for some optional other mods it might be more complicated. |
If restricting scope to this mail mod issue, what data you think would be needed from beerchat?
Again restricting scope to this issue, what data you think would have to be transferred to beerchat and what should it do with this data? Is this basically about sending sender and recipent name toward beerchat and getting back boolean which tells if sending is allowed? In other words doing Or is this about sending something else that beerchat should store somewhere for later use or somehow use this data for some configuration or something like that? |
Yes the setting will be synchronized as you suggested so it will only implement functions to share the setting to beerchat. When any modification is done from the mail side, it is given to beerchat ( |
Now I think I get it, basically it would be a configuration synchronization between the mods. However I still don't understand what exactly would have to be synchronized, can you elaborate: what would be the things that needs to be synchronized between the mods? Or is this still something you also have no idea about and needs some planning? |
Add the following abilities :
The text was updated successfully, but these errors were encountered: