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

why its not reading?

Discussion in 'Development' started by Doxestic, Mar 21, 2020.

  1. Doxestic

    Doxestic Spider Jockey

    Messages:
    41
    its the code (i only want to practice =|):
    PHP:
    <?php

    namespace sigar;

    use 
    pocketmine\server;
    use 
    pocketmine\player;
    use 
    pocketmine\plugin\pluginbase;

    class 
    main extends pluginbase{
        
        public function 
    onload(){
            
    $this->getlogger()->info("hi");
        }
        public function 
    onenable(){
            
    $this->getServer()->getPluginManager()->registerEvents(new ExampleListener($this), $this);
            
    $this->getScheduler()->scheduleRepeatingTask(new BroadcastTask($this->getServer()), 120);
            
    $this->getlogger()->info("hi");
        }
    }
    //why its not reading? =|
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Because the correct capitalisation matters
     
    jasonwynn10 likes this.
  3. tungstenvm

    tungstenvm Witch

    Messages:
    54
    because your server doesnt smoke cigarrete
     
  4. iBa4x

    iBa4x Spider Jockey

    Messages:
    32
    GitHub:
    iBa4x
    You see, the server relax give him cigarrete :'D
     
  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.