PlayerJoinHook
PlayerJoinHook = (
step,player,context) =>void
A plugin’s onPlayerJoin: the player entity is made, and her save has
not restored yet, so what a hook adds is a default her save overwrites.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
step |
JoinStep |
player |
PlayerEntity |
context |
PlayerJoinContext |
Returns
Section titled “Returns”void