Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

JoinStep

The step onPlayerJoin and onPlayerReady receive: it reaches the joining player and each entity her join spawns, and nothing else, so a refused join takes back all of it and leaves the world as it was. spawn(step, prefab) takes it, and so does every call that takes an EntityAuthority, such as destroy and attach, each for the player or an entity her join spawned; a call that takes an Authority, such as kick or dealDamage, fails to typecheck, and every other authority over the world is refused while her join runs. She adds her own traits with koota’s player.add. Unreal’s PostLogin and Roblox’s PlayerAdded hand over the whole server; here a join that fails can be undone.

Property Modifier Type Description
[entityAuthorityBrand] readonly true -
[joinStepBrand] readonly true -
authoritative readonly true True: a join runs on the world that decides outcomes.
tick readonly number The tick her join runs on: the next the world steps.
world readonly World The world she joins, for reads: the step reaches only what the join makes.