1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Join full server

Discussion in 'Development' started by bySentixPE, May 25, 2018.

  1. bySentixPE

    bySentixPE Spider Jockey

    Messages:
    37
    How do I query if the server is full so if all slots are busy?
     
  2. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    PHP:
         public function onPlayerKick(PlayerKickEvent $event){
            if(
    $event->getReason() === "disconnectionScreen.serverFull"){
                
    $event->setCancelled(true);
            }
        } 
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.