NetworkPeer

Show Deprecated
Not Creatable
Not Browsable

The NetworkPeer object is the most basic class of the network objects.

Properties

Methods

SetOutgoingKBPSLimit

void
Plugin Security

Sets the maximum outgoing bandwidth that Roblox can use.

Parameters

limit: number

Returns

void

Code Samples

The following code, when ran from the command bar or a plugin, would limit bandwidth to 1KBPS.

NetworkPeer:SetOutgoingKBPSLimit

local NetworkClient = game:GetService("NetworkClient")
NetworkClient:SetOutgoingKBPSLimit(1)

Events