Open Asterune
NetworkSettings

NetworkSettings

Configures connection, bandwidth, and replication defaults.

Service
game:GetService("NetworkSettings")
Inherits
Instance
Replication
Never

Behavior

NetworkSettings configures connection, bandwidth, and replication defaults.

Summary

Members9
Properties7
Methods2

Properties

ConnectionTimeout

NetworkSettings.ConnectionTimeout: number = 10

The time allowed without a valid connection response before timing out.

DefaultBandwidthBudget

NetworkSettings.DefaultBandwidthBudget: number = 0

The default bandwidth budget assigned to a connection.

DefaultTransport

NetworkSettings.DefaultTransport: string = "Auto"

The transport selected for new connections.

JoinInProgress

NetworkSettings.JoinInProgress: boolean = true

Whether players can join an already running session.

KeepaliveInterval

NetworkSettings.KeepaliveInterval: number = 1

The interval between connection keepalive messages.

MaxPlayersDefault

NetworkSettings.MaxPlayersDefault: number = 16

The default player limit for new sessions.

ReplicationRate

NetworkSettings.ReplicationRate: number = 20

The configured frequency of replication updates.

Methods

GetExecutionGroup

NetworkSettings:GetExecutionGroup(): ExecutionGroup?

Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.

GetMutability

NetworkSettings:GetMutability(property: string): string

Returns the runtime mutability category of the named network setting.

Inherited members

Inherited47

Instance