Constants

ID

ID

VERSION

VERSION

NAME

NAME

AUTHOR

AUTHOR

SETTING_POINT_LIMIT_MULTIPLIER

SETTING_POINT_LIMIT_MULTIPLIER

SETTING_POINT_LIMIT_OFFSET

SETTING_POINT_LIMIT_OFFSET

SETTING_MIN_POINT_LIMIT

SETTING_MIN_POINT_LIMIT

SETTING_MAX_POINT_LIMIT

SETTING_MAX_POINT_LIMIT

SETTING_ACCEPT_OTHER_MODES

SETTING_ACCEPT_OTHER_MODES

CACHE_SPEC_STATUS

CACHE_SPEC_STATUS

SCRIPT_SETTING_MAP_POINTS_LIMIT

SCRIPT_SETTING_MAP_POINTS_LIMIT

Properties

$lastPointLimit

$lastPointLimit : 

Type

$staticMode

$staticMode : 

Type

Methods

prepare()

prepare(\ManiaControl\ManiaControl  $maniaControl) 

Prepare the Plugin

Parameters

\ManiaControl\ManiaControl $maniaControl

getId()

getId() : integer

Get plugin id

Returns

integer

getName()

getName() : string

Get Plugin Name

Returns

string

getVersion()

getVersion() : string

Get Plugin Version

Returns

string

getAuthor()

getAuthor() : string

Get Plugin Author

Returns

string

getDescription()

getDescription() : string

Get Plugin Description

Returns

string

load()

load(\ManiaControl\ManiaControl  $maniaControl) : boolean

Load the plugin

Parameters

\ManiaControl\ManiaControl $maniaControl

Returns

boolean

updatePointLimit()

updatePointLimit() 

Update Point Limit

commandSetPointlimit()

commandSetPointlimit(array  $chatCallback, \ManiaControl\Players\Player  $player) 

Handle SetPointLimit Command

Parameters

array $chatCallback
\ManiaControl\Players\Player $player

unload()

unload() 

Unload the plugin and its Resources

handleSettingChangedCallback()

handleSettingChangedCallback(\ManiaControl\Settings\Setting  $setting) 

Handle Setting Changed Callback

Parameters

\ManiaControl\Settings\Setting $setting

handleBeginMap()

handleBeginMap() 

Handle BeginMap Callback

handlePlayerInfoChangedCallback()

handlePlayerInfoChangedCallback(\ManiaControl\Players\Player  $player) 

Handle Player Info Changed Callback

Parameters

\ManiaControl\Players\Player $player