JoinStep
The step onPlayerJoin and onPlayerReady receive: it reaches the
joining player and each entity the player’s 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 the player’s 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 the player’s
join runs. You add the player’s 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.
Extends
Section titled “Extends”Properties
Section titled “Properties”| 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 the player’s join runs on: the next the world steps. |
world |
readonly |
World |
The world the player joins, to read: the step reaches only what the join makes, and writes through itself. |