How i can set the time always to day? Should i make this with a scheduler, and the scheduler sets the time every second to day? Can anyone help me? Thanks!
https://forums.pocketmine.net/plugins/realtime.432/ /rt lock day NOTE: you'll have to lock time for each world and make sure to run command /time set 0 before doing the /rt lock day
PHP: $worldname = "world";if (!$this->getServer()->isLevelLoaded($worldname)){ $this->getServer()->loadLevel($worldname);}$level = $this->getServer()->getLevelByName($worldname);$level->setTime(0);$level->stopTime();