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

Help! Could not load plugin!

Discussion in 'Development' started by tsan, Nov 21, 2016.

  1. tsan

    tsan Spider

    Messages:
    9
    Hi there, I just wrote a plugin on MacOS using Phpstorm, and every single line of the code is correct. So I copied the source code to my PocketMine-MP server which is running Windows Server 2008, and I tried to start the server, but no matter what I do it just keeps saying 'Could not load plugin' without any other message.
    Anybody help please?
     
  2. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    Please screenshot the console (or copy the messages) and if you want you can send us the plugin for further analysis
     
  3. tsan

    tsan Spider

    Messages:
    9
    Like I said, the message is 'Could not load plugin "myPlugin"', it's the only one.
    [Server thread/INFO]: Loading recipes...
    [Server thread/INFO]: Loading DevTools v1.1.1-iTX
    [Server thread/INFO]: Enabling DevTools v1.1.1-iTX
    [Server thread/CRITICAL]: Could not load plugin "My Plugin Which Is Wrote On MacOS"
    [Server thread/INFO]: [DevTools] Registered folder plugin loader
    That's all. And other source plugins works normally, there's no incorrect codes, the server just won't load it.
     
    Last edited: Nov 21, 2016
  4. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    Can you enable debug lvl 2 in pocketmine.yml? (I have a suspicion with macosx doing .PluginName folders)
    And if you don't mind please send a zip with the plugin.
     
  5. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
  6. tsan

    tsan Spider

    Messages:
    9
    SORRY!! I just found out the problem came from a very stupid mistake, I did not create the src folder.. how stupid I was
     
  7. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    Please mark this as solved then :)
     
    Thunder33345 likes this.
  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.