Roblox API Reference

NetworkServer On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotCreatable, Service, NotReplicated]

Inherits (2)

Member index (1)

Type Member History
string EncryptStringForPlayerId (string toEncrypt, int64 playerId) 452
1 member inherited from NetworkPeer
57 members inherited from Instance

Removed member index (11)

Type Member History
int Port 438
void ConfigureAsCloudEditServer () 223 222 223 310
void ConfigureAsTeamTestServer () 240 310
int GetClientCount () 419
void SetGameId (string newGameId) 138 139
void SetIsPlayerAuthenticationRequired (bool value) 310
void Start (int port = 0, int threadSleepTime = 20) 150 151 311
void Stop (int blockDuration = 1000) 310
DataBasicFiltered (Instance peer, FilterResult result, Instance instance, string member) 59 58 59 79 78 79 310
DataCustomFiltered (Instance peer, FilterResult result, Instance instance, string member) 59 58 59 79 78 79 310
IncommingConnection (string peer, Instance replicator) 51 310

History

Members

EncryptStringForPlayerId On DevHub

Name Type Default
toEncrypt string none
playerId int64 none

History

Removed members

ConfigureAsCloudEditServer

Name Type Default
No parameters.

History

ConfigureAsTeamTestServer

Name Type Default
No parameters.

History

DataBasicFiltered

Name Type Default
peer Instance none
result FilterResult none
instance Instance none
member string none

History

DataCustomFiltered

Name Type Default
peer Instance none
result FilterResult none
instance Instance none
member string none

History

GetClientCount

Name Type Default
No parameters.

History

IncommingConnection

Name Type Default
peer string none
replicator Instance none

History

Port

This property is read-only. Its value can be read, but it cannot be modified.
This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [ReadOnly, NotReplicated]

SetGameId

Name Type Default
newGameId string none

History

SetIsPlayerAuthenticationRequired

Name Type Default
value bool none

History

Start

Name Type Default
port int 0
threadSleepTime int 20

History

Stop

Name Type Default
blockDuration int 1000

History