/** * @param int $currentTick */ public function onRun($currentTick) { $this->plugin->broadcastTip(Utils::getRandom($this->plugin->getConfig()->getNested("tip.autoMessages"))); }
/** * @param int $currentTick */ public function onRun($currentTick) { $this->plugin->getServer()->broadcastMessage(Utils::getRandom($this->plugin->getConfig()->getNested("message.messages"))); }