# isStreamerMode (Client)

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

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: Player environment
- **URL**: https://wiki.mymp.gg/en/isStreamerMode

## Syntax

```lua
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

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

## See also

- [onClientStreamerModeChange (Client)](https://wiki.mymp.gg/en/onClientStreamerModeChange.md): Fired when streamer mode turns on or off.
- [getServerIp (Client)](https://wiki.mymp.gg/en/getServerIp-client.md): Returns the address of the server this client is connected to.
- [getConvar (Shared)](https://wiki.mymp.gg/en/getConvar.md): Reads a convar as text. On a client, a convar the server syncs comes before the client's own.
