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

Weird API Error?

Discussion in 'Facepalm' started by Yuvzz, Apr 15, 2017.

  1. Yuvzz

    Yuvzz Shog Chips

    Messages:
    0
    Help will be appreciated.

    The error says:

    [15:06:48] [Server thread/ERROR]: Could not load plugin 'DevJoin': Incompatible API version

    My plugin.yml:

    name: DevJoin
    main: DevJoin\Main
    api: [3.0.0]
    version: 1

    the console:

    [15:09:25] [Server thread/INFO]: This server is running PocketMine-MP version 1.6.2dev "Unleashed" (API 3.0.0-ALPHA5)
     
  2. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    need the -ALPHA5
     
  3. BouncyJeffer

    BouncyJeffer Spider Jockey

    Messages:
    39
    GitHub:
    bouncyjeffer
    Update your plugin.yml to
    PHP:
    nameDevJoin
    main
    DevJoin\Main
    api
    : [3.0.0-ALPHA5
    version1
     
  4. SzanelGirl

    SzanelGirl Spider Jockey

    Messages:
    28
    GitHub:
    SzanelGirl
    name: DevJoin
    main: DevJoin\Main
    api:
    - 1.13.1
    - 2.0.0
    - 3.0.0
    version: 1.0.0
     
  5. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    That's not correct.
     
  6. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Never declare compatibility of an API you aren't targeting.
     
  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.