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

Help Me Fix! Crash contents

Comments in 'Plugin Development' started by PalkiaDudeYT, Sep 26, 2015.

  1. PalkiaDudeYT
    Offline

    PalkiaDudeYT New Member

    Joined:
    Aug 30, 2015
    Posts:
    33
    Minecraft User:
    PalkiaDude
    I need help with fixing the onCommand thing and heres my crash log:

    PocketMine-MP Crash Dump Sat Sep 26 17:33:03 UTC 2015

    Error: Declaration of PalkiaDude\DeadEnd\Main::eek:nCommand() must be compatible with pocketmine\command\CommandExecutor::eek:nCommand(pocketmine\command\CommandSender $sender, pocketmine\command\Command $command, $label, array $args)
    File: /phar_DeadEnd-master_OHcTWBSAhC1cXPR.phar/src/PalkiaDude/DeadEnd/Main
    Line: 13
    Type: E_COMPILE_ERROR

    THIS CRASH WAS CAUSED BY A PLUGIN

    Code:
    [4] use pocketmine\plugin\PluginBase;
    [5] use pocketmine\event\Listener;
    [6] use pocketmine\utils\TextFormat;
    [7] use pocketmine\math\Vector3;
    [8] use pocketmine\block\Block;
    [9] use pocketmine\event\player\PlayerMoveEvent;
    [10] use pocketmine\Player;
    [11] use pocketmine\plugin\Plugin;
    [12] use pocketmine\level\Position;
    [13] class Main extends PluginBase implements Listener{
    [14]
    [15] public function onEnable(){
    [16] $this->getServer()->getPluginManager()->registerEvents($this, $this);
    [17] $this->getLogger()->info(TextFormat::GREEN . "Dead-End Minigame by PalkiaDude!");
    [18] }
    [19] public function onCommand(CommandSender $sender, Command $command, $label,array $args){
    [20] if(strtolower($command->getName()) ==="setArenaWorld"){
    [21] if($sender->getLevel()->getFolderName()==="world"&&$cmd->getName()->$command);
    [22] }
    [23] }

    Backtrace:
    #0 (): pocketmine\Server->crashDump(boolean)

    PocketMine-MP version: 1.6dev #30 [Protocol 34; API 1.13.0]
    Git commit: 0000000000000000000000000000000000000000
    uname -a: Linux localhost 3.4.0-3215177 #1 SMP PREEMPT Thu Nov 6 17:48:34 KST 2014 armv7l
    PHP Version: 5.6.2
    Zend version: 2.6.0
    OS : Linux, android

    Loaded plugins:
    SimpleAuth 1.7.1 by PocketMine Team, shoghicp for API(s) 1.12.0
    Slapper 1.2.5 by jojoe77777 for API(s) 1.12.0
    PurePerms 1.1.12 by 64FF00 for API(s) 1.13.0
    ManyWorlds 2.0.2 by aliuly for API(s) 1.10.0
    DevTools 1.10.0 by PocketMine Team for API(s) 1.3.1
    FastTransfer 1.0.2 by shoghicp for API(s) 1.12.0
    SwaggyArmor 1 by for API(s) 1.0.0
    AllServers 1.2 by hoyinm14mc for API(s) 1.12.0
    xyz 1.0.1 by unerds for API(s) 1.0.0
    EconomyAPI 2.0.8 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1
    EconomyAuction 2.0.2 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1
    EconomyCasino 2.0.2 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1
    EconomyJob 2.0.4 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1
    EconomyLand 2.0.8 by onebone for API(s) 1.12.0
    EconomyProperty 2.0.5 by onebone for API(s) 1.12.0
    EconomySell 2.0.6 by onebone for API(s) 1.12.0
    EconomyShop 2.0.6 by onebone for API(s) 1.12.0
    EconomyTax 2.0.3 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1
    EconomyUsury 1.0.1 by onebone for API(s) 1.12.0
    1vs1 0.0.3 by for API(s) 1.0.0, 1.1.0
    WorldProtect 2.2.0 by aliuly for API(s) 1.10.0, 1.12.0
    VIPSlots 0.0.4 by iJoshuaHD for API(s) 1.12.0
    ColorMatch 1.1.2 by CreeperFace for API(s) 1.12.0
    WorldEditArt 1.0.0_beta_dev_#048 by PEMapModder for API(s) 1.0.0
    FootBlock 1.0.0 by Sean_M for API(s) 1.0.0

    ----------------------REPORT THE DATA BELOW THIS LINE-----------------------

    ===BEGIN CRASH DUMP===
    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VXz6eA0CWRWD9jfI5ZXRRZVF4swyumtbJDu2/c7
    Fnla3V3G9fcVvNc+XMOkD6b6jQS9XRDP7VluNRk14SbNawS5JIaCBtzp5BXvSt9TH7VcvXYDwPz7
    FvdNHNK7GH1CLjx6yjXoHfaG+PrsJfS2GB4PlTwMgsPD4cnxUX/UO5InvcFAjuYncng8GvVP5oNR
    T4ln2GmyIrFULzWm2oT3tdBds+4m9AnoW7VwnSZGeb8TdbjwJSrVEbbtLY6P/eOTk6PDQ2w9fD4Y
    qmFv/vz4eRDwfmYV61qEhh3LbCMNrfAxOde3KkGeyaqR90reIiJYQfHbZhvJD0n4hx1kBmFqrwad
    UeuPP/4Xb5PMgw==
    ===END CRASH DUMP===
  2. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    You need to import ConsoleSender and Command
    Taha_The_Hacker likes this.
  3. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    PHP:
    public function onCommand(CommandSender $senderCommand $cmd$label, array $args) {}
  4. CraftYourBukkit
    Offline

    CraftYourBukkit Notable Member Plugin Developer

    Joined:
    Jan 20, 2015
    Posts:
    1,022
    Plugins:
    2
    Minecraft User:
    CraftYourBukkit
    That's what he did. Why did you post that?
  5. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    Learn how to use code blocks.
    PEMapModder likes this.
  6. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    Sure i didnt read the crash log

Share This Page

Advertisement