Skip to content
English

Instancing

Server Side

Create Instance

Create a player instance

ParameterDescription
idThe id of the instance (usually an integer)
tsrcThe player source, if nil, it will use the source enacting the instance

FeatherCore.Instance.create(id, playersource)

Example Usage:

lua
FeatherCore.Instance.create(id)

-- OR

FeatherCore.Instance.create(id, source)
FeatherCore.Instance.create(id)

-- OR

FeatherCore.Instance.create(id, source)

Leave Instance Server Side Only

Leave a player instance

ParameterDescription
idThe id of the instance (usually an integer)
tsrcThe player source, if nil, it will use the source enacting the instance

FeatherCore.Instance.Leave(id, playersource)

Example Usage:

lua
FeatherCore.Instance.Leave(id)

-- OR

FeatherCore.Instance.Leave(id, source)
FeatherCore.Instance.Leave(id)

-- OR

FeatherCore.Instance.Leave(id, source)

Get players in instance Server Side Only

get all players in an instance

ParameterDescription
idThe id of the instance (usually an integer)

FeatherCore.Instance.getInstanceCharacters(id)

Example Usage:

lua
FeatherCore.Instance.getInstanceCharacters(id)
FeatherCore.Instance.getInstanceCharacters(id)

Client Side

TBD