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

Checks whether a command name is acceptable. Constraints are similar to Player.IsValidName, except for length. Command names must bet between 1 and 16 characters long.

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

Syntax

   
 C# 
public static bool IsValidCommandName(
	string name
)

Parameters

name
String
Command name to check.

Return Value

True if the given name is valid; otherwise false.

Exceptions

ExceptionCondition
System..::..ArgumentNullException name is null.

See Also