Loading function...

Please make sure JavaScript is enabled. Otherwise you will be unable to see the function documentation.

Attempt to connect to a server given an Address and return if the prompt was successfully brought up.

This function is primarily meant for creating a server browser.

Arguments

Results

Disconnect from the current server and return if there was a server to disconnect from.

This function is primarily meant for creating a server browser.

Arguments

None.

Results

Return a table of all the servers listed in the user's DSL config under list_server.

This function is primarily meant for creating a server browser.

Arguments

None.

Results

Returns true if networking is enabled in the user's DSL config.

Arguments

None.

Results

Request listing information for a server and return if it was successfully requested. If a response is received, a ServerListing event will be fired.

This function is primarily meant for creating a server browser.

Arguments

Results

Send Lua data over the network. This function should usually only be used in server scripts and client scripts sent by a server.

On the client, data is sent to the server and there is no Player argument (just start passing data immediately).

On the server, data is sent to a specific Player or sent to all players by using -1.

The same restrictions apply here as with PackTable.

Arguments

Results

None.