Class Command
Namespace: ManiaLive\Features\ChatCommand
Located at libraries/ManiaLive/Features/ChatCommand/Command.php
Located at libraries/ManiaLive/Features/ChatCommand/Command.php
public
|
public
string
|
$name |
|
#
The name of the command |
public
integer
|
$parametersCount |
|
#
The number of argument to use the command |
public
array
|
$authorizedLogin |
|
#
The list of logins allowed to use this command |
public
boolean
|
$addLoginAsFirstParameter |
|
#
Set to true to have the login as First parameter. This parameter is not included int the number of parametersCount |
public
callable
|
$callback |
|
#
The method call when the command is used |
public
boolean
|
$log | true |
#
Log the usage of this command |
public
boolean
|
$isPublic | false |
#
Set this parameter to true if you want this command visible with the /help command |
public
string
|
$help |
|
#
Put here a text which will be display with the /man command to help the user or give hime more details about the command |