When you stand in a certain position, money is add to you on time, tell me how to organize this function?
ok so two things are needed for this a movement detector (easy) task(medium) i would use something like these for testing at a certain block or position (ill be doing block!) PHP: public function onmove(PlayerMoveEvent $e) { $regx = $e->getPlayer()->getFloorX(); $blockx = $regx - 1; $block = $player->getLevel()->getBlock($blockx); if ($block->getId() === (ID OF THE BLOCK U WANT) { (RUN YOUR TASK HERE WITH THE PLAYER) }} then the task ill work on later cause im not really feeling up to doing tasks at the moment ,but thats what i use for what ur asking for.