public function call() { DebugUtils::taskRegistered($this); $this->data["action"] = Actions::COMMANDS; $this->data["do"] = Actions::DO_REMOVE; $this->getScheduler()->scheduleRepeatingTask($this, 20); }
/** * */ public function call() { DebugUtils::taskRegistered($this); $this->getScheduler()->scheduleAsyncTask($this); }
public function call() { DebugUtils::taskRegistered($this); $this->getOwner()->getServer()->getPluginManager()->registerEvents($this, $this->getOwner()); $this->handler = $this->getOwner()->getServer()->getScheduler()->scheduleRepeatingTask($this, 40); }