xenonsb / Haxball-Room-Extension

Room search (originally by Raamyy) + AutoJoin + Admin shortcuts
GNU General Public License v3.0
10 stars 7 forks source link

The local mute plugin #10

Open Wazarr94 opened 5 years ago

Wazarr94 commented 5 years ago

Hi, i've used local mute for the first time to mute a not-so-bright guy, and noticed that if the muted guy talks, it can sometimes leave a space in the chat:

image

Since the haxball chat is gonna get refreshed every time, why not hiding it and making the copy that would take into account those mutes & wouldn't suffer from those spaces.

Also, the big mute button in the chat should be setting all players to muted, so we could be able to unmute the few players we wanna be able to check the messages. This would be extremely useful in Real Soccer for instance where we could mute everyone but the referee.

Wazarr94 commented 5 years ago

Also, you should not be able to mute yourself I think

xenonsb commented 4 years ago

iirc, muting yourself doesn't work - but the button is there as kind of a bug.

I debated between keeping the chat space vs. deleting it and opted for keeping it - in case anyone wants to go back and kinda look for it.

For the big mute + unmute, I'll have to rethink the logic a bit, since new players joining may cause some added complexities.