M MY Multiplayer: Wiki
Side
Kind

isStreamerMode

Client

Tells whether streamer mode is on. In it, the console masks every IPv4 address it shows.

bool isStreamerMode()

Returns

true if streamer mode is on.

The launcher turns streamer mode on from the profile menu, or by itself while a broadcasting app is open. It is kept in the streamer_mode convar. Hide whatever your resource shows that should not appear on a stream as well.

Example

local function serverLabel()
    if isStreamerMode() then
        return "hidden"
    end
    return getServerIp(true)
end

See also