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

Unbans given player and their IP address. Throws PlayerOpException on problems.

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

Syntax

   
 C# 
public void UnbanIP(
	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