Dinkleberg's GMod
Get rid of the "x has joined Spectators" message - Printable Version

+- Dinkleberg's GMod (https://www.dinklebergsgmod.com/site)
+-- Forum: Prop Hunt (https://www.dinklebergsgmod.com/site/forumdisplay.php?fid=4)
+--- Forum: PH Suggestions & Help (https://www.dinklebergsgmod.com/site/forumdisplay.php?fid=11)
+--- Thread: Get rid of the "x has joined Spectators" message (/showthread.php?tid=14765)



Get rid of the "x has joined Spectators" message - reinaberg - 08-22-2021

Announcing that staff is spectating to the entire server when they're probably trying to spectate to gather evidence is silly af. I know that you can easily just hold tab to see that they're spectating, but straight up shouting it in bright yellow letters in chat isn't helpful.


RE: Get rid of the "x has joined Spectators" message - Damien - 08-22-2021

I second this.

I feel like having this as a feature is counter intuitive since it yells "STAFF IS COMING TO GET YOU" to people when you need to be discreet with gathering evidence


RE: Get rid of the "x has joined Spectators" message - matt_st3 (Strongrule) - 08-22-2021

A useful message when players could get into spec, but with it only being staff it does kinda ruin the point +1


RE: Get rid of the "x has joined Spectators" message - StrenuousSpider - 08-22-2021

(08-22-2021, 10:46 AM)matt_st3 (Strongrule) Wrote: A useful message when players could get into spec, but with it only being staff it does kinda ruin the point +1
Is it possible to lock it for those that don't have a staff or donor role. 
Feel like if that's possible and taking the message away would help. Making it say 0 people in it even when someone is would help as well. But again I don't know if these types of things could be done easily or at all.


RE: Get rid of the "x has joined Spectators" message - RussEfarmer - 08-22-2021

You have to remember that other servers do not restrict spectator to staff only.. spectator being restricted is a custom modification. On the same token wouldn't it look dumb if prophunt didn't announce people joining spectators by default?

In any case I'll see if I can remove the message

Fretta, the gamemode framework Prop Hunt uses, is responsible for team notifications, so you will have to go into those gamemode files and change it. I can't really give an exact example because I don't have the exact prophunt version the server uses

In the GM:TeamChangeNotification function, if it's not already in there, edit the code to make an if statement that looks something like this:
Code:
if( newteam == TEAM_SPECTATOR ) then
    return false
else
    chat.AddText( oldTeamColor, nick, color_white, " joined ", newTeamColor, newTeamName );
end

On line 166 my GM:TeamChangeNotification function looks like this


RE: Get rid of the "x has joined Spectators" message - TheUltraFish - 08-22-2021

I like this, the way things were originally set up. The announcement worked out fine but when we made it so that only staff can join spectator, it has worn out its use. Makes sense to have it removed since we now know for sure that only staff can join spectator with the added code from Russ. I will talk and see if Dink would be interested in adding this.


RE: Get rid of the "x has joined Spectators" message - Here lies Eggroll's Eggrolls - 08-23-2021

(08-22-2021, 08:59 PM)TheUltraFish Wrote: I like this, the way things were originally set up. The announcement worked out fine but when we made it so that only staff can join spectator, it has worn out its use. Makes sense to have it removed since we now know for sure that only staff can join spectator with the added code from Russ. I will talk and see if Dink would be interested in adding this.
Awesome! Hopefully he can add this in along with timed muted and gags :eyes: whoops my finger slipped- https://steamcommunity.com/sharedfiles/filedetails/?id=2414183409


RE: Get rid of the "x has joined Spectators" message - TheUltraFish - 08-23-2021

(08-23-2021, 06:16 AM)Here lies Eggroll's reputation. Wrote:
(08-22-2021, 08:59 PM)TheUltraFish Wrote: I like this, the way things were originally set up. The announcement worked out fine but when we made it so that only staff can join spectator, it has worn out its use. Makes sense to have it removed since we now know for sure that only staff can join spectator with the added code from Russ. I will talk and see if Dink would be interested in adding this.
Awesome! Hopefully he can add this in along with timed muted and gags :eyes: whoops my finger slipped- https://steamcommunity.com/sharedfiles/filedetails/?id=2414183409


I've talked about it with Dink more than once with your "WhOoPs My FiNgEr SlIpPeD", keep the thread on topic please.