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

Plugin task error

Discussion in 'Help' started by Mochi, Apr 16, 2019.

  1. Mochi

    Mochi Baby Zombie

    Messages:
    113
    Code:
    class MLGRushTask extends PluginTask {
        public $cfg;
        public $prefix = '§1TheBridge §8| §7';
    
     public function construct($plugin)
    {
         $this->plugin = $plugin;
         parent::construct($plugin);
    }
     

    Attached Files:

  2. Mochi

    Mochi Baby Zombie

    Messages:
    113
  3. ZackyVN

    ZackyVN Baby Zombie

    Messages:
    150
    Your plugin are most likely outdated. Please contact the developer to update it.
    Btw here is the code.
    PHP:

    use pocketmine\scheduler\Task;
    class 
    MLGRushTask extends Task {

        public 
    $cfg;
        public 
    $prefix '§1TheBridge §8| §7';

        public function 
    __construct(Main $plugin){
            
    $this->plugin $plugin;
        }
     
    Last edited: Apr 16, 2019
  4. Mochi

    Mochi Baby Zombie

    Messages:
    113
  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.