<syntaxhighlight lang="c#">
private void OnPlayerJoin(IServerPlayer byPlayer) { BlockPos plrpos = byPlayer.Entity.Pos.AsBlockPos;