Constants

ACTION_BALANCE_TEAMS

ACTION_BALANCE_TEAMS

ACTION_OPEN_PLAYERLIST

ACTION_OPEN_PLAYERLIST

SETTING_PERMISSION_ADD_BOT

SETTING_PERMISSION_ADD_BOT

SETTING_PERMISSION_TEAM_BALANCE

SETTING_PERMISSION_TEAM_BALANCE

Properties

Methods

__construct()

__construct(\ManiaControl\ManiaControl  $maniaControl) 

Create a new Player Commands Instance

Parameters

\ManiaControl\ManiaControl $maniaControl

teamStatusChanged()

teamStatusChanged(boolean  $teamMode) 

Handle TeamStatusChanged

Parameters

boolean $teamMode

command_TeamBalance()

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

Handle //teambalance command

Parameters

array $chatCallback
\ManiaControl\Players\Player $player

command_Kick()

command_Kick(array  $chat, \ManiaControl\Players\Player  $player) 

Handle //kick command

Parameters

array $chat
\ManiaControl\Players\Player $player

command_Ban()

command_Ban(array  $chat, \ManiaControl\Players\Player  $player) 

Handle //ban command

Parameters

array $chat
\ManiaControl\Players\Player $player

command_UnBan()

command_UnBan(array  $chat, \ManiaControl\Players\Player  $player) 

Handle //unban command

Parameters

array $chat
\ManiaControl\Players\Player $player

command_Warn()

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

Handle //warn Command

Parameters

array $chatCallback
\ManiaControl\Players\Player $player

command_ForceSpectator()

command_ForceSpectator(array  $chat, \ManiaControl\Players\Player  $player) 

Handle //forcespec command

Parameters

array $chat
\ManiaControl\Players\Player $player

command_ForcePlay()

command_ForcePlay(array  $chat, \ManiaControl\Players\Player  $player) 

Handle //forceplay command

Parameters

array $chat
\ManiaControl\Players\Player $player

command_ForceBlue()

command_ForceBlue(array  $chat, \ManiaControl\Players\Player  $player) 

Handle //forceblue command

Parameters

array $chat
\ManiaControl\Players\Player $player

command_ForceRed()

command_ForceRed(array  $chat, \ManiaControl\Players\Player  $player) 

Handle //forcered command

Parameters

array $chat
\ManiaControl\Players\Player $player

command_AddFakePlayers()

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

Handle //addfakeplayers command

Parameters

array $chatCallback
\ManiaControl\Players\Player $player

command_RemoveFakePlayers()

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

Handle //removefakeplayers command

Parameters

array $chatCallback
\ManiaControl\Players\Player $player

command_MutePlayer()

command_MutePlayer(array  $chatCallback, \ManiaControl\Players\Player  $admin) 

Handle //mute Command

Parameters

array $chatCallback
\ManiaControl\Players\Player $admin

command_UnmutePlayer()

command_UnmutePlayer(array  $chatCallback, \ManiaControl\Players\Player  $admin) 

Handle //unmute Command

Parameters

array $chatCallback
\ManiaControl\Players\Player $admin

command_playerList()

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

Handle Player list command

Parameters

array $chatCallback
\ManiaControl\Players\Player $player