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

Unbans given player, their IP address, and all other accounts on IP. Throws PlayerOpException on problems.

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

Syntax

   
 C# 
public void UnbanAll(
	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 RemovingIPBan, RemovedIPBan, BanChanging, and BanChanged events should be raised.

Exceptions

See Also