IServerAdmin

csharp
public interface IServerAdmin

Namespace NodeWorld.SDK.Shared.

What a server's administration can do to its players.

Methods

KickPlayer

csharp
void KickPlayer(uint playerId, string reason)

Disconnects the player playerId, telling them reason.

SendSystemMessage

csharp
void SendSystemMessage(uint playerId, string message)

Shows message to the player playerId.

TeleportPlayer

csharp
void TeleportPlayer(uint playerId, Vector3 position, Quaternion rotation)

Moves the player playerId.