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

Unbans a player. Throws PlayerOpException on problems.

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

Syntax

   
 C# 
public void Unban(
	Player player,
	string reason,
	bool announce,
	bool raiseEvents
)

Parameters

player
Player
Player who is unbanning.
reason
String
Reason for unban. May be empty, if permitted by server configuration.
announce
Boolean
Whether unban should be publicly announced on the server.
raiseEvents
Boolean
Whether BanChanging and BanChanged events should be raised.

Exceptions

See Also