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

Pmmp chestkit

Discussion in 'Plugin Help' started by ElLazer, Jun 16, 2019.

  1. ElLazer

    ElLazer Silverfish

    Messages:
    21
    GitHub:
    lazerdev
    : "yaml_parse_file(): scanning error encountered during parsing: could not find expected ':' (line 38, column 1), context while scanning a simple key (line 37, column 3)" (EXCEPTION) in "plugins/KitChestPMMP/src/AdvancedKits/Main" at line 137

    pocketmine\utils\Utils::errorExceptionHandler(integer 2, string yaml_parse_file(): scanning error encountered during parsing: could not find expected ':' (line 38, column 1), context while scanning a simple key (line 37, column 3), string /storage/emulated/0/PocketMine-MP/plugins/KitChestPMMP/src/AdvancedKits/Main.php, integer 137, array Array())
    [22:54:42] [Server thread/DEBUG]: #1 plugins/KitChestPMMP/src/AdvancedKits/Main(137): yaml_parse_file(string /storage/emulated/0/PocketMine-MP/plugin_data/KitChestPMMP/kits.yml)
    [22:54:42] [Server thread/DEBUG]: #2 plugins/KitChestPMMP/src/AdvancedKits/Main(30): AdvancedKits\Main->loadKits()
    [22:54:42] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginBase(123): AdvancedKits\Main->onEnable()
    [22:54:42] [Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginManager(587): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
    [22:54:42] [Server thread/DEBUG]: #5 src/pocketmine/Server(1993): pocketmine\plugin\PluginManager->enablePlugin(AdvancedKits\Main object)
    [22:54:42] [Server thread/DEBUG]: #6 src/pocketmine/Server(1979): pocketmine\Server->enablePlugin(AdvancedKits\Main object)
    [22:54:42] [Server thread/DEBUG]: #7 src/pocketmine/Server(1773): pocketmine\Server->enablePlugins(integer 1)
    [22:54:42] [Server thread/DEBUG]: #8 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /storage/emulated/0/PocketMine-MP/, string /storage/emulated/0/PocketMine-MP/plugins/)
    [22:54:42] [Server thread/DEBUG]: #9 (1): require(string phar:///storage/emulated/0/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
     
  2. ElLazer

    ElLazer Silverfish

    Messages:
    21
    GitHub:
    lazerdev
    I tried to to fix it but no Hope's, is there a fix?
     
  3. wolfdale

    wolfdale Zombie Pigman

    Messages:
    535
    GitHub:
    diamond-gold
  4. ElLazer

    ElLazer Silverfish

    Messages:
    21
    GitHub:
    lazerdev
    Error: "Call to undefined method pocketmine\Server::getScheduler()" (EXCEPTION) in "plugins/KitChestPMMP/src/AdvancedKits/Main" at line 36
    [23:54:16] [Server thread/DEBUG]: #0 src/pocketmine/plugin/PluginBase(123): AdvancedKits\Main->onEnable()
    [23:54:16] [Server thread/DEBUG]: #1 src/pocketmine/plugin/PluginManager(587): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
    [23:54:16] [Server thread/DEBUG]: #2 src/pocketmine/Server(1993): pocketmine\plugin\PluginManager->enablePlugin(AdvancedKits\Main object)
    [23:54:16] [Server thread/DEBUG]: #3 src/pocketmine/Server(1979): pocketmine\Server->enablePlugin(AdvancedKits\Main object)
    [23:54:16] [Server thread/DEBUG]: #4 src/pocketmine/Server(1773): pocketmine\Server->enablePlugins(integer 1)
    [23:54:16] [Server thread/DEBUG]: #5 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /storage/emulated/0/PocketMine-MP/, string /storage/emulated/0/PocketMine-MP/plugins/)
    [23:54:16] [Server thread/DEBUG]: #6 (1): require(string phar:///storage/emulated/0/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
     
  5. ElLazer

    ElLazer Silverfish

    Messages:
    21
    GitHub:
    lazerdev
    Another problem
     
  6. wolfdale

    wolfdale Zombie Pigman

    Messages:
    535
    GitHub:
    diamond-gold
    If you dont know how to code, its better to report to the plugin developer, the plugin is outdated
     
  7. ElLazer

    ElLazer Silverfish

    Messages:
    21
    GitHub:
    lazerdev
    I do know how to code just starting, the dev who made the plugin doesn't respond to his comments and so I came here to ask for help but I'll try to figure it out on my own thx
     
  8. Swourire

    Swourire Spider Jockey

    Messages:
    49
    GitHub:
    swourire
    You need to get the instance of the server so :
    PHP:
    Server::getInstance()->getScheduler->doStuff
     
  9. ElLazer

    ElLazer Silverfish

    Messages:
    21
    GitHub:
    lazerdev
    I updated the plugin it works now. Thanks Tho.
     
  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.