Property | Type | Description |
---|
Method | Description | |
---|---|---|
Call ( [ player, [ cmd, bool raiseEvent ) : bool |
Calls this command.
|
|
CanBeCalledBy ( [ rank ) : bool |
Checks whether this command may be called by players of a given rank.
|
|
IsVisibleTo ( [ rank ) : bool |
Checks whether players of the given rank should see this command in /cmds list. Takes permissions and the hidden flag into account.
|
|
PrintHelpSection ( |
Prints a command HelpSection syntax to the given player. If that fails, it will print the usage instead
|
|
PrintUsage ( [ player ) : void |
Prints command usage syntax to the given player.
|
|
ToString ( ) : string |
public Call ( [ player, [ cmd, bool raiseEvent ) : bool | ||
player | [ | Player who called the command. |
cmd | [ | Command arguments. |
raiseEvent | bool | Whether CommandCalling and CommandCalled events should be raised. |
return | bool |
public PrintHelpSection ( |
||
player | ||
sectionName | string | |
return | void |