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

Solved Error message

Discussion in 'Development' started by XxCodeRedxX, Dec 5, 2017.

  1. XxCodeRedxX

    XxCodeRedxX Witch

    Messages:
    68
    can someone help me out here.

    Every time I try to run my plugin this error message will pop up in my console.

    [21:02:44] [Server thread/CRITICAL]: ErrorException: "Couldn't load source plugin PotPvP: main class not found" (EXCEPTION) in "PocketMine-DevTools-3.phar/src/FolderPluginLoader/FolderPluginLoader" at line 70
    [21:02:44] [Server thread/DEBUG]: #0 (): pocketmine\error_handler(integer 512, string Couldn't load source plugin PotPvP: main class not found, string phar:///home/PvP/pe/plugins/PocketMine-DevTools-3.phar/src/FolderPluginLoader/FolderPluginLoader.php, integer 70, array Array())
    [21:02:44] [Server thread/DEBUG]: #1 PocketMine-DevTools-3.phar/src/FolderPluginLoader/FolderPluginLoader(70): trigger_error(string Couldn't load source plugin PotPvP: main class not found, integer 512)
     
  2. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    can I see ur plugin.yml?
     
  3. XxCodeRedxX

    XxCodeRedxX Witch

    Messages:
    68
    name: PotPvP
    main: PotPvP\Main
    api: 3.0.0-ALPHA9
    author: Code
    version: 1.0
     
  4. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    Is ur folder name PotPvP
     
  5. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
    Like

    plugin.yml
    src
    PotPvP
    Main.php
     
  6. XxCodeRedxX

    XxCodeRedxX Witch

    Messages:
    68
    Ahhhh thx
     
  7. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    499
    GitHub:
    xXNiceYT
  8. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    For future readers: If you don't mind making your code public, just push them to GitHub, enable Poggit-CI and look at the Poggit build page. It will give comprehensive hints about what's wrong and what you should do.
     
  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.