public function onPodiumStart($time)
    {
        $jbMap = $this->jukeboxService->getFirst();
        if ($jbMap) {
            $length = count($this->jukeboxService->getMapQueue());
            $this->chatNotification->sendMessage('expansion_jukebox.chat.nextjbmap', null, [
                "%mapname%" => $jbMap->getMap()->name,
                "%mapauthor%" => $jbMap->getMap()->author,
                "%nickname%" => $jbMap->getPlayer()->getNickName(),
                "%length%" => $length,
            ]);
        } else {
            $map = $this->mapStorage->getNextMap();
            $this->chatNotification->sendMessage('expansion_jukebox.chat.nextmap', null, [
                "%name%" => $map->name,
                "%author%" => $map->author,
            ]);
        }
    }
public function onPodiumStart($time)
    {
        $jbMap = $this->jukeboxService->getFirst();
        if ($jbMap) {
            $length = count($this->jukeboxService->getMapQueue());
            $this->chatNotification->sendMessage('expansion_jukebox.chat.nextjbmap', null, [
                "%mapname%" => $jbMap->getMap()->name,
                "%mapauthor%" => $jbMap->getMap()->author,
                "%nickname%" => $jbMap->getPlayer()->getNickName(),
                "%length%" => $length,
            ]);
        } else {
            $map = $this->mapStorage->getNextMap();
            $this->chatNotification->sendMessage('expansion_jukebox.chat.nextmap', null, [
                "%name%" => $map->name,
                "%author%" => $map->author,
            ]);
        }
    }
public function onPodiumStart ( $ time ) { $ jbMap = $ this -> jukeboxService -> getFirst ( ) ; if ( $ jbMap ) { $ length = count ( $ this -> jukeboxService -> getMapQueue ( ) ) ; $ this -> chatNotification -> sendMessage ( 'expansion_jukebox.chat.nextjbmap' , null , [ "%mapname%" => $ jbMap -> getMap ( ) -> name , "%mapauthor%" => $ jbMap -> getMap ( ) -> author , "%nickname%" => $ jbMap -> getPlayer ( ) -> getNickName ( ) , "%length%" => $ length , ] ) ; } else { $ map = $ this -> mapStorage -> getNextMap ( ) ; $ this -> chatNotification -> sendMessage ( 'expansion_jukebox.chat.nextmap' , null , [ "%name%" => $ map -> name , "%author%" => $ map -> author , ] ) ; } }
Callback sent when the "onPodiumStart" section start.

@param int $time Server time when the callback was sent
@return mixed
Callback sent when the onPodiumStart section start .