Screenshot of the options
Create an addon that blocks player interactions while letting through players you want.
Learning Lua and the WoW API was a rewarding process, developing Decliner over the past year. Here's part of my addon's description page:
As a preemptive reply, since I've gotten this comment before, the only three options Blizzard has is "Block Trades", "Block Guild Invites", and "Block Chat Channel Invites" and they are all or nothing. Decliner, as described above, lets players through based on what options you set.automatically declines:
- duel requests
- pet-battle duel requests
- group invites
- guild invites
- guild petitions
- trade requests
- channel invites
from players when:
- you haven't recently whispered them
- they aren't in your party or raid
- they aren't in your guild
- they aren't on your friends list
- they aren't a battle.net friend
- Account or character settings
Save your options account-wide or per character.
- Blocks sounds and other ui messages
All the clicks, event sounds, and chat/info text that occurs from interactions are silenced when an action is blocked. If you disabled notifications, you wouldn't know if anything was blocked at all.
- Spam prevention
You will be notified only once within a certain time if a player is repeatedly sending you blocked invites or requests. The more they send, the longer that specific notification is hidden.
- Forgetting players you whispered
After some time, players that were allowed because you whispered them will be forgotten.
- Opening group invites when you need them
Sometimes you need an invite to a world boss group or to get a portal from someone nearby. When you say "invite" or "portal" in a public message, anyone will be allowed to invite you. Once you join a group, change zones, or after 5 minutes, invite blocking will return to normal.
You can edit the words that trigger open invites, as well as what channels are watched, in the options.
Type /decliner, /decline, or /dcl for the options.
I hope this addon is useful to many people. I use the curseforge ticket system for bugs, issues, and suggestions. I'll keep an eye on this thread as well and welcome any kind of reply, but to keep things organized, I would appreciate tickets.