Skip to main content

Server

RegisterDirectory(directory)

Requires all module scripts in a directory when server starts. Can only be called before server has started.

Parameters:

  • Directory: Instance
const Server = CreateServer();
Server.RegisterDirectory(ReplicatedStorage.TS.statusEffects)

Start()

Starts the handler.

const Server = CreateServer();
Server.Start();

IsActive()

Returns true if the server has started.

Returns:

  • boolean
const Server = CreateServer();
Server.IsActive();