/** * @param Loader $plugin * @param Player $player * @param bool $mode */ public function __construct(Loader $plugin, Player $player, $mode) { parent::__construct($plugin); $this->player = $player; $this->isFlying = $plugin->canFly($player); $this->mode = $mode; }
/** * @param Loader $plugin * @param Player $player * @param array $values */ public function __construct(Loader $plugin, Player $player, array $values) { parent::__construct($plugin); $this->plugin = $plugin; $this->player = $player; $this->values = $values; }
public function __construct(Plugin $plugin, RPGPlayer $player, Status $oldArmorStatus, Status $newArmorStatus) { parent::__construct($plugin); $this->player = $player; $this->oldArmorStatus = $oldArmorStatus; $this->newArmorStatus = $newArmorStatus; }
public function __construct(VoteRanks $plugin, Player $player, $newRank, $message) { parent::__construct($plugin); $this->player = $player; $this->newRank = $newRank; $this->message = $message; }
/** * @param PurePerms $plugin * @param IPlayer $player * @param PPGroup $group * @param $levelName */ public function __construct(PurePerms $plugin, IPlayer $player, PPGroup $group, $levelName) { parent::__construct($plugin); $this->group = $group; $this->player = $player; $this->levelName = $levelName; }
public function __construct(TimeRanks $plugin, $playerName, Rank $oldRank, Rank $newRank) { parent::__construct($plugin); $this->playerName = $playerName; $this->oldRank = $oldRank; $this->newRank = $newRank; }
public function __construct(Plugin $plugin, RPGPlayer $player, $investedStat, $investedSkill = null) { parent::__construct($plugin); $this->investedStat = $investedStat; $this->investedSkill = $investedSkill; $this->player = $player; }
public function __construct(GameGenius $plugin, $isInitialZombie, $isNoTouchInfection, $playerName) { parent::__construct($plugin); $this->isInitialZombie = $isInitialZombie; $this->isNoTouchInfection = $isNoTouchInfection; $this->playerName = $playerName; }
public function __construct(GameGenius $plugin, $gameId, $zombieCount, $humanCount) { parent::__construct($plugin); $this->gameId = $gameId; $this->zombieCount = $zombieCount; $this->humanCount = $humanCount; }
public function __construct(ColorMatch $plugin, Arena $arena, $oldColor, $newColor) { parent::__construct($plugin); $this->arena = $arena; $this->newColor = $newColor; $this->oldColor = $oldColor; }
public function __construct(Plugin $plugin, RPGPlayer $player, $oldXp, $newXp) { parent::__construct($plugin); $this->player = $player; $this->oldXp = $oldXp; $this->newXp = $newXp; }
/** * @param Loader $plugin * @param Player $player * @param bool $mode */ public function __construct(Loader $plugin, Player $player, $mode) { parent::__construct($plugin); $this->player = $player; $this->isEnabled = $plugin->isPvPEnabled($player); $this->mode = $mode; }
/** * @param Loader $plugin * @param Player $player * @param bool $mode * @param \DateTime $expires */ public function __construct(Loader $plugin, Player $player, $mode, \DateTime $expires = null) { parent::__construct($plugin); $this->player = $player; $this->isMuted = $plugin->isMuted($player); $this->mode = $mode; $this->expires = $expires; }
/** * @param Loader $plugin * @param BaseAPI::class $api */ public function __construct(Loader $plugin, $api) { parent::__construct($plugin); if (!is_a($api, BaseAPI::class, true)) { throw new \RuntimeException("Class {$api} must extend " . BaseAPI::class); } $this->class = BaseAPI::class; }
/** * @param Loader $plugin * @param Player $player * @param bool $mode * @param bool $broadcast */ public function __construct(Loader $plugin, Player $player, $mode, $broadcast) { parent::__construct($plugin); $this->player = $player; $this->isAFK = $plugin->isAFK($player); $this->mode = $mode; $this->broadcast = $broadcast; }
/** * @param Loader $plugin * @param Player $player * @param bool $willVanish * @param bool $noPacket */ public function __construct(Loader $plugin, Player $player, $willVanish, $noPacket) { parent::__construct($plugin); $this->player = $player; $this->isVanished = $plugin->isVanished($player); $this->willVanish = $willVanish; $this->noPacket = $noPacket; }
public function __construct(GameGenius $plugin, $gameId, array $winner, $winTeam, $score) { parent::__construct($plugin); $this->gameId = $gameId; $this->winner = $winner; $this->winTeam = $winTeam; $this->score = $score; }
/** * @param Plugin $plugin * @param Player $player * @param Block $block * @param Item $item * @param string $type * @param int $cost */ public function __construct(Plugin $plugin, Player $player, Block $block, Item $item, $type, $cost) { parent::__construct($plugin); $this->player = $player; $this->block = $block; $this->item = $item; $this->type = $type; $this->cost = $cost; }
/** * @param Loader $plugin * @param Player $player * @param string $new_nick * @param mixed $nametag */ public function __construct(Loader $plugin, Player $player, $new_nick, $nametag = false) { parent::__construct($plugin); $this->player = $player; $this->new_nick = $new_nick; $this->old_nick = $player->getDisplayName(); if ($nametag === false) { $this->nametag = $new_nick; } else { $this->nametag = $nametag; } }
/** * * @param EmailAuth $plugin */ public function __construct(EmailAuth $plugin) { parent::__construct($plugin); }
public function __construct(PocketMoney $plugin) { parent::__construct($plugin); }
public function __construct(HereAuth $main) { parent::__construct($main); }
/** * @param Plugin $plugin */ public function __construct(Plugin $plugin) { parent::__construct($plugin); }
public function __construct(XcelGame $game) { parent::__construct(XcelNgien::getInstance()); $this->game = $game; }
/** * @param \xbeastmode\arrowtp\ArrowTP */ public function __construct(ArrowTP $plugin) { parent::__construct($plugin); }
/** * @param BaseAPI $api */ public function __construct(BaseAPI $api) { parent::__construct($api->getEssentialsPEPlugin()); $this->api = $api; }
public function __construct(EconomyAPI $plugin, $issuer) { parent::__construct($plugin); $this->issuer = $issuer; }
public function __construct(Plugin $plugin, RPGPlayer $player) { parent::__construct($plugin); $this->player = $player; }
/** * * @param UUIDAuth $plugin */ public function __construct(UUIDAuth $plugin) { parent::__construct($plugin); }
/** * @param RestartMe $plugin * @param int $oldTime * @param int $newTime */ public function __construct(RestartMe $plugin, $oldTime, $newTime) { parent::__construct($plugin); $this->oldTime = (int) $oldTime; $this->newTime = (int) $newTime; }