[This is preliminary documentation and is subject to change.]

Freezes this player (prevents from moving, building, and from using most commands). Throws PlayerOpException on problems.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)

Syntax

   
 C# 
public void Freeze(
	Player player,
	bool announce,
	bool raiseEvents
)

Parameters

player
Player
Player who is doing the freezing.
announce
Boolean
Whether to announce freezing publicly on the server.
raiseEvents
Boolean
Whether to raise PlayerInfo.FreezeChanging and PlayerInfo.FreezeChanged events.

See Also