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

Registers a custom command with fCraft. Raises CommandManager.CommandRegistering/CommandRegistered events.

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

Syntax

   
 C# 
public static void RegisterCustomCommand(
	CommandDescriptor descriptor
)

Parameters

descriptor
CommandDescriptor
Command descriptor to register. May not be null.

Exceptions

ExceptionCondition
System..::..ArgumentNullException If descriptor is null.
fCraft..::..CommandRegistrationException If command could not be registered.

See Also